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

Unified Diff: pkg/analysis_server/test/services/completion/dart/named_constructor_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/named_constructor_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart
index fd145939fcbbcf3a05c586547f81439291903c8f..9b6a1d727db82c2fd22e649d1d07e9d8f61f741a 100644
--- a/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/named_constructor_contributor_test.dart
@@ -16,6 +16,7 @@ import 'completion_contributor_util.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(NamedConstructorContributorTest);
+ defineReflectiveTests(NamedConstructorContributorTest_Driver);
});
}
@@ -180,3 +181,24 @@ class NamedConstructorContributorTest extends DartCompletionContributorTest {
assertNotSuggested('m');
}
}
+
+@reflectiveTest
+class NamedConstructorContributorTest_Driver
+ extends NamedConstructorContributorTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ @override
+ test_ConstructorName_importedClass() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_ConstructorName_importedClass();
+ }
+
+ @failingTest
+ @override
+ test_ConstructorName_importedFactory() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_ConstructorName_importedFactory();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698