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

Unified Diff: pkg/analysis_services/test/completion/completion_manager_test.dart

Issue 484733003: Import analysis_services.dart into analysis_server.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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_services/test/completion/completion_manager_test.dart
diff --git a/pkg/analysis_services/test/completion/completion_manager_test.dart b/pkg/analysis_services/test/completion/completion_manager_test.dart
deleted file mode 100644
index 488e2d08408dac1046caadd1ea903efcfd632880..0000000000000000000000000000000000000000
--- a/pkg/analysis_services/test/completion/completion_manager_test.dart
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-// 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.services.completion.manager;
-
-import 'package:analysis_services/completion/completion_manager.dart';
-import 'package:analysis_services/src/completion/dart_completion_manager.dart';
-import 'package:analysis_testing/abstract_context.dart';
-import 'package:analysis_testing/reflective_tests.dart';
-import 'package:analyzer/src/generated/source.dart';
-import 'package:unittest/unittest.dart';
-
-main() {
- groupSep = ' | ';
- runReflectiveTests(CompletionManagerTest);
-}
-
-@ReflectiveTestCase()
-class CompletionManagerTest extends AbstractContextTest {
-
- test_dart() {
- Source source = addSource('/does/not/exist.dart', '');
- var manager = CompletionManager.create(context, source, 0, null);
- expect(manager.runtimeType, DartCompletionManager);
- }
-
- test_html() {
- Source source = addSource('/does/not/exist.html', '');
- var manager = CompletionManager.create(context, source, 0, null);
- expect(manager.runtimeType, NoOpCompletionManager);
- }
-
- test_null_context() {
- Source source = addSource('/does/not/exist.dart', '');
- var manager = CompletionManager.create(null, source, 0, null);
- expect(manager.runtimeType, NoOpCompletionManager);
- }
-
- test_other() {
- Source source = addSource('/does/not/exist.foo', '');
- var manager = CompletionManager.create(context, source, 0, null);
- expect(manager.runtimeType, NoOpCompletionManager);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698