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

Unified Diff: pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart

Issue 2572203002: Add completion tests for the new analysis driver. (Closed)
Patch Set: Created 4 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/services/completion/dart/completion_manager_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart b/pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart
index d212a5f01534361d377f28ac755568f6e52a74fe..f931c0d892931f68e91e0c3cb3cac5ca0eeb0781 100644
--- a/pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/completion_manager_test.dart
@@ -22,6 +22,7 @@ import 'completion_contributor_util.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(CompletionManagerTest);
+ defineReflectiveTests(CompletionManagerTest_Driver);
});
}
@@ -105,3 +106,16 @@ part '$testFile';
assertImportedLib('/libA.dart');
}
}
+
+@reflectiveTest
+class CompletionManagerTest_Driver extends CompletionManagerTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ @override
+ test_resolveDirectives() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_resolveDirectives();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698