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

Unified Diff: pkg/analyzer/test/dart/ast/ast_test.dart

Issue 2298913003: Pull in test_reflective_loader 0.0.4 and switch analyzer to it. (Closed)
Patch Set: Fixes for review comments. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/dart/ast/ast_test.dart
diff --git a/pkg/analyzer/test/dart/ast/ast_test.dart b/pkg/analyzer/test/dart/ast/ast_test.dart
index 122a93e014a19682e7df00e9835791785a2825c4..cfc85bd032eb2f760a41d443cdc649103735ec4f 100644
--- a/pkg/analyzer/test/dart/ast/ast_test.dart
+++ b/pkg/analyzer/test/dart/ast/ast_test.dart
@@ -9,26 +9,26 @@ import 'package:analyzer/dart/ast/token.dart';
import 'package:analyzer/src/dart/ast/token.dart';
import 'package:analyzer/src/generated/testing/ast_factory.dart';
import 'package:analyzer/src/generated/testing/token_factory.dart';
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
import '../../generated/parser_test.dart' show ParserTestCase;
import '../../generated/test_support.dart';
-import '../../reflective_tests.dart';
import '../../utils.dart';
main() {
initializeTestEnvironment();
- runReflectiveTests(ClassDeclarationTest);
- runReflectiveTests(ClassTypeAliasTest);
- runReflectiveTests(ConstructorDeclarationTest);
- runReflectiveTests(FieldFormalParameterTest);
- runReflectiveTests(IndexExpressionTest);
- runReflectiveTests(MethodDeclarationTest);
- runReflectiveTests(NodeListTest);
- runReflectiveTests(SimpleIdentifierTest);
- runReflectiveTests(SimpleStringLiteralTest);
- runReflectiveTests(StringInterpolationTest);
- runReflectiveTests(VariableDeclarationTest);
+ defineReflectiveTests(ClassDeclarationTest);
+ defineReflectiveTests(ClassTypeAliasTest);
+ defineReflectiveTests(ConstructorDeclarationTest);
+ defineReflectiveTests(FieldFormalParameterTest);
+ defineReflectiveTests(IndexExpressionTest);
+ defineReflectiveTests(MethodDeclarationTest);
+ defineReflectiveTests(NodeListTest);
+ defineReflectiveTests(SimpleIdentifierTest);
+ defineReflectiveTests(SimpleStringLiteralTest);
+ defineReflectiveTests(StringInterpolationTest);
+ defineReflectiveTests(VariableDeclarationTest);
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698