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

Unified Diff: pkg/analysis_server/test/services/completion/dart/local_reference_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_reference_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/local_reference_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/local_reference_contributor_test.dart
index 7e1cb941e1f63f38f6277170bf0a6fdd54efd28c..75a894fa5a642b8747df281a67401a1f0d75a2fe 100644
--- a/pkg/analysis_server/test/services/completion/dart/local_reference_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/local_reference_contributor_test.dart
@@ -19,6 +19,7 @@ import 'completion_contributor_util.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(LocalReferenceContributorTest);
+ defineReflectiveTests(LocalReferenceContributorTest_Driver);
});
}
@@ -4551,3 +4552,24 @@ class C {bar(){var f; {var x;} var e = ^ var g}}''');
assertNotSuggested('e');
}
}
+
+@reflectiveTest
+class LocalReferenceContributorTest_Driver
+ extends LocalReferenceContributorTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ @override
+ test_Block_inherited_imported() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_Block_inherited_imported();
+ }
+
+ @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