| Index: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ExtractMethodRefactoringTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ExtractMethodRefactoringTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ExtractMethodRefactoringTest.java
|
| index 59d5a2c36477b8624b36329f9f6ed0829762822c..0776efad6729fc7050054353955728a61ea28b65 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ExtractMethodRefactoringTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/ExtractMethodRefactoringTest.java
|
| @@ -876,26 +876,6 @@ public final class ExtractMethodRefactoringTest extends RefactoringTest {
|
| }
|
| }
|
|
|
| - public void test_bad_switch_switchMember() throws Exception {
|
| - setTestUnitContent(
|
| - "// filler filler filler filler filler filler filler filler filler filler",
|
| - "main() {",
|
| - " switch (0) ",
|
| - "// start",
|
| - " switch (0) {}",
|
| - "// end",
|
| - " } ",
|
| - "}",
|
| - "");
|
| - setSelectionFromStartEndComments();
|
| - createRefactoring();
|
| - assertTrue(refactoringStatus.hasFatalError());
|
| - {
|
| - String msg = refactoringStatus.getMessageMatchingSeverity(RefactoringStatus.FATAL);
|
| - assertEquals(RefactoringCoreMessages.StatementAnalyzer_switch_statement, msg);
|
| - }
|
| - }
|
| -
|
| public void test_bad_tokensBetweenLastNodeAndSelectionEnd() throws Exception {
|
| setTestUnitContent(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
|
|