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

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

Issue 2394683006: Switch analysis_server to use 'package:test'. (Closed)
Patch Set: Created 4 years, 2 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 bcbe18ee660bbab07106ba5b6c3bd71c472dbe14..09757f7e19a3f9a7491d8590f901216b823323ba 100644
--- a/pkg/analysis_server/test/protocol_server_test.dart
+++ b/pkg/analysis_server/test/protocol_server_test.dart
@@ -15,17 +15,19 @@ import 'package:analyzer/dart/element/type.dart' as engine;
import 'package:analyzer/error/error.dart' as engine;
import 'package:analyzer/src/error/codes.dart' as engine;
import 'package:analyzer/src/generated/source.dart' as engine;
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:typed_mock/typed_mock.dart';
-import 'package:unittest/unittest.dart';
import 'mocks.dart';
import 'utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(AnalysisErrorTest);
- defineReflectiveTests(EnumTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AnalysisErrorTest);
+ defineReflectiveTests(EnumTest);
+ });
}
class AnalysisErrorMock extends TypedMock implements engine.AnalysisError {}

Powered by Google App Engine
This is Rietveld 408576698