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 analyzer.test.generated.test_support; | 5 library analyzer.test.generated.test_support; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'package:analyzer/dart/ast/ast.dart' show AstNode, SimpleIdentifier; | 9 import 'package:analyzer/dart/ast/ast.dart' show AstNode, SimpleIdentifier; |
10 import 'package:analyzer/dart/element/element.dart'; | 10 import 'package:analyzer/dart/element/element.dart'; |
11 import 'package:analyzer/dart/element/type.dart'; | 11 import 'package:analyzer/dart/element/type.dart'; |
| 12 import 'package:analyzer/exception/exception.dart'; |
12 import 'package:analyzer/src/dart/ast/utilities.dart'; | 13 import 'package:analyzer/src/dart/ast/utilities.dart'; |
13 import 'package:analyzer/src/generated/engine.dart'; | 14 import 'package:analyzer/src/generated/engine.dart'; |
14 import 'package:analyzer/src/generated/error.dart'; | 15 import 'package:analyzer/src/generated/error.dart'; |
15 import 'package:analyzer/src/generated/java_engine.dart'; | 16 import 'package:analyzer/src/generated/java_engine.dart'; |
16 import 'package:analyzer/src/generated/source.dart'; | 17 import 'package:analyzer/src/generated/source.dart'; |
17 import 'package:plugin/manager.dart'; | 18 import 'package:plugin/manager.dart'; |
18 import 'package:plugin/plugin.dart'; | 19 import 'package:plugin/plugin.dart'; |
19 import 'package:unittest/unittest.dart'; | 20 import 'package:unittest/unittest.dart'; |
20 | 21 |
21 import 'analysis_context_factory.dart'; | 22 import 'analysis_context_factory.dart'; |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 return UriKind.FILE_URI; | 637 return UriKind.FILE_URI; |
637 } | 638 } |
638 | 639 |
639 bool operator ==(Object other) { | 640 bool operator ==(Object other) { |
640 if (other is TestSource) { | 641 if (other is TestSource) { |
641 return other.uri == uri; | 642 return other.uri == uri; |
642 } | 643 } |
643 return false; | 644 return false; |
644 } | 645 } |
645 } | 646 } |
OLD | NEW |