Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/search/SearchEngineImplTest.java

Issue 587743002: Version 1.7.0-dev.3.2 . (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/search/SearchEngineImplTest.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/search/SearchEngineImplTest.java (revision 40507)
+++ editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/search/SearchEngineImplTest.java (working copy)
@@ -135,7 +135,7 @@
}
}
- private final IndexStore indexStore = IndexFactory.newSplitIndexStore(new MemoryNodeManager());
+ private IndexStore indexStore = IndexFactory.newSplitIndexStore(new MemoryNodeManager());
private static final AnalysisContext CONTEXT = mock(AnalysisContext.class);
private int nextLocationId = 0;
@@ -1225,6 +1225,12 @@
assertTrue(indexStore.aboutToIndexDart(CONTEXT, unitElement));
}
+ @Override
+ protected void tearDown() throws Exception {
+ indexStore = null;
+ super.tearDown();
+ }
+
private void defineFunctionsAB(LibraryElement library) {
{
when(elementA.getAncestor(LibraryElement.class)).thenReturn(library);

Powered by Google App Engine
This is Rietveld 408576698