Index: pkg/analysis_server/test/protocol_test.dart |
diff --git a/pkg/analysis_server/test/protocol_test.dart b/pkg/analysis_server/test/protocol_test.dart |
index 6428c62020b39d0a66beecdb2cb82ef24b8ea1d2..9c27ba46cc811db6c4d98259af4f7f63ce7e6e92 100644 |
--- a/pkg/analysis_server/test/protocol_test.dart |
+++ b/pkg/analysis_server/test/protocol_test.dart |
@@ -9,17 +9,19 @@ import 'dart:convert'; |
import 'package:analysis_server/plugin/protocol/protocol.dart'; |
import 'package:analysis_server/src/constants.dart'; |
import 'package:analysis_server/src/protocol/protocol_internal.dart'; |
+import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
-import 'package:unittest/unittest.dart'; |
import 'utils.dart'; |
main() { |
initializeTestEnvironment(); |
- defineReflectiveTests(NotificationTest); |
- defineReflectiveTests(RequestTest); |
- defineReflectiveTests(RequestErrorTest); |
- defineReflectiveTests(ResponseTest); |
+ defineReflectiveSuite(() { |
+ defineReflectiveTests(NotificationTest); |
+ defineReflectiveTests(RequestTest); |
+ defineReflectiveTests(RequestErrorTest); |
+ defineReflectiveTests(ResponseTest); |
+ }); |
} |
Matcher _throwsRequestFailure = throwsA(new isInstanceOf<RequestFailure>()); |