| Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/utilities/ast/DartElementLocatorTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/utilities/ast/DartElementLocatorTest.java b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/utilities/ast/DartElementLocatorTest.java
|
| index ac40c62565502d5771f75e18ccd63e25e5481c2a..1b9cbd4abc76f468e1f58e25db02e197596bc466 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/utilities/ast/DartElementLocatorTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/utilities/ast/DartElementLocatorTest.java
|
| @@ -15,6 +15,12 @@ package com.google.dart.tools.core.utilities.ast;
|
|
|
| import static org.fest.assertions.Assertions.assertThat;
|
|
|
| +import java.util.List;
|
| +
|
| +import junit.framework.TestCase;
|
| +
|
| +import org.eclipse.core.resources.IResource;
|
| +
|
| import com.google.common.base.Joiner;
|
| import com.google.common.collect.Lists;
|
| import com.google.dart.compiler.DartCompilationError;
|
| @@ -32,12 +38,6 @@ import com.google.dart.tools.core.model.Type;
|
| import com.google.dart.tools.core.test.util.TestProject;
|
| import com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities;
|
|
|
| -import junit.framework.TestCase;
|
| -
|
| -import org.eclipse.core.resources.IResource;
|
| -
|
| -import java.util.List;
|
| -
|
| /**
|
| * Test for {@link DartElementLocator}.
|
| */
|
| @@ -513,13 +513,13 @@ public class DartElementLocatorTest extends TestCase {
|
| "// filler filler filler filler filler filler filler filler filler filler filler",
|
| "process(x) {}",
|
| "class A {",
|
| - " get test() {}",
|
| + " get test {}",
|
| " set test(x) {}",
|
| "}",
|
| ""),
|
| - "est() {",
|
| + "est {",
|
| Method.class,
|
| - "test() {",
|
| + "test {",
|
| 4);
|
| }
|
|
|
| @@ -529,7 +529,7 @@ public class DartElementLocatorTest extends TestCase {
|
| "// filler filler filler filler filler filler filler filler filler filler filler",
|
| "process(x) {}",
|
| "class A {",
|
| - " get test() {}",
|
| + " get test {}",
|
| " set test(x) {}",
|
| "}",
|
| "f() {",
|
| @@ -539,7 +539,7 @@ public class DartElementLocatorTest extends TestCase {
|
| ""),
|
| "test);",
|
| Method.class,
|
| - "test() {",
|
| + "test {",
|
| 4);
|
| }
|
|
|
| @@ -625,7 +625,7 @@ public class DartElementLocatorTest extends TestCase {
|
| "// filler filler filler filler filler filler filler filler filler filler filler",
|
| "process(x) {}",
|
| "class A {",
|
| - " get test() {}",
|
| + " get test {}",
|
| " set test(x) {}",
|
| "}",
|
| ""),
|
| @@ -640,7 +640,7 @@ public class DartElementLocatorTest extends TestCase {
|
| formatLines(
|
| "// filler filler filler filler filler filler filler filler filler filler filler",
|
| "class A {",
|
| - " get test() {}",
|
| + " get test {}",
|
| " set test(x) {}",
|
| "}",
|
| "f() {",
|
|
|