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

Side by Side Diff: tests/compiler/dart2js/mirrors_exports_test.dart

Issue 694353007: 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 import 'package:async_helper/async_helper.dart'; 6 import 'package:async_helper/async_helper.dart';
7 import 'dart:async'; 7 import 'dart:async';
8 import 'memory_compiler.dart'; 8 import 'memory_compiler.dart';
9 import 'package:compiler/implementation/mirrors/source_mirrors.dart'; 9 import 'package:compiler/src/mirrors/source_mirrors.dart';
10 10
11 const SOURCE_FILES = const { 11 const SOURCE_FILES = const {
12 'main.dart': ''' 12 'main.dart': '''
13 import 'a.dart' show A1, A2; 13 import 'a.dart' show A1, A2;
14 import 'b.dart' as b hide B1; 14 import 'b.dart' as b hide B1;
15 export 'a.dart' show A2 hide A3, A1; 15 export 'a.dart' show A2 hide A3, A1;
16 export 'b.dart' hide B1, B2 show B3; 16 export 'b.dart' hide B1, B2 show B3;
17 import 'dart:core' as core; 17 import 'dart:core' as core;
18 18
19 main() {} 19 main() {}
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 Expect.isFalse(dependency.isExport); 147 Expect.isFalse(dependency.isExport);
148 Expect.equals(mainLibrary, dependency.sourceLibrary); 148 Expect.equals(mainLibrary, dependency.sourceLibrary);
149 Expect.equals(coreLibrary, dependency.targetLibrary); 149 Expect.equals(coreLibrary, dependency.targetLibrary);
150 Expect.equals('core', dependency.prefix); 150 Expect.equals('core', dependency.prefix);
151 151
152 combinators = dependency.combinators; 152 combinators = dependency.combinators;
153 Expect.isNotNull(combinators); 153 Expect.isNotNull(combinators);
154 Expect.equals(0, combinators.length); 154 Expect.equals(0, combinators.length);
155 })); 155 }));
156 } 156 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/mirrors/mirrors_test_helper.dart ('k') | tests/compiler/dart2js/mirrors_lookup_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698