OLD | NEW |
1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
3 library engine.ast_test; | 3 library engine.ast_test; |
4 import 'package:analyzer_experimental/src/generated/java_core.dart'; | 4 import 'package:analyzer/src/generated/java_core.dart'; |
5 import 'package:analyzer_experimental/src/generated/java_junit.dart'; | 5 import 'package:analyzer/src/generated/java_junit.dart'; |
6 import 'package:analyzer_experimental/src/generated/scanner.dart'; | 6 import 'package:analyzer/src/generated/scanner.dart'; |
7 import 'package:analyzer_experimental/src/generated/ast.dart'; | 7 import 'package:analyzer/src/generated/ast.dart'; |
8 import 'package:analyzer_experimental/src/generated/utilities_dart.dart'; | 8 import 'package:analyzer/src/generated/utilities_dart.dart'; |
9 import 'package:analyzer_experimental/src/generated/element.dart' show ClassElem
ent; | 9 import 'package:analyzer/src/generated/element.dart' show ClassElement; |
10 import 'package:unittest/unittest.dart' as _ut; | 10 import 'package:unittest/unittest.dart' as _ut; |
11 import 'parser_test.dart' show ParserTestCase; | 11 import 'parser_test.dart' show ParserTestCase; |
12 import 'test_support.dart'; | 12 import 'test_support.dart'; |
13 import 'scanner_test.dart' show TokenFactory; | 13 import 'scanner_test.dart' show TokenFactory; |
14 class NodeLocatorTest extends ParserTestCase { | 14 class NodeLocatorTest extends ParserTestCase { |
15 void test_range() { | 15 void test_range() { |
16 CompilationUnit unit = ParserTestCase.parseCompilationUnit("library myLib;",
[]); | 16 CompilationUnit unit = ParserTestCase.parseCompilationUnit("library myLib;",
[]); |
17 assertLocate2(unit, 4, 10, LibraryDirective); | 17 assertLocate2(unit, 4, 10, LibraryDirective); |
18 } | 18 } |
19 void test_searchWithin_null() { | 19 void test_searchWithin_null() { |
(...skipping 3364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3384 main() { | 3384 main() { |
3385 ConstantEvaluatorTest.dartSuite(); | 3385 ConstantEvaluatorTest.dartSuite(); |
3386 NodeLocatorTest.dartSuite(); | 3386 NodeLocatorTest.dartSuite(); |
3387 ToSourceVisitorTest.dartSuite(); | 3387 ToSourceVisitorTest.dartSuite(); |
3388 BreadthFirstVisitorTest.dartSuite(); | 3388 BreadthFirstVisitorTest.dartSuite(); |
3389 IndexExpressionTest.dartSuite(); | 3389 IndexExpressionTest.dartSuite(); |
3390 NodeListTest.dartSuite(); | 3390 NodeListTest.dartSuite(); |
3391 SimpleIdentifierTest.dartSuite(); | 3391 SimpleIdentifierTest.dartSuite(); |
3392 VariableDeclarationTest.dartSuite(); | 3392 VariableDeclarationTest.dartSuite(); |
3393 } | 3393 } |
OLD | NEW |