Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: pkg/analyzer2dart/test/tree_shaker_test.dart

Issue 690103004: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer2dart/test/sexpr_test.dart ('k') | pkg/compiler/lib/compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'mock_sdk.dart'; 5 import 'mock_sdk.dart';
6 import 'package:analyzer/file_system/memory_file_system.dart'; 6 import 'package:analyzer/file_system/memory_file_system.dart';
7 import 'package:analyzer/src/generated/ast.dart'; 7 import 'package:analyzer/src/generated/ast.dart';
8 import 'package:analyzer/src/generated/element.dart'; 8 import 'package:analyzer/src/generated/element.dart';
9 import 'package:analyzer/src/generated/sdk.dart'; 9 import 'package:analyzer/src/generated/sdk.dart';
10 import 'package:analyzer/src/generated/source.dart'; 10 import 'package:analyzer/src/generated/source.dart';
11 import 'package:compiler/implementation/dart2jslib.dart' show NullSink; 11 import 'package:compiler/src/dart2jslib.dart' show NullSink;
12 import 'package:unittest/unittest.dart'; 12 import 'package:unittest/unittest.dart';
13 13
14 import '../lib/src/closed_world.dart'; 14 import '../lib/src/closed_world.dart';
15 import '../lib/src/driver.dart'; 15 import '../lib/src/driver.dart';
16 16
17 main() { 17 main() {
18 test('Toplevel function', () { 18 test('Toplevel function', () {
19 var helper = new TreeShakerTestHelper(''' 19 var helper = new TreeShakerTestHelper('''
20 main() { 20 main() {
21 foo(); 21 foo();
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 /** 525 /**
526 * Asserts that [world] doesn't contain a method with the given qualified 526 * Asserts that [world] doesn't contain a method with the given qualified
527 * name. 527 * name.
528 * 528 *
529 * [qualifiedName] - the qualified name in form 'className.methodName'. 529 * [qualifiedName] - the qualified name in form 'className.methodName'.
530 */ 530 */
531 void assertNoMethod(String qualifiedName) { 531 void assertNoMethod(String qualifiedName) {
532 expect(methods, isNot(contains(qualifiedName))); 532 expect(methods, isNot(contains(qualifiedName)));
533 } 533 }
534 } 534 }
OLDNEW
« no previous file with comments | « pkg/analyzer2dart/test/sexpr_test.dart ('k') | pkg/compiler/lib/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698