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

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

Issue 2942753002: Enable 'analysis.implemented' with the new analysis 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 | « pkg/analysis_server/lib/src/operation/operation_analysis.dart ('k') | no next file » | 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 36a62d97bf2ae5a12f178b2f141042064baf0fab..bbe0a1057d1c1cce932b9ce2d38c251d68493ace 100644
--- a/pkg/analysis_server/test/analysis/notification_implemented_test.dart
+++ b/pkg/analysis_server/test/analysis/notification_implemented_test.dart
@@ -125,10 +125,7 @@ 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,10 +135,7 @@ 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 {}
@@ -160,10 +154,7 @@ 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 {}
@@ -172,10 +163,7 @@ 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 {}
@@ -184,10 +172,7 @@ 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;
@@ -196,10 +181,7 @@ 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
@@ -212,10 +194,7 @@ 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
@@ -228,10 +207,7 @@ 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
@@ -244,10 +220,7 @@ 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
@@ -260,10 +233,7 @@ 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
@@ -276,10 +246,7 @@ 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
@@ -293,10 +260,7 @@ 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
@@ -311,10 +275,7 @@ 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'''
@@ -332,10 +293,7 @@ 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
@@ -349,10 +307,7 @@ 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
@@ -365,10 +320,7 @@ 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
@@ -381,10 +333,7 @@ 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
@@ -397,10 +346,7 @@ 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;
@@ -413,10 +359,7 @@ 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;
@@ -429,10 +372,7 @@ 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;
@@ -445,10 +385,7 @@ 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;
@@ -461,10 +398,7 @@ 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;
@@ -477,10 +411,7 @@ 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 | « pkg/analysis_server/lib/src/operation/operation_analysis.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698