| 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 71b5b50bfa513b7e0a641c07532269baff56b5c8..b6f16b72234c3ba3fd95ba6afbf033583ec60f24 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
|
| @@ -623,6 +623,24 @@ public class DartElementLocatorTest extends TestCase {
|
| 2);
|
| }
|
|
|
| + public void test_VariableElement_parameter_namedInInvocation() throws Exception {
|
| + testElementLocator(
|
| + formatLines(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "class A {",
|
| + " static f({test: 0}) {}",
|
| + "}",
|
| + "",
|
| + "void main() {",
|
| + " A.f(test: 42);",
|
| + "}",
|
| + ""),
|
| + "test: 42",
|
| + DartVariableDeclaration.class,
|
| + "test: 0",
|
| + 4);
|
| + }
|
| +
|
| public void test_VariableElement_parameter_reference_inClassMethod() throws Exception {
|
| testElementLocator(
|
| formatLines(
|
|
|