JVM IR: Update test expectation for testSamAdapterAndInlineOnce

...and remove redundant bytecode text tests.
This commit is contained in:
Steven Schäfer
2020-11-17 16:33:23 +01:00
committed by Alexander Udalov
parent 8574cb4466
commit 7bfe2c0bbc
10 changed files with 42 additions and 158 deletions
@@ -4386,11 +4386,6 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("samWrapperConstructorNonSynthetic.kt")
public void testSamWrapperConstructorNonSynthetic() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperConstructorNonSynthetic.kt");
}
@TestMetadata("samWrapperForNullInitialization.kt")
public void testSamWrapperForNullInitialization() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperForNullInitialization.kt");
@@ -4416,25 +4411,10 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperOfReference.kt");
}
@TestMetadata("samWrapperPrivateFinalSyntheticField.kt")
public void testSamWrapperPrivateFinalSyntheticField() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperPrivateFinalSyntheticField.kt");
}
@TestMetadata("samWrapperRawTypes.kt")
public void testSamWrapperRawTypes() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperRawTypes.kt");
}
@TestMetadata("samWrapperSyntheticFlags.kt")
public void testSamWrapperSyntheticFlags() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperSyntheticFlags.kt");
}
@TestMetadata("samWrapperSyntheticImplementationMethod.kt")
public void testSamWrapperSyntheticImplementationMethod() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperSyntheticImplementationMethod.kt");
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/statements")