API version calls preprocessing, 1st passing test

This commit is contained in:
Dmitry Petrov
2017-09-22 17:20:45 +03:00
parent 4e7c4c3976
commit fd16035bbd
8 changed files with 208 additions and 4 deletions
@@ -642,6 +642,21 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
}
}
@TestMetadata("compiler/testData/codegen/boxInline/bytecodePreprocessing")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class BytecodePreprocessing extends AbstractBlackBoxInlineCodegenTest {
public void testAllFilesPresentInBytecodePreprocessing() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/bytecodePreprocessing"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("apiVersionAtLeast1.kt")
public void testApiVersionAtLeast1() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/bytecodePreprocessing/apiVersionAtLeast1.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/boxInline/callableReference")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)