Tests fixed

This commit is contained in:
Andrey Breslav
2011-06-12 15:14:13 +04:00
parent 2c02a9b982
commit 70ed1f8083
@@ -34,7 +34,7 @@ public abstract class ExtensibleResolveTestCase extends LightCodeInsightTestCase
protected void setUp() throws Exception { protected void setUp() throws Exception {
super.setUp(); super.setUp();
expectedResolveData = getExpectedResolveData(); expectedResolveData = getExpectedResolveData();
((DaemonCodeAnalyzerImpl) DaemonCodeAnalyzer.getInstance(getProject())).prepareForTest(true); ((DaemonCodeAnalyzerImpl) DaemonCodeAnalyzer.getInstance(getProject())).prepareForTest();
DaemonCodeAnalyzerSettings.getInstance().setImportHintEnabled(false); DaemonCodeAnalyzerSettings.getInstance().setImportHintEnabled(false);
} }
@@ -42,7 +42,7 @@ public abstract class ExtensibleResolveTestCase extends LightCodeInsightTestCase
@Override @Override
protected void tearDown() throws Exception { protected void tearDown() throws Exception {
((DaemonCodeAnalyzerImpl) DaemonCodeAnalyzer.getInstance(getProject())).cleanupAfterTest(); // has to cleanup by hand since light project does not get disposed any time soon ((DaemonCodeAnalyzerImpl) DaemonCodeAnalyzer.getInstance(getProject())).cleanupAfterTest(false); // has to cleanup by hand since light project does not get disposed any time soon
super.tearDown(); super.tearDown();
} }