Free memory in tearDown()

This commit is contained in:
Nikolay Krasko
2013-01-21 21:43:44 +04:00
parent 126c21de96
commit 731f2d51f6
3 changed files with 20 additions and 1 deletions
@@ -61,6 +61,12 @@ public class JavaElementFinderTest extends JetLiteFixture {
finder = new JavaElementFinder(getProject(), LightClassGenerationSupport.getInstance(getProject()));
}
@Override
protected void tearDown() throws Exception {
finder = null;
super.tearDown();
}
public void testFromEnumEntry() {
assertClass("Direction");
assertNoClass("Direction.NORTH");