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_test.dart

Issue 849863002: Replace @ReflectiveTestCase() with @reflectiveTest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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_test.dart
diff --git a/pkg/analysis_server/test/protocol_test.dart b/pkg/analysis_server/test/protocol_test.dart
index 189d87179d0dffc8db8b22321f1d074ae2b2cf4f..e4bcb2168a4775fbe24005a6da0da203132ec7d6 100644
--- a/pkg/analysis_server/test/protocol_test.dart
+++ b/pkg/analysis_server/test/protocol_test.dart
@@ -25,7 +25,7 @@ main() {
}
-@ReflectiveTestCase()
+@reflectiveTest
class InvalidParameterResponseMatcher extends Matcher {
static const String ERROR_CODE = 'INVALID_PARAMETER';
@@ -54,7 +54,7 @@ class InvalidParameterResponseMatcher extends Matcher {
}
-@ReflectiveTestCase()
+@reflectiveTest
class NotificationTest {
void test_fromJson() {
Notification original = new Notification('foo');
@@ -101,7 +101,7 @@ class NotificationTest {
}
-@ReflectiveTestCase()
+@reflectiveTest
class RequestErrorTest {
void test_create() {
RequestError error =
@@ -141,7 +141,7 @@ class RequestErrorTest {
}
-@ReflectiveTestCase()
+@reflectiveTest
class RequestTest {
void test_fromJson() {
Request original = new Request('one', 'aMethod');
@@ -207,7 +207,7 @@ class RequestTest {
}
-@ReflectiveTestCase()
+@reflectiveTest
class ResponseTest {
void test_create_invalidRequestFormat() {
Response response = new Response.invalidRequestFormat();

Powered by Google App Engine
This is Rietveld 408576698