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

Unified Diff: pkg/analysis_server/test/services/completion/dart/library_member_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/library_member_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/library_member_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/library_member_contributor_test.dart
index be8318ea84cdc8dbc9a63e6c0b5d729f25b9b30e..52e5ff526467d23e5d89ed93e9f9ff26e2407aa4 100644
--- a/pkg/analysis_server/test/services/completion/dart/library_member_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/library_member_contributor_test.dart
@@ -14,6 +14,7 @@ import 'completion_contributor_util.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(LibraryMemberContributorTest);
+ defineReflectiveTests(LibraryMemberContributorTest_Driver);
});
}
@@ -269,3 +270,30 @@ class LibraryMemberContributorTest extends DartCompletionContributorTest {
assertNoSuggestions();
}
}
+
+@reflectiveTest
+class LibraryMemberContributorTest_Driver extends LibraryMemberContributorTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ @override
+ test_libraryPrefix_deferred() {
+// 'package:analyzer/src/dart/element/element.dart': Failed assertion: line 5729 pos 12: '_loadLibraryFunction != null' is not true.
+ return super.test_libraryPrefix_deferred_inPart();
+ }
+
+ @failingTest
+ @override
+ test_libraryPrefix_deferred_inPart() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_libraryPrefix_deferred_inPart();
+ }
+
+ @failingTest
+ @override
+ test_PrefixedIdentifier_library_inPart() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_PrefixedIdentifier_library_inPart();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698