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

Unified Diff: pkg/analysis_server/test/socket_server_test.dart

Issue 801543002: Rework instrumentation API (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean-up Created 6 years 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/socket_server_test.dart
diff --git a/pkg/analysis_server/test/socket_server_test.dart b/pkg/analysis_server/test/socket_server_test.dart
index aa1a3121358d48a453623dc944fb1a18d029094f..10b684d3b0a4449ad3b17fdf4d34d15a8ad9926a 100644
--- a/pkg/analysis_server/test/socket_server_test.dart
+++ b/pkg/analysis_server/test/socket_server_test.dart
@@ -36,7 +36,7 @@ class SocketServerTest {
SocketServer server = new SocketServer(
new AnalysisServerOptions(),
DirectoryBasedDartSdk.defaultSdk,
- new NullInstrumentationServer());
+ InstrumentationService.NULL_SERVICE);
MockServerChannel channel1 = new MockServerChannel();
MockServerChannel channel2 = new MockServerChannel();
server.createAnalysisServer(channel1);
@@ -64,7 +64,7 @@ class SocketServerTest {
SocketServer server = new SocketServer(
new AnalysisServerOptions(),
DirectoryBasedDartSdk.defaultSdk,
- new NullInstrumentationServer());
+ InstrumentationService.NULL_SERVICE);
MockServerChannel channel = new MockServerChannel();
server.createAnalysisServer(channel);
channel.expectMsgCount(notificationCount: 1);
@@ -81,7 +81,7 @@ class SocketServerTest {
SocketServer server = new SocketServer(
new AnalysisServerOptions(),
DirectoryBasedDartSdk.defaultSdk,
- new NullInstrumentationServer());
+ InstrumentationService.NULL_SERVICE);
MockServerChannel channel = new MockServerChannel();
server.createAnalysisServer(channel);
channel.expectMsgCount(notificationCount: 1);
@@ -104,7 +104,7 @@ class SocketServerTest {
SocketServer server = new SocketServer(
new AnalysisServerOptions(),
DirectoryBasedDartSdk.defaultSdk,
- new NullInstrumentationServer());
+ InstrumentationService.NULL_SERVICE);
MockServerChannel channel = new MockServerChannel();
server.createAnalysisServer(channel);
_MockRequestHandler handler = new _MockRequestHandler(true);
« no previous file with comments | « pkg/analysis_server/test/domain_server_test.dart ('k') | pkg/analyzer/lib/instrumentation/instrumentation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698