Split GenerateNotNullAssertionsTests into standard box and bytecode tests

This commit is contained in:
Steven Schäfer
2019-07-02 10:07:37 +02:00
committed by Alexander Udalov
parent dfd0042a5b
commit dd20b74030
33 changed files with 668 additions and 360 deletions
@@ -442,11 +442,26 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxAga
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxAgainstJava/notNullAssertions"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("callAssertions.kt")
public void testCallAssertions() throws Exception {
runTest("compiler/testData/codegen/boxAgainstJava/notNullAssertions/callAssertions.kt");
}
@TestMetadata("delegation.kt")
public void testDelegation() throws Exception {
runTest("compiler/testData/codegen/boxAgainstJava/notNullAssertions/delegation.kt");
}
@TestMetadata("doGenerateParamAssertions.kt")
public void testDoGenerateParamAssertions() throws Exception {
runTest("compiler/testData/codegen/boxAgainstJava/notNullAssertions/doGenerateParamAssertions.kt");
}
@TestMetadata("noCallAssertions.kt")
public void testNoCallAssertions() throws Exception {
runTest("compiler/testData/codegen/boxAgainstJava/notNullAssertions/noCallAssertions.kt");
}
@TestMetadata("rightElvisOperand.kt")
public void testRightElvisOperand() throws Exception {
runTest("compiler/testData/codegen/boxAgainstJava/notNullAssertions/rightElvisOperand.kt");