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

Unified Diff: packages/analyzer/test/instrumentation/instrumentation_test.dart

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 5 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: packages/analyzer/test/instrumentation/instrumentation_test.dart
diff --git a/packages/analyzer/test/instrumentation/instrumentation_test.dart b/packages/analyzer/test/instrumentation/instrumentation_test.dart
index 290b71a296f9f6521be57392c220a642b45ae827..e6cafc002b54c02e9eef3910fdec7a164b239bef 100644
--- a/packages/analyzer/test/instrumentation/instrumentation_test.dart
+++ b/packages/analyzer/test/instrumentation/instrumentation_test.dart
@@ -2,17 +2,18 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library test.instrumentation;
+library analyzer.test.instrumentation.instrumentation_test;
+
+import 'dart:async';
import 'package:analyzer/instrumentation/instrumentation.dart';
+import 'package:test_reflective_loader/test_reflective_loader.dart';
import 'package:unittest/unittest.dart';
-import '../reflective_tests.dart';
-
main() {
group('instrumentation', () {
- runReflectiveTests(InstrumentationServiceTest);
- runReflectiveTests(MulticastInstrumentationServerTest);
+ defineReflectiveTests(InstrumentationServiceTest);
+ defineReflectiveTests(MulticastInstrumentationServerTest);
});
}
@@ -163,6 +164,9 @@ class TestInstrumentationServer implements InstrumentationServer {
StringBuffer normalChannel = new StringBuffer();
StringBuffer priorityChannel = new StringBuffer();
+ @override
+ String get sessionId => '';
+
@override
void log(String message) {
normalChannel.writeln(message);
@@ -174,7 +178,7 @@ class TestInstrumentationServer implements InstrumentationServer {
}
@override
- void shutdown() {
+ Future shutdown() async {
// Ignored
}
}
« no previous file with comments | « packages/analyzer/test/generated/utilities_test.dart ('k') | packages/analyzer/test/instrumentation/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698