| Index: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java
|
| index 43b307755c7a4cc5fac87fe957ea6b45dc91df7e..fd92391214089030f6a1ec0cbc00769567818d01 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/correction/QuickFixProcessorTest.java
|
| @@ -561,6 +561,30 @@ public final class QuickFixProcessorTest extends AbstractDartTest {
|
| "");
|
| }
|
|
|
| + public void test_removeParentheses_inGetterInvocation() throws Exception {
|
| + proposalNamePrefix = "Remove parentheses in getter invocation";
|
| + setTestUnitContent(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "class A {",
|
| + " int get foo => 0;",
|
| + "}",
|
| + "main() {",
|
| + " A a = new A();",
|
| + " a.foo();",
|
| + "}",
|
| + "");
|
| + assertQuickFix(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "class A {",
|
| + " int get foo => 0;",
|
| + "}",
|
| + "main() {",
|
| + " A a = new A();",
|
| + " a.foo;",
|
| + "}",
|
| + "");
|
| + }
|
| +
|
| public void test_unresolvedClass_useSimilar() throws Exception {
|
| proposalNamePrefix = "Change to 'Person'";
|
| setTestUnitContent(
|
|
|