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

Unified Diff: pkg/analysis_server/test/services/completion/dart/local_library_contributor_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/local_library_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart
index b5758fd038a4cdf88c3396c1cd4488f280ad3c6b..e0a9461a9bc34c4e031157709719936436771a7f 100644
--- a/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/local_library_contributor_test.dart
@@ -14,6 +14,7 @@ import 'completion_contributor_util.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(LocalLibraryContributorTest);
+ defineReflectiveTests(LocalLibraryContributorTest_Driver);
});
}
@@ -306,3 +307,52 @@ class LocalLibraryContributorTest extends DartCompletionContributorTest {
assertNotSuggested('m');
}
}
+
+@reflectiveTest
+class LocalLibraryContributorTest_Driver extends LocalLibraryContributorTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ @override
+ test_partFile_Constructor() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_partFile_Constructor();
+ }
+
+ @failingTest
+ @override
+ test_partFile_Constructor2() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_partFile_Constructor2();
+ }
+
+ @failingTest
+ @override
+ test_partFile_InstanceCreationExpression_assignment_filter() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_partFile_InstanceCreationExpression_assignment_filter();
+ }
+
+ @failingTest
+ @override
+ test_partFile_InstanceCreationExpression_variable_declaration_filter() {
+// Bad state: Should not be used with the new analysis driver.
+ return super
+ .test_partFile_InstanceCreationExpression_variable_declaration_filter();
+ }
+
+ @failingTest
+ @override
+ test_partFile_TypeName() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_partFile_TypeName();
+ }
+
+ @failingTest
+ @override
+ test_partFile_TypeName2() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_partFile_TypeName2();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698