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

Unified Diff: pkg/analysis_server/test/protocol_server_test.dart

Issue 1101003002: Use package:test_reflective_loader instead of reflective_tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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/analysis_server/test/protocol_server_test.dart
diff --git a/pkg/analysis_server/test/protocol_server_test.dart b/pkg/analysis_server/test/protocol_server_test.dart
index 26aae555a284f5ca04f3772d09ae008a80cbd1b4..129c8cc3ccbc50135db8ced51d6d9da3eeb055da 100644
--- a/pkg/analysis_server/test/protocol_server_test.dart
+++ b/pkg/analysis_server/test/protocol_server_test.dart
@@ -13,19 +13,19 @@ import 'package:analyzer/src/generated/ast.dart' as engine;
import 'package:analyzer/src/generated/element.dart' as engine;
import 'package:analyzer/src/generated/error.dart' as engine;
import 'package:analyzer/src/generated/source.dart' as engine;
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:typed_mock/typed_mock.dart';
import 'package:unittest/unittest.dart';
import 'abstract_context.dart';
import 'mocks.dart';
-import 'reflective_tests.dart';
main() {
groupSep = ' | ';
- runReflectiveTests(AnalysisErrorTest);
- runReflectiveTests(ElementTest);
- runReflectiveTests(ElementKindTest);
- runReflectiveTests(EnumTest);
+ defineReflectiveTests(AnalysisErrorTest);
+ defineReflectiveTests(ElementTest);
+ defineReflectiveTests(ElementKindTest);
+ defineReflectiveTests(EnumTest);
}
class AnalysisErrorMock extends TypedMock implements engine.AnalysisError {
« no previous file with comments | « pkg/analysis_server/test/operation/operation_queue_test.dart ('k') | pkg/analysis_server/test/protocol_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698