| Index: pkg/analysis_server/test/services/refactoring/inline_method_test.dart
|
| diff --git a/pkg/analysis_server/test/services/refactoring/inline_method_test.dart b/pkg/analysis_server/test/services/refactoring/inline_method_test.dart
|
| index 5a87e765debb4113e3eee2aae27a0321a9ac1672..40366ebc7382544f69f4296234ff43d94fb4de82 100644
|
| --- a/pkg/analysis_server/test/services/refactoring/inline_method_test.dart
|
| +++ b/pkg/analysis_server/test/services/refactoring/inline_method_test.dart
|
| @@ -933,6 +933,41 @@ class A {
|
| ''');
|
| }
|
|
|
| + test_method_this() {
|
| + // TODO
|
| + indexTestUnit(r'''
|
| +class A {
|
| + accept(B b) {}
|
| +}
|
| +class B {
|
| + test(A a) {
|
| + print(this);
|
| + a.accept(this);
|
| + }
|
| +}
|
| +main() {
|
| + B b = new B();
|
| + A a = new A();
|
| + b.test(a);
|
| +}
|
| +''');
|
| + _createRefactoring('test(A a) {');
|
| + // validate change
|
| + return _assertSuccessfulRefactoring(r'''
|
| +class A {
|
| + accept(B b) {}
|
| +}
|
| +class B {
|
| +}
|
| +main() {
|
| + B b = new B();
|
| + A a = new A();
|
| + print(b);
|
| + a.accept(b);
|
| +}
|
| +''');
|
| + }
|
| +
|
| test_method_unqualifiedUnvocation() {
|
| indexTestUnit(r'''
|
| class A {
|
|
|