IDEA-166073 Extended Width (long, double) constructors cause issues with anonymous classes

This commit is contained in:
Egor.Ushakov
2017-01-13 17:57:21 +03:00
parent abbf2daf30
commit 0684264b3a
31 changed files with 471 additions and 19 deletions

View File

@@ -62,6 +62,7 @@ public class SingleClassesTest {
@Test public void testEnum() { doTest("pkg/TestEnum"); }
@Test public void testDebugSymbols() { doTest("pkg/TestDebugSymbols"); }
@Test public void testInvalidMethodSignature() { doTest("InvalidMethodSignature"); }
@Test public void testAnonymousClassConstructor() { doTest("pkg/TestAnonymousClassConstructor"); }
@Test public void testInnerClassConstructor() { doTest("pkg/TestInnerClassConstructor"); }
@Test public void testInnerClassConstructor11() { doTest("v11/TestInnerClassConstructor"); }
@Test public void testTryCatchFinally() { doTest("pkg/TestTryCatchFinally"); }
@@ -94,6 +95,7 @@ public class SingleClassesTest {
@Test public void testKotlinConstructor() { doTest("pkg/TestKotlinConstructorKt"); }
@Test public void testAsserts() { doTest("pkg/TestAsserts"); }
@Test public void testLocalsNames() { doTest("pkg/TestLocalsNames"); }
@Test public void testAnonymousParamNames() { doTest("pkg/TestAnonymousParamNames"); }
private void doTest(String testFile, String... companionFiles) {
ConsoleDecompiler decompiler = fixture.getDecompiler();