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

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

Issue 2874803003: Add support for built-in plugins (Closed)
Patch Set: Created 3 years, 7 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/lib/instrumentation/instrumentation.dart ('k') | pkg/analyzer_plugin/lib/plugin/plugin.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 67bb03dc94fbfe87f7fba20cc2c2fcdf39c42141..0553fbf54d158cd8a11481d633017bbd7a0bbbe7 100644
--- a/pkg/analyzer/test/instrumentation/instrumentation_test.dart
+++ b/pkg/analyzer/test/instrumentation/instrumentation_test.dart
@@ -125,9 +125,8 @@ class InstrumentationServiceTest {
void test_logPluginNotification() {
TestInstrumentationServer server = new TestInstrumentationServer();
InstrumentationService service = new InstrumentationService(server);
- Uri uri = new Uri.file('path');
String notification = 'notification';
- service.logPluginNotification(uri, notification);
+ service.logPluginNotification('path', notification);
assertNormal(server, InstrumentationService.TAG_PLUGIN_NOTIFICATION,
'path:$notification');
}
@@ -135,9 +134,8 @@ class InstrumentationServiceTest {
void test_logPluginRequest() {
TestInstrumentationServer server = new TestInstrumentationServer();
InstrumentationService service = new InstrumentationService(server);
- Uri uri = new Uri.file('path');
String request = 'request';
- service.logPluginRequest(uri, request);
+ service.logPluginRequest('path', request);
assertNormal(
server, InstrumentationService.TAG_PLUGIN_REQUEST, 'path:$request');
}
@@ -145,9 +143,8 @@ class InstrumentationServiceTest {
void test_logPluginResponse() {
TestInstrumentationServer server = new TestInstrumentationServer();
InstrumentationService service = new InstrumentationService(server);
- Uri uri = new Uri.file('path');
String response = 'response';
- service.logPluginResponse(uri, response);
+ service.logPluginResponse('path', response);
assertNormal(
server, InstrumentationService.TAG_PLUGIN_RESPONSE, 'path:$response');
}
« no previous file with comments | « pkg/analyzer/lib/instrumentation/instrumentation.dart ('k') | pkg/analyzer_plugin/lib/plugin/plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698