OLD | NEW |
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 library test.src.context.context_test; | 5 library test.src.context.context_test; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
10 import 'package:analyzer/src/cancelable_future.dart'; | 10 import 'package:analyzer/src/cancelable_future.dart'; |
(...skipping 26 matching lines...) Expand all Loading... |
37 import 'package:analyzer/src/generated/scanner.dart'; | 37 import 'package:analyzer/src/generated/scanner.dart'; |
38 import 'package:analyzer/src/generated/sdk.dart'; | 38 import 'package:analyzer/src/generated/sdk.dart'; |
39 import 'package:analyzer/src/generated/sdk_io.dart'; | 39 import 'package:analyzer/src/generated/sdk_io.dart'; |
40 import 'package:analyzer/src/generated/source.dart'; | 40 import 'package:analyzer/src/generated/source.dart'; |
41 import 'package:analyzer/src/generated/source_io.dart'; | 41 import 'package:analyzer/src/generated/source_io.dart'; |
42 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 42 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
43 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 43 import 'package:analyzer/src/generated/testing/element_factory.dart'; |
44 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; | 44 import 'package:analyzer/src/generated/testing/test_type_provider.dart'; |
45 import 'package:analyzer/src/generated/utilities_dart.dart'; | 45 import 'package:analyzer/src/generated/utilities_dart.dart'; |
46 import 'package:analyzer/src/plugin/engine_plugin.dart'; | 46 import 'package:analyzer/src/plugin/engine_plugin.dart'; |
47 import 'package:analyzer/src/plugin/plugin_impl.dart'; | 47 import 'package:plugin/manager.dart'; |
48 import 'package:unittest/unittest.dart'; | 48 import 'package:unittest/unittest.dart'; |
49 import 'package:watcher/src/utils.dart'; | 49 import 'package:watcher/src/utils.dart'; |
50 | 50 |
51 import '../../generated/engine_test.dart'; | 51 import '../../generated/engine_test.dart'; |
52 import '../../generated/test_support.dart'; | 52 import '../../generated/test_support.dart'; |
53 import '../../reflective_tests.dart'; | 53 import '../../reflective_tests.dart'; |
54 | 54 |
55 main() { | 55 main() { |
56 groupSep = ' | '; | 56 groupSep = ' | '; |
57 runReflectiveTests(AnalysisContextImplTest); | 57 runReflectiveTests(AnalysisContextImplTest); |
(...skipping 2403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2461 : super(name, UriKind.FILE_URI); | 2461 : super(name, UriKind.FILE_URI); |
2462 | 2462 |
2463 @override | 2463 @override |
2464 TimestampedData<String> get contents { | 2464 TimestampedData<String> get contents { |
2465 throw 'Read error'; | 2465 throw 'Read error'; |
2466 } | 2466 } |
2467 | 2467 |
2468 @override | 2468 @override |
2469 bool exists() => true; | 2469 bool exists() => true; |
2470 } | 2470 } |
OLD | NEW |