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

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

Issue 308003009: Add ServerOperation and queue. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks for review comments Created 6 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
Index: pkg/analysis_server/test/operation/operation_test.dart
diff --git a/pkg/smoke/test/mirrors_test.dart b/pkg/analysis_server/test/operation/operation_test.dart
similarity index 51%
copy from pkg/smoke/test/mirrors_test.dart
copy to pkg/analysis_server/test/operation/operation_test.dart
index cac643aab81c93a6e746f0e98bda711882f6c7f6..4797ded2ae27b6d06f2d552fa91b5bfdd2b0ef41 100644
--- a/pkg/smoke/test/mirrors_test.dart
+++ b/pkg/analysis_server/test/operation/operation_test.dart
@@ -2,13 +2,17 @@
// 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 smoke.test.mirrors_test;
+library test.operation;
-import 'package:smoke/mirrors.dart';
+import 'package:analysis_server/src/operation/operation.dart';
import 'package:unittest/unittest.dart';
-import 'common.dart' as common show main;
main() {
- setUp(useMirrors);
- common.main();
+ groupSep = ' | ';
+
+ group('ServerOperationPriority', () {
+ test('toString', () {
+ expect(ServerOperationPriority.SEARCH.toString(), 'SEARCH');
+ });
+ });
}
« no previous file with comments | « pkg/analysis_server/test/operation/operation_queue_test.dart ('k') | pkg/analysis_server/test/operation/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698