| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.test_support; | 8 library engine.test_support; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| 11 | 11 |
| 12 import 'package:analyzer/src/generated/ast.dart' show AstNode, NodeLocator; | 12 import 'package:analyzer/src/generated/ast.dart' show AstNode, NodeLocator; |
| 13 import 'package:analyzer/src/generated/element.dart'; | 13 import 'package:analyzer/src/generated/element.dart'; |
| 14 import 'package:analyzer/src/generated/engine.dart'; | 14 import 'package:analyzer/src/generated/engine.dart'; |
| 15 import 'package:analyzer/src/generated/error.dart'; | 15 import 'package:analyzer/src/generated/error.dart'; |
| 16 import 'package:analyzer/src/generated/java_core.dart'; | 16 import 'package:analyzer/src/generated/java_core.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/java_junit.dart'; | 18 import 'package:analyzer/src/generated/java_junit.dart'; |
| 19 import 'package:analyzer/src/generated/scanner.dart'; | 19 import 'package:analyzer/src/generated/scanner.dart'; |
| 20 import 'package:analyzer/src/generated/source.dart'; | 20 import 'package:analyzer/src/generated/source.dart'; |
| 21 import 'package:unittest/unittest.dart' as _ut; | |
| 22 | 21 |
| 23 | 22 |
| 24 /** | 23 /** |
| 25 * The class `EngineTestCase` defines utility methods for making assertions. | 24 * The class `EngineTestCase` defines utility methods for making assertions. |
| 26 */ | 25 */ |
| 27 class EngineTestCase extends JUnitTestCase { | 26 class EngineTestCase extends JUnitTestCase { |
| 28 static int _PRINT_RANGE = 6; | 27 static int _PRINT_RANGE = 6; |
| 29 | 28 |
| 30 /** | 29 /** |
| 31 * 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 |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1006 void getContentsToReceiver(Source_ContentReceiver receiver) { | 1005 void getContentsToReceiver(Source_ContentReceiver receiver) { |
| 1007 throw new UnsupportedOperationException(); | 1006 throw new UnsupportedOperationException(); |
| 1008 } | 1007 } |
| 1009 Source resolve(String uri) { | 1008 Source resolve(String uri) { |
| 1010 throw new UnsupportedOperationException(); | 1009 throw new UnsupportedOperationException(); |
| 1011 } | 1010 } |
| 1012 Uri resolveRelativeUri(Uri uri) { | 1011 Uri resolveRelativeUri(Uri uri) { |
| 1013 return new Uri(scheme: 'file', path: _name).resolveUri(uri); | 1012 return new Uri(scheme: 'file', path: _name).resolveUri(uri); |
| 1014 } | 1013 } |
| 1015 } | 1014 } |
| OLD | NEW |