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 import 'package:analysis_server/src/services/dependencies/library_dependencies.d
art'; | 5 import 'package:analysis_server/src/services/dependencies/library_dependencies.d
art'; |
6 import 'package:test/test.dart'; | 6 import 'package:test/test.dart'; |
7 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
8 | 8 |
9 import '../../abstract_context.dart'; | 9 import '../../abstract_context.dart'; |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 expect(libs, contains('/lib5.dart')); | 42 expect(libs, contains('/lib5.dart')); |
43 // Non-source, referenced by non-source | 43 // Non-source, referenced by non-source |
44 expect(libs, contains('/lib6.dart')); | 44 expect(libs, contains('/lib6.dart')); |
45 } | 45 } |
46 | 46 |
47 test_PackageMaps() { | 47 test_PackageMaps() { |
48 //TODO(pquitslund): add test | 48 //TODO(pquitslund): add test |
49 } | 49 } |
50 | 50 |
51 void _performAnalysis() { | 51 void _performAnalysis() { |
52 while (context.performAnalysisTask().hasMoreWork); | 52 while (context.performAnalysisTask().hasMoreWork) {} |
53 } | 53 } |
54 } | 54 } |
OLD | NEW |