Remove hack with supressing "Virtual pointer hasn't been disposed" exception after detaching library.

This commit is contained in:
Nikolay Krasko
2012-08-14 22:10:26 +04:00
parent c38453f4ab
commit 8472e77ccb
3 changed files with 0 additions and 38 deletions
@@ -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();