Remove hack with supressing "Virtual pointer hasn't been disposed" exception after detaching library.
This commit is contained in:
@@ -24,19 +24,6 @@ import java.io.File;
|
|||||||
* @author Nikolay.Krasko
|
* @author Nikolay.Krasko
|
||||||
*/
|
*/
|
||||||
public class JetBasicCompletionTest extends JetCompletionTestBase {
|
public class JetBasicCompletionTest extends JetCompletionTestBase {
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void tearDown() throws Exception {
|
|
||||||
try {
|
|
||||||
super.tearDown();
|
|
||||||
} catch (RuntimeException exception) {
|
|
||||||
// TODO: Fix inability to free pointer for runtimejar in JetWithJdkAndRuntimeLightProjectDescriptor
|
|
||||||
if (!(exception.getMessage().contains("runtimejar") && exception.getMessage().contains("Virtual pointer hasn't been disposed"))) {
|
|
||||||
throw exception;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void testAutoCastAfterIf() {
|
public void testAutoCastAfterIf() {
|
||||||
doTest();
|
doTest();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,19 +32,6 @@ import java.io.File;
|
|||||||
* @author Nikolay Krasko
|
* @author Nikolay Krasko
|
||||||
*/
|
*/
|
||||||
public class OptimizeImportsTest extends LightCodeInsightTestCase {
|
public class OptimizeImportsTest extends LightCodeInsightTestCase {
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void tearDown() throws Exception {
|
|
||||||
try {
|
|
||||||
super.tearDown();
|
|
||||||
} catch (RuntimeException exception) {
|
|
||||||
// TODO: Fix inability to free pointer for runtimejar in JetWithJdkAndRuntimeLightProjectDescriptor
|
|
||||||
if (!(exception.getMessage().contains("runtimejar") && exception.getMessage().contains("Virtual pointer hasn't been disposed"))) {
|
|
||||||
throw exception;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void testAlreadyOptimized() throws Exception {
|
public void testAlreadyOptimized() throws Exception {
|
||||||
doTest();
|
doTest();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,18 +67,6 @@ public class JetQuickFixTest extends LightQuickFixTestCase {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void tearDown() throws Exception {
|
|
||||||
try {
|
|
||||||
super.tearDown();
|
|
||||||
} catch (RuntimeException exception) {
|
|
||||||
// TODO: Fix inability to free pointer for runtimejar in JetWithJdkAndRuntimeLightProjectDescriptor
|
|
||||||
if (!(exception.getMessage().contains("runtimejar") && exception.getMessage().contains("Virtual pointer hasn't been disposed"))) {
|
|
||||||
throw exception;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Test suite() {
|
public static Test suite() {
|
||||||
//setFilter(); //to launch only part of tests
|
//setFilter(); //to launch only part of tests
|
||||||
TestSuite suite = new TestSuite();
|
TestSuite suite = new TestSuite();
|
||||||
|
|||||||
Reference in New Issue
Block a user