| 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.ast_test; | 8 library engine.ast_test; |
| 9 | 9 |
| 10 import 'package:analyzer/src/generated/java_core.dart'; | 10 import 'package:analyzer/src/generated/java_core.dart'; |
| (...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1097 }); | 1097 }); |
| 1098 }); | 1098 }); |
| 1099 } | 1099 } |
| 1100 } | 1100 } |
| 1101 | 1101 |
| 1102 class BreadthFirstVisitor_BreadthFirstVisitorTest_testIt extends BreadthFirstVis
itor<Object> { | 1102 class BreadthFirstVisitor_BreadthFirstVisitorTest_testIt extends BreadthFirstVis
itor<Object> { |
| 1103 List<AstNode> nodes; | 1103 List<AstNode> nodes; |
| 1104 | 1104 |
| 1105 BreadthFirstVisitor_BreadthFirstVisitorTest_testIt(this.nodes) : super(); | 1105 BreadthFirstVisitor_BreadthFirstVisitorTest_testIt(this.nodes) : super(); |
| 1106 | 1106 |
| 1107 @override |
| 1107 Object visitNode(AstNode node) { | 1108 Object visitNode(AstNode node) { |
| 1108 nodes.add(node); | 1109 nodes.add(node); |
| 1109 return super.visitNode(node); | 1110 return super.visitNode(node); |
| 1110 } | 1111 } |
| 1111 } | 1112 } |
| 1112 | 1113 |
| 1113 class NodeListTest extends EngineTestCase { | 1114 class NodeListTest extends EngineTestCase { |
| 1114 void test_add() { | 1115 void test_add() { |
| 1115 AstNode parent = AstFactory.argumentList([]); | 1116 AstNode parent = AstFactory.argumentList([]); |
| 1116 AstNode firstNode = AstFactory.booleanLiteral(true); | 1117 AstNode firstNode = AstFactory.booleanLiteral(true); |
| (...skipping 2969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4086 NodeLocatorTest.dartSuite(); | 4087 NodeLocatorTest.dartSuite(); |
| 4087 ToSourceVisitorTest.dartSuite(); | 4088 ToSourceVisitorTest.dartSuite(); |
| 4088 BreadthFirstVisitorTest.dartSuite(); | 4089 BreadthFirstVisitorTest.dartSuite(); |
| 4089 ClassDeclarationTest.dartSuite(); | 4090 ClassDeclarationTest.dartSuite(); |
| 4090 IndexExpressionTest.dartSuite(); | 4091 IndexExpressionTest.dartSuite(); |
| 4091 NodeListTest.dartSuite(); | 4092 NodeListTest.dartSuite(); |
| 4092 SimpleIdentifierTest.dartSuite(); | 4093 SimpleIdentifierTest.dartSuite(); |
| 4093 SimpleStringLiteralTest.dartSuite(); | 4094 SimpleStringLiteralTest.dartSuite(); |
| 4094 VariableDeclarationTest.dartSuite(); | 4095 VariableDeclarationTest.dartSuite(); |
| 4095 } | 4096 } |
| OLD | NEW |