mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix memory leaks in tests
This commit is contained in:
+7
@@ -45,9 +45,16 @@ class PluginXmlFunctionalTest extends JavaCodeInsightFixtureTestCase {
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp()
|
||||
myTempDirFixture = IdeaTestFixtureFactory.getFixtureFactory().createTempDirTestFixture()
|
||||
myTempDirFixture.setUp()
|
||||
myFixture.enableInspections(new PluginXmlDomInspection())
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
myTempDirFixture.tearDown()
|
||||
super.tearDown()
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getBasePath() {
|
||||
return DevkitJavaTestsUtil.TESTDATA_PATH + "codeInsight"
|
||||
|
||||
Reference in New Issue
Block a user