| 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 fd92391214089030f6a1ec0cbc00769567818d01..929e0644fd0abe69bf9598d2db47429e36941fec 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
|
| @@ -42,6 +42,28 @@ public final class QuickFixProcessorTest extends AbstractDartTest {
|
|
|
| private String proposalNamePrefix;
|
|
|
| + public void test_addPartOf() throws Exception {
|
| + proposalNamePrefix = "Add \"part of\" directive";
|
| + setUnitContent("Lib.dart", new String[] {
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "library MyApp;",
|
| + "part 'Test.dart';",
|
| + ""});
|
| + setTestUnitContent(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "main() {",
|
| + "}",
|
| + "");
|
| + assertQuickFix(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "",
|
| + "part of MyApp;",
|
| + "",
|
| + "main() {",
|
| + "}",
|
| + "");
|
| + }
|
| +
|
| public void test_createClass() throws Exception {
|
| proposalNamePrefix = "Create class";
|
| setTestUnitContent(
|
| @@ -603,7 +625,6 @@ public final class QuickFixProcessorTest extends AbstractDartTest {
|
| "");
|
| }
|
|
|
| - // XXX
|
| public void test_unresolvedFunction_useSimilar_qualified_fromClass() throws Exception {
|
| proposalNamePrefix = "Change to";
|
| setTestUnitContent(
|
|
|