OLD | NEW |
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/src/mirrors/source_mirrors.dart'; | 9 import 'package:compiler/src/mirrors/source_mirrors.dart'; |
10 | 10 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 Expect.equals(mainLibrary, dependency.sourceLibrary); | 174 Expect.equals(mainLibrary, dependency.sourceLibrary); |
175 Expect.equals(cLibrary, dependency.targetLibrary); | 175 Expect.equals(cLibrary, dependency.targetLibrary); |
176 Expect.equals('c', dependency.prefix); | 176 Expect.equals('c', dependency.prefix); |
177 Expect.isTrue(dependency.isDeferred); | 177 Expect.isTrue(dependency.isDeferred); |
178 | 178 |
179 combinators = dependency.combinators; | 179 combinators = dependency.combinators; |
180 Expect.isNotNull(combinators); | 180 Expect.isNotNull(combinators); |
181 Expect.equals(0, combinators.length); | 181 Expect.equals(0, combinators.length); |
182 })); | 182 })); |
183 } | 183 } |
OLD | NEW |