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
|
||||
*/
|
||||
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() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
@@ -32,19 +32,6 @@ import java.io.File;
|
||||
* @author Nikolay Krasko
|
||||
*/
|
||||
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 {
|
||||
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() {
|
||||
//setFilter(); //to launch only part of tests
|
||||
TestSuite suite = new TestSuite();
|
||||
|
||||
Reference in New Issue
Block a user