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

Unified Diff: pkg/analysis_server/test/services/completion/dart/combinator_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/combinator_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
index 7b4774c72575f579ac7862c8961c7cfc11be2310..3ce88ef2e11a368ef5858d9c3d3b0f1b8adb7e70 100644
--- a/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
@@ -15,6 +15,7 @@ import 'completion_contributor_util.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(CombinatorContributorTest);
+ defineReflectiveTests(CombinatorContributorTest_Driver);
});
}
@@ -151,3 +152,23 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
kind: CompletionSuggestionKind.IDENTIFIER);
}
}
+
+@reflectiveTest
+class CombinatorContributorTest_Driver extends CombinatorContributorTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ @override
+ test_Combinator_hide() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_Combinator_hide();
+ }
+
+ @failingTest
+ @override
+ test_Combinator_show() {
+// Bad state: Should not be used with the new analysis driver.
+ return super.test_Combinator_show();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698