Split GenerateNotNullAssertionsTests into standard box and bytecode tests
This commit is contained in:
committed by
Alexander Udalov
parent
dfd0042a5b
commit
dd20b74030
+15
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user