| 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/error/error.dart'; |
| 13 import 'package:analyzer/error/listener.dart'; |
| 12 import 'package:analyzer/exception/exception.dart'; | 14 import 'package:analyzer/exception/exception.dart'; |
| 13 import 'package:analyzer/src/dart/ast/utilities.dart'; | 15 import 'package:analyzer/src/dart/ast/utilities.dart'; |
| 14 import 'package:analyzer/src/generated/engine.dart'; | 16 import 'package:analyzer/src/generated/engine.dart'; |
| 15 import 'package:analyzer/src/generated/error.dart'; | |
| 16 import 'package:analyzer/src/generated/java_engine.dart'; | 17 import 'package:analyzer/src/generated/java_engine.dart'; |
| 17 import 'package:analyzer/src/generated/source.dart'; | 18 import 'package:analyzer/src/generated/source.dart'; |
| 18 import 'package:plugin/manager.dart'; | 19 import 'package:plugin/manager.dart'; |
| 19 import 'package:plugin/plugin.dart'; | 20 import 'package:plugin/plugin.dart'; |
| 20 import 'package:unittest/unittest.dart'; | 21 import 'package:unittest/unittest.dart'; |
| 21 | 22 |
| 22 import 'analysis_context_factory.dart'; | 23 import 'analysis_context_factory.dart'; |
| 23 | 24 |
| 24 /** | 25 /** |
| 25 * The class `EngineTestCase` defines utility methods for making assertions. | 26 * The class `EngineTestCase` defines utility methods for making assertions. |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 return UriKind.FILE_URI; | 638 return UriKind.FILE_URI; |
| 638 } | 639 } |
| 639 | 640 |
| 640 bool operator ==(Object other) { | 641 bool operator ==(Object other) { |
| 641 if (other is TestSource) { | 642 if (other is TestSource) { |
| 642 return other.uri == uri; | 643 return other.uri == uri; |
| 643 } | 644 } |
| 644 return false; | 645 return false; |
| 645 } | 646 } |
| 646 } | 647 } |
| OLD | NEW |