| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisContextImplTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisContextImplTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisContextImplTest.java
|
| index a0428628f37b5efd4e88b6cc186aa93b6f6b81e8..6364e020e17f5090041330327039fd7980fff090 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisContextImplTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisContextImplTest.java
|
| @@ -127,10 +127,10 @@ public class AnalysisContextImplTest extends EngineTestCase {
|
| CompilationUnit partUnit = context.resolveCompilationUnit(partSource, librarySource);
|
| TopLevelVariableDeclaration declaration = (TopLevelVariableDeclaration) libraryUnit.getDeclarations().get(
|
| 0);
|
| - Element declarationElement = declaration.getVariables().getVariables().get(0).getName().getElement();
|
| + Element declarationElement = declaration.getVariables().getVariables().get(0).getElement();
|
| TopLevelVariableDeclaration use = (TopLevelVariableDeclaration) partUnit.getDeclarations().get(
|
| 0);
|
| - Element useElement = ((SimpleIdentifier) use.getVariables().getVariables().get(0).getInitializer()).getElement();
|
| + Element useElement = ((SimpleIdentifier) use.getVariables().getVariables().get(0).getInitializer()).getStaticElement();
|
| assertSame(declarationElement, ((PropertyAccessorElement) useElement).getVariable());
|
| }
|
|
|
|
|