decompiler: a test for the pull request #394

This commit is contained in:
Egor.Ushakov
2016-10-14 18:29:00 +03:00
parent 75e251e427
commit 7bdec4ffc7
4 changed files with 61 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ public class SingleClassesTest {
@Test public void testSyntheticAccess() { doTest("pkg/TestSyntheticAccess"); }
@Test public void testIllegalVarName() { doTest("pkg/TestIllegalVarName"); }
@Test public void testKotlinConstructor() { doTest("pkg/TestKotlinConstructorKt"); }
@Test public void testAsserts() { doTest("pkg/TestAsserts"); }
private void doTest(String testFile, String... companionFiles) {
ConsoleDecompiler decompiler = fixture.getDecompiler();