OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 analyzer.test.stress.limited_invalidation; | 5 library analyzer.test.stress.limited_invalidation; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 | 9 |
10 import 'package:analyzer/dart/ast/ast.dart'; | 10 import 'package:analyzer/dart/ast/ast.dart'; |
11 import 'package:analyzer/dart/element/element.dart'; | 11 import 'package:analyzer/dart/element/element.dart'; |
12 import 'package:analyzer/dart/element/type.dart'; | 12 import 'package:analyzer/dart/element/type.dart'; |
| 13 import 'package:analyzer/error/error.dart'; |
13 import 'package:analyzer/file_system/file_system.dart' as fs; | 14 import 'package:analyzer/file_system/file_system.dart' as fs; |
14 import 'package:analyzer/file_system/physical_file_system.dart'; | 15 import 'package:analyzer/file_system/physical_file_system.dart'; |
15 import 'package:analyzer/src/context/builder.dart'; | 16 import 'package:analyzer/src/context/builder.dart'; |
16 import 'package:analyzer/src/context/cache.dart'; | 17 import 'package:analyzer/src/context/cache.dart'; |
17 import 'package:analyzer/src/context/context.dart'; | 18 import 'package:analyzer/src/context/context.dart'; |
18 import 'package:analyzer/src/dart/ast/utilities.dart'; | 19 import 'package:analyzer/src/dart/ast/utilities.dart'; |
19 import 'package:analyzer/src/dart/element/member.dart'; | 20 import 'package:analyzer/src/dart/element/member.dart'; |
20 import 'package:analyzer/src/dart/sdk/sdk.dart'; | 21 import 'package:analyzer/src/dart/sdk/sdk.dart'; |
21 import 'package:analyzer/src/generated/engine.dart'; | 22 import 'package:analyzer/src/generated/engine.dart'; |
22 import 'package:analyzer/src/generated/error.dart'; | |
23 import 'package:analyzer/src/generated/sdk.dart'; | 23 import 'package:analyzer/src/generated/sdk.dart'; |
24 import 'package:analyzer/src/generated/source.dart'; | 24 import 'package:analyzer/src/generated/source.dart'; |
25 import 'package:analyzer/src/generated/utilities_collection.dart'; | 25 import 'package:analyzer/src/generated/utilities_collection.dart'; |
26 import 'package:analyzer/src/task/dart.dart'; | 26 import 'package:analyzer/src/task/dart.dart'; |
27 import 'package:analyzer/task/general.dart'; | 27 import 'package:analyzer/task/general.dart'; |
28 import 'package:analyzer/task/model.dart'; | 28 import 'package:analyzer/task/model.dart'; |
29 import 'package:path/path.dart' as path; | 29 import 'package:path/path.dart' as path; |
30 import 'package:unittest/unittest.dart'; | 30 import 'package:unittest/unittest.dart'; |
31 | 31 |
32 main() { | 32 main() { |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 pairwiseCompare(expectedArguments, (a, b) { | 628 pairwiseCompare(expectedArguments, (a, b) { |
629 _verifyTypes(a, b, '$desc typeArguments'); | 629 _verifyTypes(a, b, '$desc typeArguments'); |
630 return true; | 630 return true; |
631 }, 'elements')); | 631 }, 'elements')); |
632 } else { | 632 } else { |
633 _failTypeMismatch(actual, expected); | 633 _failTypeMismatch(actual, expected); |
634 } | 634 } |
635 } | 635 } |
636 } | 636 } |
637 } | 637 } |
OLD | NEW |