Handling some cases of obfuscated exception ranges

This commit is contained in:
upnotes
2018-10-03 17:21:01 +02:00
parent c3ff7141ab
commit 95cefbcfd2
7 changed files with 462 additions and 5 deletions

View File

@@ -113,6 +113,7 @@ public class SingleClassesTest {
@Test public void testPrivateEmptyConstructor() { doTest("pkg/TestPrivateEmptyConstructor"); }
@Test public void testSynchronizedUnprotected() { doTest("pkg/TestSynchronizedUnprotected"); }
@Test public void testInterfaceSuper() { doTest("pkg/TestInterfaceSuper"); }
@Test public void testFieldSingleAccess() { doTest("pkg/TestFieldSingleAccess"); }
// TODO: fix all below
//@Test public void testPackageInfo() { doTest("pkg/package-info"); }
@@ -125,6 +126,7 @@ public class SingleClassesTest {
@Test public void testGroovyTrait() { doTest("pkg/TestGroovyTrait"); }
@Test public void testPrivateClasses() { doTest("pkg/PrivateClasses"); }
@Test public void testSuspendLambda() { doTest("pkg/TestSuspendLambdaKt"); }
@Test public void testNamedSuspendFun2Kt() { doTest("pkg/TestNamedSuspendFun2Kt"); }
private void doTest(String testFile, String... companionFiles) {
ConsoleDecompiler decompiler = fixture.getDecompiler();