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

Unified Diff: pkg/analysis_server/test/services/completion/dart/inherited_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/inherited_reference_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/inherited_reference_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/inherited_reference_contributor_test.dart
index afed832b86273548d19108dadf18d3a0467bff3a..a3250bf0ec3eed0fcde17b112754a1f8a1194f9f 100644
--- a/pkg/analysis_server/test/services/completion/dart/inherited_reference_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/inherited_reference_contributor_test.dart
@@ -15,6 +15,7 @@ import 'completion_contributor_util.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(InheritedContributorTest);
+ defineReflectiveTests(InheritedContributorTest_Driver);
});
}
@@ -617,3 +618,121 @@ class B extends A1 with A2 {
assertNotSuggested('y2');
}
}
+
+@reflectiveTest
+class InheritedContributorTest_Driver extends InheritedContributorTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ @override
+ test_AwaitExpression_inherited() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_AwaitExpression_inherited();
+ }
+
+ @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_inherited() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_inherited();
+ }
+
+ @failingTest
+ @override
+ test_method_parameters_mixed_required_and_named() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_method_parameters_mixed_required_and_named();
+ }
+
+ @failingTest
+ @override
+ test_method_parameters_mixed_required_and_positional() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_method_parameters_mixed_required_and_positional();
+ }
+
+ @failingTest
+ @override
+ test_method_parameters_named() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_method_parameters_named();
+ }
+
+ @failingTest
+ @override
+ test_method_parameters_none() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_method_parameters_none();
+ }
+
+ @failingTest
+ @override
+ test_method_parameters_positional() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_method_parameters_positional();
+ }
+
+ @failingTest
+ @override
+ test_method_parameters_required() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_method_parameters_required();
+ }
+
+ @failingTest
+ @override
+ test_mixin_ordering() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_mixin_ordering();
+ }
+
+ @failingTest
+ @override
+ test_no_parameters_field() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_no_parameters_field();
+ }
+
+ @failingTest
+ @override
+ test_no_parameters_getter() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_no_parameters_getter();
+ }
+
+ @failingTest
+ @override
+ test_no_parameters_setter() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_no_parameters_setter();
+ }
+
+ @failingTest
+ @override
+ test_ouside_class() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_ouside_class();
+ }
+
+ @failingTest
+ @override
+ test_static_field() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_static_field();
+ }
+
+ @failingTest
+ @override
+ test_static_method() {
+ // Bad state: Should not be used with the new analysis driver.
+ return super.test_static_method();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698