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

Unified Diff: pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart

Issue 2903523003: Switch server tests to strong mode. (Closed)
Patch Set: Created 3 years, 7 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/test/services/refactoring/extract_method_test.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/services/refactoring/rename_constructor_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart b/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart
index 2f3344435aac6894373aeaff19203b6779d423e6..1434a051cd013384a2ff14f090d64e6ec6cb5eb3 100644
--- a/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/rename_constructor_test.dart
@@ -100,10 +100,10 @@ class A {
await indexTestUnit('''
class A {
A() {} // marker
+ factory A._() = A;
}
class B extends A {
B() : super() {}
- factory B._() = A;
}
main() {
new A();
@@ -119,10 +119,10 @@ main() {
return assertSuccessfulRefactoring('''
class A {
A.newName() {} // marker
+ factory A._() = A.newName;
}
class B extends A {
B() : super.newName() {}
- factory B._() = A.newName;
}
main() {
new A.newName();
@@ -136,7 +136,6 @@ class A {
}
class B extends A {
B() : super() {}
- factory B._() = A;
}
main() {
new A();
@@ -155,7 +154,6 @@ class A {
}
class B extends A {
B() : super.newName() {}
- factory B._() = A.newName;
}
main() {
new A.newName();
@@ -167,10 +165,10 @@ main() {
await indexTestUnit('''
class A {
A.test() {} // marker
+ factory A._() = A.test;
}
class B extends A {
B() : super.test() {}
- factory B._() = A.test;
}
main() {
new A.test();
@@ -186,10 +184,10 @@ main() {
return assertSuccessfulRefactoring('''
class A {
A.newName() {} // marker
+ factory A._() = A.newName;
}
class B extends A {
B() : super.newName() {}
- factory B._() = A.newName;
}
main() {
new A.newName();
@@ -201,10 +199,10 @@ main() {
await indexTestUnit('''
class A {
A.test() {} // marker
+ factory A._() = A.test;
}
class B extends A {
B() : super.test() {}
- factory B._() = A.test;
}
main() {
new A.test();
@@ -220,10 +218,10 @@ main() {
return assertSuccessfulRefactoring('''
class A {
A() {} // marker
+ factory A._() = A;
}
class B extends A {
B() : super() {}
- factory B._() = A;
}
main() {
new A();
« no previous file with comments | « pkg/analysis_server/test/services/refactoring/extract_method_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698