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

Unified Diff: pkg/analysis_server/test/operation/operation_queue_test.dart

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/analysis_server/test/mocks.dart ('k') | pkg/analysis_server/test/plugin/plugin_impl_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/operation/operation_queue_test.dart
diff --git a/pkg/analysis_server/test/operation/operation_queue_test.dart b/pkg/analysis_server/test/operation/operation_queue_test.dart
index 2fd710098a00a9c4f51a9d8ea9699527b5f106c1..09a8afd60033176f04f290973e42a61054fa5d3b 100644
--- a/pkg/analysis_server/test/operation/operation_queue_test.dart
+++ b/pkg/analysis_server/test/operation/operation_queue_test.dart
@@ -16,13 +16,11 @@ import 'package:unittest/unittest.dart';
import '../mocks.dart';
import '../reflective_tests.dart';
-
main() {
groupSep = ' | ';
runReflectiveTests(ServerOperationQueueTest);
}
-
/**
* Return a [ServerOperation] mock with the given priority.
*/
@@ -32,25 +30,21 @@ ServerOperation mockOperation(ServerOperationPriority priority) {
return operation;
}
-
class AnalysisContextMock extends TypedMock implements InternalAnalysisContext {
List<Source> prioritySources = <Source>[];
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
-
class AnalysisServerMock extends TypedMock implements AnalysisServer {
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
-
-class ServerContextManagerMock extends TypedMock implements ServerContextManager
- {
+class ServerContextManagerMock extends TypedMock
+ implements ServerContextManager {
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
-
@reflectiveTest
class ServerOperationQueueTest {
ServerOperationQueue queue = new ServerOperationQueue();
@@ -153,7 +147,6 @@ class ServerOperationQueueTest {
}
}
-
class _ServerOperationMock extends TypedMock implements ServerOperation {
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
@@ -162,8 +155,8 @@ class _SourceMock extends TypedMock implements Source {
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
}
-class _SourceSensitiveOperationMock extends TypedMock implements
- SourceSensitiveOperation {
+class _SourceSensitiveOperationMock extends TypedMock
+ implements SourceSensitiveOperation {
final Source source;
_SourceSensitiveOperationMock(this.source);
« no previous file with comments | « pkg/analysis_server/test/mocks.dart ('k') | pkg/analysis_server/test/plugin/plugin_impl_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698