Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/file/IndexNodeTest.java |
=================================================================== |
--- editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/file/IndexNodeTest.java (revision 40507) |
+++ editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/index/file/IndexNodeTest.java (working copy) |
@@ -104,6 +104,15 @@ |
assertHasLocation(locations, elementC, 2, 20); |
} |
+ @Override |
+ protected void tearDown() throws Exception { |
+ stringCodec = null; |
+ elementCodec = null; |
+ relationshipCodec = null; |
+ node = null; |
+ super.tearDown(); |
+ } |
+ |
private void assertHasLocation(Location[] locations, Element element, int offset, int length) { |
for (Location location : locations) { |
if (Objects.equal(location.getElement(), element) && location.getOffset() == offset |