'bytecodeText' test for synthetic accessor generic signature converted to 'writeSignature' test

This commit is contained in:
Mikhael Bogdanov
2016-05-04 14:40:11 +03:00
parent ee7bbbf530
commit cd6b709ef5
4 changed files with 26 additions and 39 deletions
@@ -1106,21 +1106,6 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/signature")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Signature extends AbstractBytecodeTextTest {
public void testAllFilesPresentInSignature() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/signature"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("noSignatureInSyntheticAccessor.kt")
public void testNoSignatureInSyntheticAccessor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/signature/noSignatureInSyntheticAccessor.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/statements")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -137,6 +137,12 @@ public class WriteSignatureTestGenerated extends AbstractWriteSignatureTest {
doTest(fileName);
}
@TestMetadata("syntheticAccessorForGeneric.kt")
public void testSyntheticAccessorForGeneric() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/writeSignature/syntheticAccessorForGeneric.kt");
doTest(fileName);
}
@TestMetadata("VarargCharSequence.kt")
public void testVarargCharSequence() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/writeSignature/VarargCharSequence.kt");