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

Unified Diff: pkg/analysis_server/test/analysis/notification_implemented_test.dart

Issue 2939803002: Convert more tests to use the new driver (Closed)
Patch Set: Created 3 years, 6 months 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
« no previous file with comments | « no previous file | pkg/analysis_server/test/domain_analysis_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/analysis/notification_implemented_test.dart
diff --git a/pkg/analysis_server/test/analysis/notification_implemented_test.dart b/pkg/analysis_server/test/analysis/notification_implemented_test.dart
index 34268b8ced616a450f12dbbce29fddd4e5e26fbc..36a62d97bf2ae5a12f178b2f141042064baf0fab 100644
--- a/pkg/analysis_server/test/analysis/notification_implemented_test.dart
+++ b/pkg/analysis_server/test/analysis/notification_implemented_test.dart
@@ -25,9 +25,6 @@ class AnalysisNotificationImplementedTest extends AbstractAnalysisTest {
List<ImplementedClass> implementedClasses;
List<ImplementedMember> implementedMembers;
- @override
- bool get enableNewAnalysisDriver => false;
-
/**
* Validates that there is an [ImplementedClass] at the offset of [search].
*
@@ -128,7 +125,10 @@ class AnalysisNotificationImplementedTest extends AbstractAnalysisTest {
addAnalysisSubscription(AnalysisService.IMPLEMENTED, testFile);
}
+ @failingTest
test_afterAnalysis() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {}
class B extends A {}
@@ -138,7 +138,10 @@ class B extends A {}
assertHasImplementedClass('A {');
}
+ @failingTest
test_afterIncrementalResolution() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
subscribeForImplemented();
addTestFile('''
class A {}
@@ -157,7 +160,10 @@ class B extends A {}
assertHasImplementedClass('A {');
}
+ @failingTest
test_class_extended() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {}
class B extends A {}
@@ -166,7 +172,10 @@ class B extends A {}
assertHasImplementedClass('A {');
}
+ @failingTest
test_class_implemented() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {}
class B implements A {}
@@ -175,7 +184,10 @@ class B implements A {}
assertHasImplementedClass('A {');
}
+ @failingTest
test_class_mixed() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {}
class B = Object with A;
@@ -184,7 +196,10 @@ class B = Object with A;
assertHasImplementedClass('A {');
}
+ @failingTest
test_field_withField() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
int f; // A
@@ -197,7 +212,10 @@ class B extends A {
assertHasImplementedMember('f; // A');
}
+ @failingTest
test_field_withGetter() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
int f; // A
@@ -210,7 +228,10 @@ class B extends A {
assertHasImplementedMember('f; // A');
}
+ @failingTest
test_field_withSetter() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
int f; // A
@@ -223,7 +244,10 @@ class B extends A {
assertHasImplementedMember('f; // A');
}
+ @failingTest
test_getter_withField() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
get f => null; // A
@@ -236,7 +260,10 @@ class B extends A {
assertHasImplementedMember('f => null; // A');
}
+ @failingTest
test_getter_withGetter() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
get f => null; // A
@@ -249,7 +276,10 @@ class B extends A {
assertHasImplementedMember('f => null; // A');
}
+ @failingTest
test_method_withMethod() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
m() {} // A
@@ -263,7 +293,10 @@ class B extends A {
assertNoImplementedMember('m() {} // B');
}
+ @failingTest
test_method_withMethod_indirectSubclass() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
m() {} // A
@@ -278,7 +311,10 @@ class C extends A {
assertHasImplementedMember('m() {} // A');
}
+ @failingTest
test_method_withMethod_private_differentLib() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addFile(
'$testFolder/lib.dart',
r'''
@@ -296,7 +332,10 @@ class A {
assertNoImplementedMember('_m() {} // A');
}
+ @failingTest
test_method_withMethod_private_sameLibrary() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
_m() {} // A
@@ -310,7 +349,10 @@ class B extends A {
assertNoImplementedMember('_m() {} // B');
}
+ @failingTest
test_method_withMethod_wasAbstract() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
abstract class A {
m(); // A
@@ -323,7 +365,10 @@ class B extends A {
assertHasImplementedMember('m(); // A');
}
+ @failingTest
test_setter_withField() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
set f(_) {} // A
@@ -336,7 +381,10 @@ class B extends A {
assertHasImplementedMember('f(_) {} // A');
}
+ @failingTest
test_setter_withSetter() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
set f(_) {} // A
@@ -349,7 +397,10 @@ class B extends A {
assertHasImplementedMember('f(_) {} // A');
}
+ @failingTest
test_static_field_instanceStatic() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
int F = 0;
@@ -362,7 +413,10 @@ class B extends A {
assertNoImplementedMember('F = 0');
}
+ @failingTest
test_static_field_staticInstance() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
static int F = 0;
@@ -375,7 +429,10 @@ class B extends A {
assertNoImplementedMember('F = 0');
}
+ @failingTest
test_static_field_staticStatic() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
static int F = 0;
@@ -388,7 +445,10 @@ class B extends A {
assertNoImplementedMember('F = 0');
}
+ @failingTest
test_static_method_instanceStatic() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
int m() => 0;
@@ -401,7 +461,10 @@ class B extends A {
assertNoImplementedMember('m() => 0');
}
+ @failingTest
test_static_method_staticInstance() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
static int m() => 0;
@@ -414,7 +477,10 @@ class B extends A {
assertNoImplementedMember('m() => 0');
}
+ @failingTest
test_static_method_staticStatic() async {
+ // See https://github.com/dart-lang/sdk/issues/29113
+ fail('The analysis.implemented notification is not implemented.');
addTestFile('''
class A {
static int m() => 0;
« no previous file with comments | « no previous file | pkg/analysis_server/test/domain_analysis_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698