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

Unified Diff: pkg/analyzer/test/instrumentation/instrumentation_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
« no previous file with comments | « pkg/analyzer/test/generated/utilities_test.dart ('k') | pkg/analyzer/test/reflective_tests.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/instrumentation/instrumentation_test.dart
diff --git a/pkg/analyzer/test/instrumentation/instrumentation_test.dart b/pkg/analyzer/test/instrumentation/instrumentation_test.dart
index 53a81914b72f8024fd4c9c7a9ed1a15d1e9c4101..de520de7fff63a21b8dbcf48e190e99ee2c14180 100644
--- a/pkg/analyzer/test/instrumentation/instrumentation_test.dart
+++ b/pkg/analyzer/test/instrumentation/instrumentation_test.dart
@@ -16,8 +16,8 @@ main() {
});
}
-@ReflectiveTestCase()
-class InstrumentationServiceTest extends ReflectiveTestCase {
+@reflectiveTest
+class InstrumentationServiceTest extends ReflectiveTest {
Brian Wilkerson 2015/01/13 17:06:22 This looks wrong. Why would we ever subclass the a
scheglov 2015/01/13 17:10:33 Good question. It shouldn't. Removed.
void assertNormal(TestInstrumentationServer server, String tag,
String message) {
String sent = server.normalChannel.toString();
@@ -107,8 +107,8 @@ class InstrumentationServiceTest extends ReflectiveTestCase {
}
}
-@ReflectiveTestCase()
-class MulticastInstrumentationServerTest extends ReflectiveTestCase {
+@reflectiveTest
+class MulticastInstrumentationServerTest extends ReflectiveTest {
TestInstrumentationServer serverA = new TestInstrumentationServer();
TestInstrumentationServer serverB = new TestInstrumentationServer();
MulticastInstrumentationServer server;
« no previous file with comments | « pkg/analyzer/test/generated/utilities_test.dart ('k') | pkg/analyzer/test/reflective_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698