Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Side by Side Diff: pkg/analyzer/test/generated/test_support.dart

Issue 2391423003: Switch 'analyzer' to 'package:test' and test_reflective_loader ^0.1.0. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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'; 12 import 'package:analyzer/error/error.dart';
13 import 'package:analyzer/error/listener.dart'; 13 import 'package:analyzer/error/listener.dart';
14 import 'package:analyzer/exception/exception.dart'; 14 import 'package:analyzer/exception/exception.dart';
15 import 'package:analyzer/src/dart/ast/utilities.dart'; 15 import 'package:analyzer/src/dart/ast/utilities.dart';
16 import 'package:analyzer/src/generated/engine.dart'; 16 import 'package:analyzer/src/generated/engine.dart';
17 import 'package:analyzer/src/generated/java_engine.dart'; 17 import 'package:analyzer/src/generated/java_engine.dart';
18 import 'package:analyzer/src/generated/source.dart'; 18 import 'package:analyzer/src/generated/source.dart';
19 import 'package:plugin/manager.dart'; 19 import 'package:plugin/manager.dart';
20 import 'package:plugin/plugin.dart'; 20 import 'package:plugin/plugin.dart';
21 import 'package:unittest/unittest.dart'; 21 import 'package:test/test.dart';
22 22
23 import 'analysis_context_factory.dart'; 23 import 'analysis_context_factory.dart';
24 24
25 /** 25 /**
26 * The class `EngineTestCase` defines utility methods for making assertions. 26 * The class `EngineTestCase` defines utility methods for making assertions.
27 */ 27 */
28 class EngineTestCase { 28 class EngineTestCase {
29 /** 29 /**
30 * Assert that the given collection has the same number of elements as the num ber of specified 30 * Assert that the given collection has the same number of elements as the num ber of specified
31 * names, and that for each specified name, a corresponding element can be fou nd in the given 31 * names, and that for each specified name, a corresponding element can be fou nd in the given
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 return UriKind.FILE_URI; 637 return UriKind.FILE_URI;
638 } 638 }
639 639
640 bool operator ==(Object other) { 640 bool operator ==(Object other) {
641 if (other is TestSource) { 641 if (other is TestSource) {
642 return other.uri == uri; 642 return other.uri == uri;
643 } 643 }
644 return false; 644 return false;
645 } 645 }
646 } 646 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698