| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library test.services.dependencies.library; | |
| 6 | |
| 7 import 'package:analysis_server/src/services/dependencies/library_dependencies.d
art'; | 5 import 'package:analysis_server/src/services/dependencies/library_dependencies.d
art'; |
| 8 import 'package:test/test.dart'; | 6 import 'package:test/test.dart'; |
| 9 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 10 | 8 |
| 11 import '../../abstract_context.dart'; | 9 import '../../abstract_context.dart'; |
| 12 | 10 |
| 13 main() { | 11 main() { |
| 14 defineReflectiveSuite(() { | 12 defineReflectiveSuite(() { |
| 15 defineReflectiveTests(LibraryDependenciesTest); | 13 defineReflectiveTests(LibraryDependenciesTest); |
| 16 }); | 14 }); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 47 } | 45 } |
| 48 | 46 |
| 49 test_PackageMaps() { | 47 test_PackageMaps() { |
| 50 //TODO(pquitslund): add test | 48 //TODO(pquitslund): add test |
| 51 } | 49 } |
| 52 | 50 |
| 53 void _performAnalysis() { | 51 void _performAnalysis() { |
| 54 while (context.performAnalysisTask().hasMoreWork); | 52 while (context.performAnalysisTask().hasMoreWork); |
| 55 } | 53 } |
| 56 } | 54 } |
| OLD | NEW |