[Test] Regenerate tests after two previous commits
This commit is contained in:
committed by
Space Team
parent
d9beae0556
commit
acf2296590
Generated
+19
-19
@@ -19,26 +19,26 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/allopen/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticTestForAllOpenBaseGenerated extends AbstractDiagnosticTestForAllOpenBase {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54260.kt")
|
||||
public void testKt54260() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt54260.kt")
|
||||
public void testKt54260() {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/smartcast.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() {
|
||||
runTest("plugins/allopen/testData/diagnostics/smartcast.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+19
-19
@@ -19,26 +19,26 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/allopen/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeDiagnosticTestForAllOpenGenerated extends AbstractFirLightTreeDiagnosticTestForAllOpen {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54260.kt")
|
||||
public void testKt54260() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt54260.kt")
|
||||
public void testKt54260() {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/smartcast.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() {
|
||||
runTest("plugins/allopen/testData/diagnostics/smartcast.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+84
-84
@@ -20,104 +20,104 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/allopen/testData/bytecodeListing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiBytecodeListingTestForAllOpenGenerated extends AbstractFirPsiBytecodeListingTestForAllOpen {
|
||||
@Test
|
||||
public void testAllFilesPresentInBytecodeListing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBytecodeListing() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allOpenOnNotClasses.kt")
|
||||
public void testAllOpenOnNotClasses() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/allOpenOnNotClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allOpenOnNotClasses.kt")
|
||||
public void testAllOpenOnNotClasses() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/allOpenOnNotClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("alreadyOpen.kt")
|
||||
public void testAlreadyOpen() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/alreadyOpen.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("alreadyOpen.kt")
|
||||
public void testAlreadyOpen() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/alreadyOpen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationMembers.kt")
|
||||
public void testAnnotationMembers() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/annotationMembers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationMembers.kt")
|
||||
public void testAnnotationMembers() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/annotationMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObject.kt")
|
||||
public void testAnonymousObject() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/anonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonymousObject.kt")
|
||||
public void testAnonymousObject() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/anonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitFinal.kt")
|
||||
public void testExplicitFinal() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/explicitFinal.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("explicitFinal.kt")
|
||||
public void testExplicitFinal() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/explicitFinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation_differentModules.kt")
|
||||
public void testMetaAnnotation_differentModules() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/metaAnnotation_differentModules.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation_differentModules.kt")
|
||||
public void testMetaAnnotation_differentModules() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/metaAnnotation_differentModules.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation_sameModule.kt")
|
||||
public void testMetaAnnotation_sameModule() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/metaAnnotation_sameModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation_sameModule.kt")
|
||||
public void testMetaAnnotation_sameModule() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/metaAnnotation_sameModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/nestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInner.kt")
|
||||
public void testNestedInner() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/nestedInner.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedInner.kt")
|
||||
public void testNestedInner() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/nestedInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noAllOpen.kt")
|
||||
public void testNoAllOpen() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/noAllOpen.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noAllOpen.kt")
|
||||
public void testNoAllOpen() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/noAllOpen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateMembers.kt")
|
||||
public void testPrivateMembers() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/privateMembers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateMembers.kt")
|
||||
public void testPrivateMembers() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/privateMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealed.kt")
|
||||
public void testSealed() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/sealed.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealed.kt")
|
||||
public void testSealed() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/sealed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("severalAllOpen.kt")
|
||||
public void testSeveralAllOpen() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/severalAllOpen.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("severalAllOpen.kt")
|
||||
public void testSeveralAllOpen() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/severalAllOpen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("springAnnotations.kt")
|
||||
public void testSpringAnnotations() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/springAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("springAnnotations.kt")
|
||||
public void testSpringAnnotations() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/springAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superClassAnnotation.kt")
|
||||
public void testSuperClassAnnotation() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/superClassAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superClassAnnotation.kt")
|
||||
public void testSuperClassAnnotation() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/superClassAnnotation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+19
-19
@@ -19,26 +19,26 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/allopen/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiDiagnosticTestForAllOpenGenerated extends AbstractFirPsiDiagnosticTestForAllOpen {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54260.kt")
|
||||
public void testKt54260() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt54260.kt")
|
||||
public void testKt54260() {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/smartcast.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() {
|
||||
runTest("plugins/allopen/testData/diagnostics/smartcast.kt");
|
||||
}
|
||||
}
|
||||
|
||||
plugins/allopen/tests-gen/org/jetbrains/kotlin/allopen/IrBytecodeListingTestForAllOpenGenerated.java
Generated
+84
-84
@@ -20,104 +20,104 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/allopen/testData/bytecodeListing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrBytecodeListingTestForAllOpenGenerated extends AbstractIrBytecodeListingTestForAllOpen {
|
||||
@Test
|
||||
public void testAllFilesPresentInBytecodeListing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBytecodeListing() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/allopen/testData/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allOpenOnNotClasses.kt")
|
||||
public void testAllOpenOnNotClasses() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/allOpenOnNotClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allOpenOnNotClasses.kt")
|
||||
public void testAllOpenOnNotClasses() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/allOpenOnNotClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("alreadyOpen.kt")
|
||||
public void testAlreadyOpen() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/alreadyOpen.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("alreadyOpen.kt")
|
||||
public void testAlreadyOpen() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/alreadyOpen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationMembers.kt")
|
||||
public void testAnnotationMembers() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/annotationMembers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationMembers.kt")
|
||||
public void testAnnotationMembers() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/annotationMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObject.kt")
|
||||
public void testAnonymousObject() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/anonymousObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("anonymousObject.kt")
|
||||
public void testAnonymousObject() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/anonymousObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("explicitFinal.kt")
|
||||
public void testExplicitFinal() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/explicitFinal.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("explicitFinal.kt")
|
||||
public void testExplicitFinal() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/explicitFinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation_differentModules.kt")
|
||||
public void testMetaAnnotation_differentModules() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/metaAnnotation_differentModules.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation_differentModules.kt")
|
||||
public void testMetaAnnotation_differentModules() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/metaAnnotation_differentModules.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation_sameModule.kt")
|
||||
public void testMetaAnnotation_sameModule() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/metaAnnotation_sameModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation_sameModule.kt")
|
||||
public void testMetaAnnotation_sameModule() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/metaAnnotation_sameModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/nestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInner.kt")
|
||||
public void testNestedInner() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/nestedInner.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedInner.kt")
|
||||
public void testNestedInner() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/nestedInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noAllOpen.kt")
|
||||
public void testNoAllOpen() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/noAllOpen.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noAllOpen.kt")
|
||||
public void testNoAllOpen() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/noAllOpen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateMembers.kt")
|
||||
public void testPrivateMembers() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/privateMembers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateMembers.kt")
|
||||
public void testPrivateMembers() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/privateMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealed.kt")
|
||||
public void testSealed() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/sealed.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealed.kt")
|
||||
public void testSealed() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/sealed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("severalAllOpen.kt")
|
||||
public void testSeveralAllOpen() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/severalAllOpen.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("severalAllOpen.kt")
|
||||
public void testSeveralAllOpen() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/severalAllOpen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("springAnnotations.kt")
|
||||
public void testSpringAnnotations() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/springAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("springAnnotations.kt")
|
||||
public void testSpringAnnotations() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/springAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superClassAnnotation.kt")
|
||||
public void testSuperClassAnnotation() throws Exception {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/superClassAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superClassAnnotation.kt")
|
||||
public void testSuperClassAnnotation() {
|
||||
runTest("plugins/allopen/testData/bytecodeListing/superClassAnnotation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+230
-230
@@ -22,291 +22,291 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class ParcelBoxTestGenerated extends AbstractParcelBoxTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("allPrimitiveTypes.kt")
|
||||
public void testAllPrimitiveTypes() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/allPrimitiveTypes.kt");
|
||||
}
|
||||
@TestMetadata("allPrimitiveTypes.kt")
|
||||
public void testAllPrimitiveTypes() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/allPrimitiveTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arraySimple.kt")
|
||||
public void testArraySimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/arraySimple.kt");
|
||||
}
|
||||
@TestMetadata("arraySimple.kt")
|
||||
public void testArraySimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/arraySimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arrays.kt")
|
||||
public void testArrays() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/arrays.kt");
|
||||
}
|
||||
@TestMetadata("arrays.kt")
|
||||
public void testArrays() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/arrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("binder.kt")
|
||||
public void testBinder() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/binder.kt");
|
||||
}
|
||||
@TestMetadata("binder.kt")
|
||||
public void testBinder() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/binder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxedTypes.kt")
|
||||
public void testBoxedTypes() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/boxedTypes.kt");
|
||||
}
|
||||
@TestMetadata("boxedTypes.kt")
|
||||
public void testBoxedTypes() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/boxedTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("bundle.kt")
|
||||
public void testBundle() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/bundle.kt");
|
||||
}
|
||||
@TestMetadata("bundle.kt")
|
||||
public void testBundle() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/bundle.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("charSequence.kt")
|
||||
public void testCharSequence() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/charSequence.kt");
|
||||
}
|
||||
@TestMetadata("charSequence.kt")
|
||||
public void testCharSequence() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/charSequence.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customNewArray.kt")
|
||||
public void testCustomNewArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customNewArray.kt");
|
||||
}
|
||||
@TestMetadata("customNewArray.kt")
|
||||
public void testCustomNewArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customNewArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customParcelable.kt")
|
||||
public void testCustomParcelable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customParcelable.kt");
|
||||
}
|
||||
@TestMetadata("customParcelable.kt")
|
||||
public void testCustomParcelable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customParcelable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customParcelerScoping.kt")
|
||||
public void testCustomParcelerScoping() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customParcelerScoping.kt");
|
||||
}
|
||||
@TestMetadata("customParcelerScoping.kt")
|
||||
public void testCustomParcelerScoping() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customParcelerScoping.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSerializerBoxing.kt")
|
||||
public void testCustomSerializerBoxing() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerBoxing.kt");
|
||||
}
|
||||
@TestMetadata("customSerializerBoxing.kt")
|
||||
public void testCustomSerializerBoxing() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerBoxing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSerializerSimple.kt")
|
||||
public void testCustomSerializerSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerSimple.kt");
|
||||
}
|
||||
@TestMetadata("customSerializerSimple.kt")
|
||||
public void testCustomSerializerSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSerializerWriteWith.kt")
|
||||
public void testCustomSerializerWriteWith() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerWriteWith.kt");
|
||||
}
|
||||
@TestMetadata("customSerializerWriteWith.kt")
|
||||
public void testCustomSerializerWriteWith() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerWriteWith.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSimple.kt");
|
||||
}
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumObject.kt")
|
||||
public void testEnumObject() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/enumObject.kt");
|
||||
}
|
||||
@TestMetadata("enumObject.kt")
|
||||
public void testEnumObject() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/enumObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/enums.kt");
|
||||
}
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/enums.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("exceptions.kt")
|
||||
public void testExceptions() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/exceptions.kt");
|
||||
}
|
||||
@TestMetadata("exceptions.kt")
|
||||
public void testExceptions() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/exceptions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functions.kt")
|
||||
public void testFunctions() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/functions.kt");
|
||||
}
|
||||
@TestMetadata("functions.kt")
|
||||
public void testFunctions() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/functions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intArray.kt")
|
||||
public void testIntArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/intArray.kt");
|
||||
}
|
||||
@TestMetadata("intArray.kt")
|
||||
public void testIntArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/intArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("javaInterop.kt")
|
||||
public void testJavaInterop() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/javaInterop.kt");
|
||||
}
|
||||
@TestMetadata("javaInterop.kt")
|
||||
public void testJavaInterop() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/javaInterop.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt19747.kt")
|
||||
public void testKt19747() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19747.kt");
|
||||
}
|
||||
@TestMetadata("kt19747.kt")
|
||||
public void testKt19747() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19747.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt19747_2.kt")
|
||||
public void testKt19747_2() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19747_2.kt");
|
||||
}
|
||||
@TestMetadata("kt19747_2.kt")
|
||||
public void testKt19747_2() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19747_2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt19749.kt")
|
||||
public void testKt19749() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19749.kt");
|
||||
}
|
||||
@TestMetadata("kt19749.kt")
|
||||
public void testKt19749() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19749.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt20002.kt")
|
||||
public void testKt20002() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20002.kt");
|
||||
}
|
||||
@TestMetadata("kt20002.kt")
|
||||
public void testKt20002() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20002.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt20021.kt")
|
||||
public void testKt20021() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20021.kt");
|
||||
}
|
||||
@TestMetadata("kt20021.kt")
|
||||
public void testKt20021() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20021.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt20717.kt")
|
||||
public void testKt20717() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20717.kt");
|
||||
}
|
||||
@TestMetadata("kt20717.kt")
|
||||
public void testKt20717() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20717.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt25839.kt");
|
||||
}
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt25839.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt26221.kt")
|
||||
public void testKt26221() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt26221.kt");
|
||||
}
|
||||
@TestMetadata("kt26221.kt")
|
||||
public void testKt26221() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt26221.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36658.kt")
|
||||
public void testKt36658() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt36658.kt");
|
||||
}
|
||||
@TestMetadata("kt36658.kt")
|
||||
public void testKt36658() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt36658.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt39981.kt")
|
||||
public void testKt39981() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt39981.kt");
|
||||
}
|
||||
@TestMetadata("kt39981.kt")
|
||||
public void testKt39981() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt39981.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt41553.kt")
|
||||
public void testKt41553() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt41553.kt");
|
||||
}
|
||||
@TestMetadata("kt41553.kt")
|
||||
public void testKt41553() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt41553.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt41553_2.kt")
|
||||
public void testKt41553_2() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt41553_2.kt");
|
||||
}
|
||||
@TestMetadata("kt41553_2.kt")
|
||||
public void testKt41553_2() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt41553_2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt46567.kt")
|
||||
public void testKt46567() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt46567.kt");
|
||||
}
|
||||
@TestMetadata("kt46567.kt")
|
||||
public void testKt46567() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt46567.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listKinds.kt")
|
||||
public void testListKinds() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/listKinds.kt");
|
||||
}
|
||||
@TestMetadata("listKinds.kt")
|
||||
public void testListKinds() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/listKinds.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listSimple.kt")
|
||||
public void testListSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/listSimple.kt");
|
||||
}
|
||||
@TestMetadata("listSimple.kt")
|
||||
public void testListSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/listSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lists.kt")
|
||||
public void testLists() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/lists.kt");
|
||||
}
|
||||
@TestMetadata("lists.kt")
|
||||
public void testLists() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/lists.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapKinds.kt")
|
||||
public void testMapKinds() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/mapKinds.kt");
|
||||
}
|
||||
@TestMetadata("mapKinds.kt")
|
||||
public void testMapKinds() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/mapKinds.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapSimple.kt")
|
||||
public void testMapSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/mapSimple.kt");
|
||||
}
|
||||
@TestMetadata("mapSimple.kt")
|
||||
public void testMapSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/mapSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("maps.kt")
|
||||
public void testMaps() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/maps.kt");
|
||||
}
|
||||
@TestMetadata("maps.kt")
|
||||
public void testMaps() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/maps.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedArrays.kt")
|
||||
public void testNestedArrays() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedArrays.kt");
|
||||
}
|
||||
@TestMetadata("nestedArrays.kt")
|
||||
public void testNestedArrays() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedArrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedLists.kt")
|
||||
public void testNestedLists() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedLists.kt");
|
||||
}
|
||||
@TestMetadata("nestedLists.kt")
|
||||
public void testNestedLists() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedLists.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedMaps.kt")
|
||||
public void testNestedMaps() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedMaps.kt");
|
||||
}
|
||||
@TestMetadata("nestedMaps.kt")
|
||||
public void testNestedMaps() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedMaps.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedParcelable.kt")
|
||||
public void testNestedParcelable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedParcelable.kt");
|
||||
}
|
||||
@TestMetadata("nestedParcelable.kt")
|
||||
public void testNestedParcelable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedParcelable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedSparseArrays.kt")
|
||||
public void testNestedSparseArrays() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedSparseArrays.kt");
|
||||
}
|
||||
@TestMetadata("nestedSparseArrays.kt")
|
||||
public void testNestedSparseArrays() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedSparseArrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("newArray.kt")
|
||||
public void testNewArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/newArray.kt");
|
||||
}
|
||||
@TestMetadata("newArray.kt")
|
||||
public void testNewArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/newArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("newArrayParceler.kt")
|
||||
public void testNewArrayParceler() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/newArrayParceler.kt");
|
||||
}
|
||||
@TestMetadata("newArrayParceler.kt")
|
||||
public void testNewArrayParceler() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/newArrayParceler.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableTypes.kt")
|
||||
public void testNullableTypes() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nullableTypes.kt");
|
||||
}
|
||||
@TestMetadata("nullableTypes.kt")
|
||||
public void testNullableTypes() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nullableTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableTypesSimple.kt")
|
||||
public void testNullableTypesSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nullableTypesSimple.kt");
|
||||
}
|
||||
@TestMetadata("nullableTypesSimple.kt")
|
||||
public void testNullableTypesSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nullableTypesSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objects.kt")
|
||||
public void testObjects() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/objects.kt");
|
||||
}
|
||||
@TestMetadata("objects.kt")
|
||||
public void testObjects() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/objects.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("openParcelize.kt")
|
||||
public void testOpenParcelize() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/openParcelize.kt");
|
||||
}
|
||||
@TestMetadata("openParcelize.kt")
|
||||
public void testOpenParcelize() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/openParcelize.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("persistableBundle.kt")
|
||||
public void testPersistableBundle() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/persistableBundle.kt");
|
||||
}
|
||||
@TestMetadata("persistableBundle.kt")
|
||||
public void testPersistableBundle() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/persistableBundle.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitiveTypes.kt")
|
||||
public void testPrimitiveTypes() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/primitiveTypes.kt");
|
||||
}
|
||||
@TestMetadata("primitiveTypes.kt")
|
||||
public void testPrimitiveTypes() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/primitiveTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sealedClass.kt")
|
||||
public void testSealedClass() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sealedClass.kt");
|
||||
}
|
||||
@TestMetadata("sealedClass.kt")
|
||||
public void testSealedClass() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sealedClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/simple.kt");
|
||||
}
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/simple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sparseArrays.kt")
|
||||
public void testSparseArrays() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sparseArrays.kt");
|
||||
}
|
||||
@TestMetadata("sparseArrays.kt")
|
||||
public void testSparseArrays() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sparseArrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sparseBooleanArray.kt")
|
||||
public void testSparseBooleanArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sparseBooleanArray.kt");
|
||||
}
|
||||
@TestMetadata("sparseBooleanArray.kt")
|
||||
public void testSparseBooleanArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sparseBooleanArray.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+78
-78
@@ -22,101 +22,101 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class ParcelBytecodeListingTestGenerated extends AbstractParcelBytecodeListingTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("customDescribeContents.kt")
|
||||
public void testCustomDescribeContents() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customDescribeContents.kt");
|
||||
}
|
||||
@TestMetadata("customDescribeContents.kt")
|
||||
public void testCustomDescribeContents() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customDescribeContents.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customParcelablesDifferentModule.kt")
|
||||
public void testCustomParcelablesDifferentModule() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customParcelablesDifferentModule.kt");
|
||||
}
|
||||
@TestMetadata("customParcelablesDifferentModule.kt")
|
||||
public void testCustomParcelablesDifferentModule() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customParcelablesDifferentModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customParcelablesSameModule.kt")
|
||||
public void testCustomParcelablesSameModule() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customParcelablesSameModule.kt");
|
||||
}
|
||||
@TestMetadata("customParcelablesSameModule.kt")
|
||||
public void testCustomParcelablesSameModule() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customParcelablesSameModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customSimple.kt");
|
||||
}
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSimpleWithNewArray.kt")
|
||||
public void testCustomSimpleWithNewArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customSimpleWithNewArray.kt");
|
||||
}
|
||||
@TestMetadata("customSimpleWithNewArray.kt")
|
||||
public void testCustomSimpleWithNewArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customSimpleWithNewArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("describeContentsFromSuperType.kt")
|
||||
public void testDescribeContentsFromSuperType() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/describeContentsFromSuperType.kt");
|
||||
}
|
||||
@TestMetadata("describeContentsFromSuperType.kt")
|
||||
public void testDescribeContentsFromSuperType() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/describeContentsFromSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicatingClinit.kt")
|
||||
public void testDuplicatingClinit() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/duplicatingClinit.kt");
|
||||
}
|
||||
@TestMetadata("duplicatingClinit.kt")
|
||||
public void testDuplicatingClinit() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/duplicatingClinit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("efficientParcelable.kt")
|
||||
public void testEfficientParcelable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/efficientParcelable.kt");
|
||||
}
|
||||
@TestMetadata("efficientParcelable.kt")
|
||||
public void testEfficientParcelable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/efficientParcelable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IBinderIInterface.kt")
|
||||
public void testIBinderIInterface() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/IBinderIInterface.kt");
|
||||
}
|
||||
@TestMetadata("IBinderIInterface.kt")
|
||||
public void testIBinderIInterface() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/IBinderIInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/kt25839.kt");
|
||||
}
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/kt25839.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listInsideList.kt")
|
||||
public void testListInsideList() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/listInsideList.kt");
|
||||
}
|
||||
@TestMetadata("listInsideList.kt")
|
||||
public void testListInsideList() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/listInsideList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableNotNullSize.kt")
|
||||
public void testNullableNotNullSize() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/nullableNotNullSize.kt");
|
||||
}
|
||||
@TestMetadata("nullableNotNullSize.kt")
|
||||
public void testNullableNotNullSize() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/nullableNotNullSize.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("parcelable.kt")
|
||||
public void testParcelable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/parcelable.kt");
|
||||
}
|
||||
@TestMetadata("parcelable.kt")
|
||||
public void testParcelable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/parcelable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("serializable.kt")
|
||||
public void testSerializable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/serializable.kt");
|
||||
}
|
||||
@TestMetadata("serializable.kt")
|
||||
public void testSerializable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/serializable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("serializeValue.kt")
|
||||
public void testSerializeValue() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/serializeValue.kt");
|
||||
}
|
||||
@TestMetadata("serializeValue.kt")
|
||||
public void testSerializeValue() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/serializeValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/simple.kt");
|
||||
}
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/simple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleList.kt")
|
||||
public void testSimpleList() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/simpleList.kt");
|
||||
}
|
||||
@TestMetadata("simpleList.kt")
|
||||
public void testSimpleList() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/simpleList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("size.kt")
|
||||
public void testSize() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/size.kt");
|
||||
}
|
||||
@TestMetadata("size.kt")
|
||||
public void testSize() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/size.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+230
-230
@@ -22,291 +22,291 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class ParcelIrBoxTestGenerated extends AbstractParcelIrBoxTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("allPrimitiveTypes.kt")
|
||||
public void testAllPrimitiveTypes() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/allPrimitiveTypes.kt");
|
||||
}
|
||||
@TestMetadata("allPrimitiveTypes.kt")
|
||||
public void testAllPrimitiveTypes() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/allPrimitiveTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arraySimple.kt")
|
||||
public void testArraySimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/arraySimple.kt");
|
||||
}
|
||||
@TestMetadata("arraySimple.kt")
|
||||
public void testArraySimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/arraySimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arrays.kt")
|
||||
public void testArrays() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/arrays.kt");
|
||||
}
|
||||
@TestMetadata("arrays.kt")
|
||||
public void testArrays() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/arrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("binder.kt")
|
||||
public void testBinder() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/binder.kt");
|
||||
}
|
||||
@TestMetadata("binder.kt")
|
||||
public void testBinder() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/binder.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxedTypes.kt")
|
||||
public void testBoxedTypes() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/boxedTypes.kt");
|
||||
}
|
||||
@TestMetadata("boxedTypes.kt")
|
||||
public void testBoxedTypes() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/boxedTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("bundle.kt")
|
||||
public void testBundle() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/bundle.kt");
|
||||
}
|
||||
@TestMetadata("bundle.kt")
|
||||
public void testBundle() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/bundle.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("charSequence.kt")
|
||||
public void testCharSequence() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/charSequence.kt");
|
||||
}
|
||||
@TestMetadata("charSequence.kt")
|
||||
public void testCharSequence() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/charSequence.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customNewArray.kt")
|
||||
public void testCustomNewArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customNewArray.kt");
|
||||
}
|
||||
@TestMetadata("customNewArray.kt")
|
||||
public void testCustomNewArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customNewArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customParcelable.kt")
|
||||
public void testCustomParcelable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customParcelable.kt");
|
||||
}
|
||||
@TestMetadata("customParcelable.kt")
|
||||
public void testCustomParcelable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customParcelable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customParcelerScoping.kt")
|
||||
public void testCustomParcelerScoping() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customParcelerScoping.kt");
|
||||
}
|
||||
@TestMetadata("customParcelerScoping.kt")
|
||||
public void testCustomParcelerScoping() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customParcelerScoping.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSerializerBoxing.kt")
|
||||
public void testCustomSerializerBoxing() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerBoxing.kt");
|
||||
}
|
||||
@TestMetadata("customSerializerBoxing.kt")
|
||||
public void testCustomSerializerBoxing() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerBoxing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSerializerSimple.kt")
|
||||
public void testCustomSerializerSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerSimple.kt");
|
||||
}
|
||||
@TestMetadata("customSerializerSimple.kt")
|
||||
public void testCustomSerializerSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSerializerWriteWith.kt")
|
||||
public void testCustomSerializerWriteWith() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerWriteWith.kt");
|
||||
}
|
||||
@TestMetadata("customSerializerWriteWith.kt")
|
||||
public void testCustomSerializerWriteWith() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSerializerWriteWith.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSimple.kt");
|
||||
}
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/customSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumObject.kt")
|
||||
public void testEnumObject() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/enumObject.kt");
|
||||
}
|
||||
@TestMetadata("enumObject.kt")
|
||||
public void testEnumObject() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/enumObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/enums.kt");
|
||||
}
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/enums.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("exceptions.kt")
|
||||
public void testExceptions() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/exceptions.kt");
|
||||
}
|
||||
@TestMetadata("exceptions.kt")
|
||||
public void testExceptions() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/exceptions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functions.kt")
|
||||
public void testFunctions() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/functions.kt");
|
||||
}
|
||||
@TestMetadata("functions.kt")
|
||||
public void testFunctions() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/functions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intArray.kt")
|
||||
public void testIntArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/intArray.kt");
|
||||
}
|
||||
@TestMetadata("intArray.kt")
|
||||
public void testIntArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/intArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("javaInterop.kt")
|
||||
public void testJavaInterop() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/javaInterop.kt");
|
||||
}
|
||||
@TestMetadata("javaInterop.kt")
|
||||
public void testJavaInterop() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/javaInterop.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt19747.kt")
|
||||
public void testKt19747() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19747.kt");
|
||||
}
|
||||
@TestMetadata("kt19747.kt")
|
||||
public void testKt19747() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19747.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt19747_2.kt")
|
||||
public void testKt19747_2() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19747_2.kt");
|
||||
}
|
||||
@TestMetadata("kt19747_2.kt")
|
||||
public void testKt19747_2() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19747_2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt19749.kt")
|
||||
public void testKt19749() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19749.kt");
|
||||
}
|
||||
@TestMetadata("kt19749.kt")
|
||||
public void testKt19749() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt19749.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt20002.kt")
|
||||
public void testKt20002() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20002.kt");
|
||||
}
|
||||
@TestMetadata("kt20002.kt")
|
||||
public void testKt20002() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20002.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt20021.kt")
|
||||
public void testKt20021() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20021.kt");
|
||||
}
|
||||
@TestMetadata("kt20021.kt")
|
||||
public void testKt20021() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20021.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt20717.kt")
|
||||
public void testKt20717() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20717.kt");
|
||||
}
|
||||
@TestMetadata("kt20717.kt")
|
||||
public void testKt20717() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt20717.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt25839.kt");
|
||||
}
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt25839.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt26221.kt")
|
||||
public void testKt26221() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt26221.kt");
|
||||
}
|
||||
@TestMetadata("kt26221.kt")
|
||||
public void testKt26221() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt26221.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt36658.kt")
|
||||
public void testKt36658() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt36658.kt");
|
||||
}
|
||||
@TestMetadata("kt36658.kt")
|
||||
public void testKt36658() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt36658.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt39981.kt")
|
||||
public void testKt39981() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt39981.kt");
|
||||
}
|
||||
@TestMetadata("kt39981.kt")
|
||||
public void testKt39981() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt39981.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt41553.kt")
|
||||
public void testKt41553() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt41553.kt");
|
||||
}
|
||||
@TestMetadata("kt41553.kt")
|
||||
public void testKt41553() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt41553.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt41553_2.kt")
|
||||
public void testKt41553_2() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt41553_2.kt");
|
||||
}
|
||||
@TestMetadata("kt41553_2.kt")
|
||||
public void testKt41553_2() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt41553_2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt46567.kt")
|
||||
public void testKt46567() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt46567.kt");
|
||||
}
|
||||
@TestMetadata("kt46567.kt")
|
||||
public void testKt46567() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/kt46567.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listKinds.kt")
|
||||
public void testListKinds() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/listKinds.kt");
|
||||
}
|
||||
@TestMetadata("listKinds.kt")
|
||||
public void testListKinds() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/listKinds.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listSimple.kt")
|
||||
public void testListSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/listSimple.kt");
|
||||
}
|
||||
@TestMetadata("listSimple.kt")
|
||||
public void testListSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/listSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lists.kt")
|
||||
public void testLists() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/lists.kt");
|
||||
}
|
||||
@TestMetadata("lists.kt")
|
||||
public void testLists() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/lists.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapKinds.kt")
|
||||
public void testMapKinds() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/mapKinds.kt");
|
||||
}
|
||||
@TestMetadata("mapKinds.kt")
|
||||
public void testMapKinds() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/mapKinds.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mapSimple.kt")
|
||||
public void testMapSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/mapSimple.kt");
|
||||
}
|
||||
@TestMetadata("mapSimple.kt")
|
||||
public void testMapSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/mapSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("maps.kt")
|
||||
public void testMaps() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/maps.kt");
|
||||
}
|
||||
@TestMetadata("maps.kt")
|
||||
public void testMaps() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/maps.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedArrays.kt")
|
||||
public void testNestedArrays() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedArrays.kt");
|
||||
}
|
||||
@TestMetadata("nestedArrays.kt")
|
||||
public void testNestedArrays() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedArrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedLists.kt")
|
||||
public void testNestedLists() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedLists.kt");
|
||||
}
|
||||
@TestMetadata("nestedLists.kt")
|
||||
public void testNestedLists() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedLists.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedMaps.kt")
|
||||
public void testNestedMaps() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedMaps.kt");
|
||||
}
|
||||
@TestMetadata("nestedMaps.kt")
|
||||
public void testNestedMaps() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedMaps.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedParcelable.kt")
|
||||
public void testNestedParcelable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedParcelable.kt");
|
||||
}
|
||||
@TestMetadata("nestedParcelable.kt")
|
||||
public void testNestedParcelable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedParcelable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedSparseArrays.kt")
|
||||
public void testNestedSparseArrays() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedSparseArrays.kt");
|
||||
}
|
||||
@TestMetadata("nestedSparseArrays.kt")
|
||||
public void testNestedSparseArrays() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nestedSparseArrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("newArray.kt")
|
||||
public void testNewArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/newArray.kt");
|
||||
}
|
||||
@TestMetadata("newArray.kt")
|
||||
public void testNewArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/newArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("newArrayParceler.kt")
|
||||
public void testNewArrayParceler() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/newArrayParceler.kt");
|
||||
}
|
||||
@TestMetadata("newArrayParceler.kt")
|
||||
public void testNewArrayParceler() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/newArrayParceler.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableTypes.kt")
|
||||
public void testNullableTypes() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nullableTypes.kt");
|
||||
}
|
||||
@TestMetadata("nullableTypes.kt")
|
||||
public void testNullableTypes() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nullableTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableTypesSimple.kt")
|
||||
public void testNullableTypesSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nullableTypesSimple.kt");
|
||||
}
|
||||
@TestMetadata("nullableTypesSimple.kt")
|
||||
public void testNullableTypesSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/nullableTypesSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objects.kt")
|
||||
public void testObjects() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/objects.kt");
|
||||
}
|
||||
@TestMetadata("objects.kt")
|
||||
public void testObjects() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/objects.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("openParcelize.kt")
|
||||
public void testOpenParcelize() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/openParcelize.kt");
|
||||
}
|
||||
@TestMetadata("openParcelize.kt")
|
||||
public void testOpenParcelize() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/openParcelize.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("persistableBundle.kt")
|
||||
public void testPersistableBundle() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/persistableBundle.kt");
|
||||
}
|
||||
@TestMetadata("persistableBundle.kt")
|
||||
public void testPersistableBundle() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/persistableBundle.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitiveTypes.kt")
|
||||
public void testPrimitiveTypes() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/primitiveTypes.kt");
|
||||
}
|
||||
@TestMetadata("primitiveTypes.kt")
|
||||
public void testPrimitiveTypes() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/primitiveTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sealedClass.kt")
|
||||
public void testSealedClass() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sealedClass.kt");
|
||||
}
|
||||
@TestMetadata("sealedClass.kt")
|
||||
public void testSealedClass() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sealedClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/simple.kt");
|
||||
}
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/simple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sparseArrays.kt")
|
||||
public void testSparseArrays() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sparseArrays.kt");
|
||||
}
|
||||
@TestMetadata("sparseArrays.kt")
|
||||
public void testSparseArrays() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sparseArrays.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sparseBooleanArray.kt")
|
||||
public void testSparseBooleanArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sparseBooleanArray.kt");
|
||||
}
|
||||
@TestMetadata("sparseBooleanArray.kt")
|
||||
public void testSparseBooleanArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/box/sparseBooleanArray.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+78
-78
@@ -22,101 +22,101 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class ParcelIrBytecodeListingTestGenerated extends AbstractParcelIrBytecodeListingTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("customDescribeContents.kt")
|
||||
public void testCustomDescribeContents() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customDescribeContents.kt");
|
||||
}
|
||||
@TestMetadata("customDescribeContents.kt")
|
||||
public void testCustomDescribeContents() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customDescribeContents.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customParcelablesDifferentModule.kt")
|
||||
public void testCustomParcelablesDifferentModule() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customParcelablesDifferentModule.kt");
|
||||
}
|
||||
@TestMetadata("customParcelablesDifferentModule.kt")
|
||||
public void testCustomParcelablesDifferentModule() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customParcelablesDifferentModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customParcelablesSameModule.kt")
|
||||
public void testCustomParcelablesSameModule() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customParcelablesSameModule.kt");
|
||||
}
|
||||
@TestMetadata("customParcelablesSameModule.kt")
|
||||
public void testCustomParcelablesSameModule() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customParcelablesSameModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customSimple.kt");
|
||||
}
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customSimple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("customSimpleWithNewArray.kt")
|
||||
public void testCustomSimpleWithNewArray() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customSimpleWithNewArray.kt");
|
||||
}
|
||||
@TestMetadata("customSimpleWithNewArray.kt")
|
||||
public void testCustomSimpleWithNewArray() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/customSimpleWithNewArray.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("describeContentsFromSuperType.kt")
|
||||
public void testDescribeContentsFromSuperType() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/describeContentsFromSuperType.kt");
|
||||
}
|
||||
@TestMetadata("describeContentsFromSuperType.kt")
|
||||
public void testDescribeContentsFromSuperType() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/describeContentsFromSuperType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicatingClinit.kt")
|
||||
public void testDuplicatingClinit() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/duplicatingClinit.kt");
|
||||
}
|
||||
@TestMetadata("duplicatingClinit.kt")
|
||||
public void testDuplicatingClinit() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/duplicatingClinit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("efficientParcelable.kt")
|
||||
public void testEfficientParcelable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/efficientParcelable.kt");
|
||||
}
|
||||
@TestMetadata("efficientParcelable.kt")
|
||||
public void testEfficientParcelable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/efficientParcelable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IBinderIInterface.kt")
|
||||
public void testIBinderIInterface() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/IBinderIInterface.kt");
|
||||
}
|
||||
@TestMetadata("IBinderIInterface.kt")
|
||||
public void testIBinderIInterface() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/IBinderIInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/kt25839.kt");
|
||||
}
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/kt25839.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("listInsideList.kt")
|
||||
public void testListInsideList() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/listInsideList.kt");
|
||||
}
|
||||
@TestMetadata("listInsideList.kt")
|
||||
public void testListInsideList() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/listInsideList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nullableNotNullSize.kt")
|
||||
public void testNullableNotNullSize() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/nullableNotNullSize.kt");
|
||||
}
|
||||
@TestMetadata("nullableNotNullSize.kt")
|
||||
public void testNullableNotNullSize() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/nullableNotNullSize.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("parcelable.kt")
|
||||
public void testParcelable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/parcelable.kt");
|
||||
}
|
||||
@TestMetadata("parcelable.kt")
|
||||
public void testParcelable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/parcelable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("serializable.kt")
|
||||
public void testSerializable() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/serializable.kt");
|
||||
}
|
||||
@TestMetadata("serializable.kt")
|
||||
public void testSerializable() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/serializable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("serializeValue.kt")
|
||||
public void testSerializeValue() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/serializeValue.kt");
|
||||
}
|
||||
@TestMetadata("serializeValue.kt")
|
||||
public void testSerializeValue() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/serializeValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/simple.kt");
|
||||
}
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/simple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleList.kt")
|
||||
public void testSimpleList() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/simpleList.kt");
|
||||
}
|
||||
@TestMetadata("simpleList.kt")
|
||||
public void testSimpleList() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/simpleList.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("size.kt")
|
||||
public void testSize() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/size.kt");
|
||||
}
|
||||
@TestMetadata("size.kt")
|
||||
public void testSize() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/parcel/codegen/size.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+122
-122
@@ -19,129 +19,129 @@ import java.util.regex.Pattern;
|
||||
@SuppressWarnings("all")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class AndroidBoxTestGenerated extends AbstractAndroidBoxTest {
|
||||
@TestMetadata("plugins/android-extensions/android-extensions-compiler/testData/codegen/android")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Android extends AbstractAndroidBoxTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doCompileAgainstAndroidSdkTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInAndroid() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/android"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntity")
|
||||
public void testAndroidEntity() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntity/");
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntityInnerClass")
|
||||
public void testAndroidEntityInnerClass() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntityInnerClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragment")
|
||||
public void testFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentNoGetView")
|
||||
public void testFragmentNoGetView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragmentNoGetView/");
|
||||
}
|
||||
|
||||
@TestMetadata("manyWidgets")
|
||||
public void testManyWidgets() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/manyWidgets/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("view")
|
||||
public void testView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/");
|
||||
}
|
||||
@TestMetadata("plugins/android-extensions/android-extensions-compiler/testData/codegen/android")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Android extends AbstractAndroidBoxTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doCompileAgainstAndroidSdkTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("plugins/android-extensions/android-extensions-compiler/testData/codegen/android")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Invoke extends AbstractAndroidBoxTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doFakeInvocationTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInvoke() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/android"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntity")
|
||||
public void testAndroidEntity() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntity/");
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntityInnerClass")
|
||||
public void testAndroidEntityInnerClass() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntityInnerClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragment")
|
||||
public void testFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentNoGetView")
|
||||
public void testFragmentNoGetView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragmentNoGetView/");
|
||||
}
|
||||
|
||||
@TestMetadata("manyWidgets")
|
||||
public void testManyWidgets() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/manyWidgets/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("view")
|
||||
public void testView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/");
|
||||
}
|
||||
public void testAllFilesPresentInAndroid() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/android"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntity")
|
||||
public void testAndroidEntity() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntity/");
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntityInnerClass")
|
||||
public void testAndroidEntityInnerClass() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntityInnerClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragment")
|
||||
public void testFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentNoGetView")
|
||||
public void testFragmentNoGetView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragmentNoGetView/");
|
||||
}
|
||||
|
||||
@TestMetadata("manyWidgets")
|
||||
public void testManyWidgets() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/manyWidgets/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("view")
|
||||
public void testView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("plugins/android-extensions/android-extensions-compiler/testData/codegen/android")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Invoke extends AbstractAndroidBoxTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doFakeInvocationTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInvoke() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/android"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntity")
|
||||
public void testAndroidEntity() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntity/");
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntityInnerClass")
|
||||
public void testAndroidEntityInnerClass() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntityInnerClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragment")
|
||||
public void testFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentNoGetView")
|
||||
public void testFragmentNoGetView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragmentNoGetView/");
|
||||
}
|
||||
|
||||
@TestMetadata("manyWidgets")
|
||||
public void testManyWidgets() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/manyWidgets/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("view")
|
||||
public void testView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+138
-138
@@ -21,176 +21,176 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class AndroidBytecodeShapeTestGenerated extends AbstractAndroidBytecodeShapeTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("activityWithEntityOptionsNoCache")
|
||||
public void testActivityWithEntityOptionsNoCache() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/activityWithEntityOptionsNoCache/");
|
||||
}
|
||||
@TestMetadata("activityWithEntityOptionsNoCache")
|
||||
public void testActivityWithEntityOptionsNoCache() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/activityWithEntityOptionsNoCache/");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBytecodeShape() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
public void testAllFilesPresentInBytecodeShape() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("baseClass")
|
||||
public void testBaseClass() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/baseClass/");
|
||||
}
|
||||
@TestMetadata("baseClass")
|
||||
public void testBaseClass() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/baseClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("baseClassFragment")
|
||||
public void testBaseClassFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/baseClassFragment/");
|
||||
}
|
||||
@TestMetadata("baseClassFragment")
|
||||
public void testBaseClassFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/baseClassFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("clearCache")
|
||||
public void testClearCache() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/clearCache/");
|
||||
}
|
||||
@TestMetadata("clearCache")
|
||||
public void testClearCache() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/clearCache/");
|
||||
}
|
||||
|
||||
@TestMetadata("clearCacheBaseClass")
|
||||
public void testClearCacheBaseClass() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/clearCacheBaseClass/");
|
||||
}
|
||||
@TestMetadata("clearCacheBaseClass")
|
||||
public void testClearCacheBaseClass() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/clearCacheBaseClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("dialog")
|
||||
public void testDialog() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/dialog/");
|
||||
}
|
||||
@TestMetadata("dialog")
|
||||
public void testDialog() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/dialog/");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionFunctions")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/extensionFunctions/");
|
||||
}
|
||||
@TestMetadata("extensionFunctions")
|
||||
public void testExtensionFunctions() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/extensionFunctions/");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionFunctionsFragment")
|
||||
public void testExtensionFunctionsFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/extensionFunctionsFragment/");
|
||||
}
|
||||
@TestMetadata("extensionFunctionsFragment")
|
||||
public void testExtensionFunctionsFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/extensionFunctionsFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionFunctionsView")
|
||||
public void testExtensionFunctionsView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/extensionFunctionsView/");
|
||||
}
|
||||
@TestMetadata("extensionFunctionsView")
|
||||
public void testExtensionFunctionsView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/extensionFunctionsView/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fqNameInAttr/");
|
||||
}
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttrFragment")
|
||||
public void testFqNameInAttrFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fqNameInAttrFragment/");
|
||||
}
|
||||
@TestMetadata("fqNameInAttrFragment")
|
||||
public void testFqNameInAttrFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fqNameInAttrFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fqNameInTag/");
|
||||
}
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTagFragment")
|
||||
public void testFqNameInTagFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fqNameInTagFragment/");
|
||||
}
|
||||
@TestMetadata("fqNameInTagFragment")
|
||||
public void testFqNameInTagFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fqNameInTagFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentWithEntityOptionsNoCache")
|
||||
public void testFragmentWithEntityOptionsNoCache() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fragmentWithEntityOptionsNoCache/");
|
||||
}
|
||||
@TestMetadata("fragmentWithEntityOptionsNoCache")
|
||||
public void testFragmentWithEntityOptionsNoCache() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/fragmentWithEntityOptionsNoCache/");
|
||||
}
|
||||
|
||||
@TestMetadata("kt18545")
|
||||
public void testKt18545() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/kt18545/");
|
||||
}
|
||||
@TestMetadata("kt18545")
|
||||
public void testKt18545() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/kt18545/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/multiFile/");
|
||||
}
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFileFragment")
|
||||
public void testMultiFileFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/multiFileFragment/");
|
||||
}
|
||||
@TestMetadata("multiFileFragment")
|
||||
public void testMultiFileFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/multiFileFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("onDestroyFragment")
|
||||
public void testOnDestroyFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/onDestroyFragment/");
|
||||
}
|
||||
@TestMetadata("onDestroyFragment")
|
||||
public void testOnDestroyFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/onDestroyFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simple/");
|
||||
}
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simple/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleFragment")
|
||||
public void testSimpleFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simpleFragment/");
|
||||
}
|
||||
@TestMetadata("simpleFragment")
|
||||
public void testSimpleFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simpleFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleFragmentProperty")
|
||||
public void testSimpleFragmentProperty() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simpleFragmentProperty/");
|
||||
}
|
||||
@TestMetadata("simpleFragmentProperty")
|
||||
public void testSimpleFragmentProperty() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simpleFragmentProperty/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleHashMapCacheImplementation")
|
||||
public void testSimpleHashMapCacheImplementation() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simpleHashMapCacheImplementation/");
|
||||
}
|
||||
@TestMetadata("simpleHashMapCacheImplementation")
|
||||
public void testSimpleHashMapCacheImplementation() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simpleHashMapCacheImplementation/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleView")
|
||||
public void testSimpleView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simpleView/");
|
||||
}
|
||||
@TestMetadata("simpleView")
|
||||
public void testSimpleView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/simpleView/");
|
||||
}
|
||||
|
||||
@TestMetadata("supportExtensionFunctionsFragment")
|
||||
public void testSupportExtensionFunctionsFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportExtensionFunctionsFragment/");
|
||||
}
|
||||
@TestMetadata("supportExtensionFunctionsFragment")
|
||||
public void testSupportExtensionFunctionsFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportExtensionFunctionsFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("supportExtensionFunctionsFragmentAndroidx")
|
||||
public void testSupportExtensionFunctionsFragmentAndroidx() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportExtensionFunctionsFragmentAndroidx/");
|
||||
}
|
||||
@TestMetadata("supportExtensionFunctionsFragmentAndroidx")
|
||||
public void testSupportExtensionFunctionsFragmentAndroidx() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportExtensionFunctionsFragmentAndroidx/");
|
||||
}
|
||||
|
||||
@TestMetadata("supportSimpleFragment")
|
||||
public void testSupportSimpleFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportSimpleFragment/");
|
||||
}
|
||||
@TestMetadata("supportSimpleFragment")
|
||||
public void testSupportSimpleFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportSimpleFragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("supportSimpleFragmentAndroidx")
|
||||
public void testSupportSimpleFragmentAndroidx() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportSimpleFragmentAndroidx/");
|
||||
}
|
||||
@TestMetadata("supportSimpleFragmentAndroidx")
|
||||
public void testSupportSimpleFragmentAndroidx() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportSimpleFragmentAndroidx/");
|
||||
}
|
||||
|
||||
@TestMetadata("supportSimpleFragmentProperty")
|
||||
public void testSupportSimpleFragmentProperty() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportSimpleFragmentProperty/");
|
||||
}
|
||||
@TestMetadata("supportSimpleFragmentProperty")
|
||||
public void testSupportSimpleFragmentProperty() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportSimpleFragmentProperty/");
|
||||
}
|
||||
|
||||
@TestMetadata("supportSimpleFragmentPropertyAndroidx")
|
||||
public void testSupportSimpleFragmentPropertyAndroidx() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportSimpleFragmentPropertyAndroidx/");
|
||||
}
|
||||
@TestMetadata("supportSimpleFragmentPropertyAndroidx")
|
||||
public void testSupportSimpleFragmentPropertyAndroidx() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/supportSimpleFragmentPropertyAndroidx/");
|
||||
}
|
||||
|
||||
@TestMetadata("viewStub")
|
||||
public void testViewStub() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/viewStub/");
|
||||
}
|
||||
@TestMetadata("viewStub")
|
||||
public void testViewStub() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/viewStub/");
|
||||
}
|
||||
|
||||
@TestMetadata("viewWithCache")
|
||||
public void testViewWithCache() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/viewWithCache/");
|
||||
}
|
||||
@TestMetadata("viewWithCache")
|
||||
public void testViewWithCache() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/viewWithCache/");
|
||||
}
|
||||
|
||||
@TestMetadata("viewWithDefaultNoCache")
|
||||
public void testViewWithDefaultNoCache() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/viewWithDefaultNoCache/");
|
||||
}
|
||||
@TestMetadata("viewWithDefaultNoCache")
|
||||
public void testViewWithDefaultNoCache() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/viewWithDefaultNoCache/");
|
||||
}
|
||||
|
||||
@TestMetadata("viewWithEntityOptionsNoCache")
|
||||
public void testViewWithEntityOptionsNoCache() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/viewWithEntityOptionsNoCache/");
|
||||
}
|
||||
@TestMetadata("viewWithEntityOptionsNoCache")
|
||||
public void testViewWithEntityOptionsNoCache() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/bytecodeShape/viewWithEntityOptionsNoCache/");
|
||||
}
|
||||
}
|
||||
|
||||
+122
-122
@@ -20,129 +20,129 @@ import java.util.regex.Pattern;
|
||||
@SuppressWarnings("all")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class AndroidIrBoxTestGenerated extends AbstractAndroidIrBoxTest {
|
||||
@TestMetadata("plugins/android-extensions/android-extensions-compiler/testData/codegen/android")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Android extends AbstractAndroidIrBoxTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doCompileAgainstAndroidSdkTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInAndroid() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/android"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntity")
|
||||
public void testAndroidEntity() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntity/");
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntityInnerClass")
|
||||
public void testAndroidEntityInnerClass() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntityInnerClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragment")
|
||||
public void testFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentNoGetView")
|
||||
public void testFragmentNoGetView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragmentNoGetView/");
|
||||
}
|
||||
|
||||
@TestMetadata("manyWidgets")
|
||||
public void testManyWidgets() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/manyWidgets/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("view")
|
||||
public void testView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/");
|
||||
}
|
||||
@TestMetadata("plugins/android-extensions/android-extensions-compiler/testData/codegen/android")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Android extends AbstractAndroidIrBoxTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doCompileAgainstAndroidSdkTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("plugins/android-extensions/android-extensions-compiler/testData/codegen/android")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Invoke extends AbstractAndroidIrBoxTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doFakeInvocationTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInvoke() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/android"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntity")
|
||||
public void testAndroidEntity() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntity/");
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntityInnerClass")
|
||||
public void testAndroidEntityInnerClass() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntityInnerClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragment")
|
||||
public void testFragment() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentNoGetView")
|
||||
public void testFragmentNoGetView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragmentNoGetView/");
|
||||
}
|
||||
|
||||
@TestMetadata("manyWidgets")
|
||||
public void testManyWidgets() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/manyWidgets/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("view")
|
||||
public void testView() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/");
|
||||
}
|
||||
public void testAllFilesPresentInAndroid() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/android"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntity")
|
||||
public void testAndroidEntity() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntity/");
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntityInnerClass")
|
||||
public void testAndroidEntityInnerClass() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntityInnerClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragment")
|
||||
public void testFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentNoGetView")
|
||||
public void testFragmentNoGetView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragmentNoGetView/");
|
||||
}
|
||||
|
||||
@TestMetadata("manyWidgets")
|
||||
public void testManyWidgets() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/manyWidgets/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("view")
|
||||
public void testView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("plugins/android-extensions/android-extensions-compiler/testData/codegen/android")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Invoke extends AbstractAndroidIrBoxTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doFakeInvocationTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInvoke() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/codegen/android"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntity")
|
||||
public void testAndroidEntity() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntity/");
|
||||
}
|
||||
|
||||
@TestMetadata("androidEntityInnerClass")
|
||||
public void testAndroidEntityInnerClass() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/androidEntityInnerClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragment")
|
||||
public void testFragment() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragment/");
|
||||
}
|
||||
|
||||
@TestMetadata("fragmentNoGetView")
|
||||
public void testFragmentNoGetView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/fragmentNoGetView/");
|
||||
}
|
||||
|
||||
@TestMetadata("manyWidgets")
|
||||
public void testManyWidgets() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/manyWidgets/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("view")
|
||||
public void testView() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/codegen/android/view/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+70
-70
@@ -21,91 +21,91 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class AndroidSyntheticPropertyDescriptorTestGenerated extends AbstractAndroidSyntheticPropertyDescriptorTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDescriptors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/descriptors"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
public void testAllFilesPresentInDescriptors() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/android-extensions/android-extensions-compiler/testData/descriptors"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("escapedLayoutName")
|
||||
public void testEscapedLayoutName() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/escapedLayoutName/");
|
||||
}
|
||||
@TestMetadata("escapedLayoutName")
|
||||
public void testEscapedLayoutName() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/escapedLayoutName/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/fqNameInAttr/");
|
||||
}
|
||||
@TestMetadata("fqNameInAttr")
|
||||
public void testFqNameInAttr() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/fqNameInAttr/");
|
||||
}
|
||||
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/fqNameInTag/");
|
||||
}
|
||||
@TestMetadata("fqNameInTag")
|
||||
public void testFqNameInTag() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/fqNameInTag/");
|
||||
}
|
||||
|
||||
@TestMetadata("layoutVariants")
|
||||
public void testLayoutVariants() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/layoutVariants/");
|
||||
}
|
||||
@TestMetadata("layoutVariants")
|
||||
public void testLayoutVariants() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/layoutVariants/");
|
||||
}
|
||||
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/multiFile/");
|
||||
}
|
||||
@TestMetadata("multiFile")
|
||||
public void testMultiFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/multiFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("noIds")
|
||||
public void testNoIds() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/noIds/");
|
||||
}
|
||||
@TestMetadata("noIds")
|
||||
public void testNoIds() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/noIds/");
|
||||
}
|
||||
|
||||
@TestMetadata("nonLatinNames")
|
||||
public void testNonLatinNames() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/nonLatinNames/");
|
||||
}
|
||||
@TestMetadata("nonLatinNames")
|
||||
public void testNonLatinNames() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/nonLatinNames/");
|
||||
}
|
||||
|
||||
@TestMetadata("sameIds")
|
||||
public void testSameIds() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/sameIds/");
|
||||
}
|
||||
@TestMetadata("sameIds")
|
||||
public void testSameIds() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/sameIds/");
|
||||
}
|
||||
|
||||
@TestMetadata("severalResDirs")
|
||||
public void testSeveralResDirs() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/severalResDirs/");
|
||||
}
|
||||
@TestMetadata("severalResDirs")
|
||||
public void testSeveralResDirs() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/severalResDirs/");
|
||||
}
|
||||
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/singleFile/");
|
||||
}
|
||||
@TestMetadata("singleFile")
|
||||
public void testSingleFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/singleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("specialTags")
|
||||
public void testSpecialTags() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/specialTags/");
|
||||
}
|
||||
@TestMetadata("specialTags")
|
||||
public void testSpecialTags() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/specialTags/");
|
||||
}
|
||||
|
||||
@TestMetadata("supportSingleFile")
|
||||
public void testSupportSingleFile() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/supportSingleFile/");
|
||||
}
|
||||
@TestMetadata("supportSingleFile")
|
||||
public void testSupportSingleFile() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/supportSingleFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("supportSpecialTags")
|
||||
public void testSupportSpecialTags() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/supportSpecialTags/");
|
||||
}
|
||||
@TestMetadata("supportSpecialTags")
|
||||
public void testSupportSpecialTags() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/supportSpecialTags/");
|
||||
}
|
||||
|
||||
@TestMetadata("unresolvedFqName")
|
||||
public void testUnresolvedFqName() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/unresolvedFqName/");
|
||||
}
|
||||
@TestMetadata("unresolvedFqName")
|
||||
public void testUnresolvedFqName() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/unresolvedFqName/");
|
||||
}
|
||||
|
||||
@TestMetadata("unresolvedWidget")
|
||||
public void testUnresolvedWidget() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/unresolvedWidget/");
|
||||
}
|
||||
@TestMetadata("unresolvedWidget")
|
||||
public void testUnresolvedWidget() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/unresolvedWidget/");
|
||||
}
|
||||
|
||||
@TestMetadata("viewStub")
|
||||
public void testViewStub() throws Exception {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/viewStub/");
|
||||
}
|
||||
@TestMetadata("viewStub")
|
||||
public void testViewStub() {
|
||||
runTest("plugins/android-extensions/android-extensions-compiler/testData/descriptors/viewStub/");
|
||||
}
|
||||
}
|
||||
|
||||
+34
-34
@@ -19,44 +19,44 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/assign-plugin/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class AssignmentPluginDiagnosticTestGenerated extends AbstractAssignmentPluginDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/assign-plugin/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/assign-plugin/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectUsage.kt")
|
||||
public void testIncorrectUsage() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/incorrectUsage.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("incorrectUsage.kt")
|
||||
public void testIncorrectUsage() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/incorrectUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localVariables.kt")
|
||||
public void testLocalVariables() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/localVariables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localVariables.kt")
|
||||
public void testLocalVariables() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/localVariables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodDeclaration.kt")
|
||||
public void testMethodDeclaration() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/methodDeclaration.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodDeclaration.kt")
|
||||
public void testMethodDeclaration() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/methodDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noAnnotation.kt")
|
||||
public void testNoAnnotation() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/noAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noAnnotation.kt")
|
||||
public void testNoAnnotation() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/noAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("otherOperators.kt")
|
||||
public void testOtherOperators() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/otherOperators.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("otherOperators.kt")
|
||||
public void testOtherOperators() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/otherOperators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("plusAssignPrecedence.kt")
|
||||
public void testPlusAssignPrecedence() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/plusAssignPrecedence.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("plusAssignPrecedence.kt")
|
||||
public void testPlusAssignPrecedence() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/plusAssignPrecedence.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+39
-39
@@ -20,50 +20,50 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/assign-plugin/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeBlackBoxCodegenTestForAssignmentPluginGenerated extends AbstractFirLightTreeBlackBoxCodegenTestForAssignmentPlugin {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/assign-plugin/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/assign-plugin/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/annotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/annotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("otherOperators.kt")
|
||||
public void testOtherOperators() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/otherOperators.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("otherOperators.kt")
|
||||
public void testOtherOperators() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/otherOperators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("plusAssignPrecedence.kt")
|
||||
public void testPlusAssignPrecedence() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/plusAssignPrecedence.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("plusAssignPrecedence.kt")
|
||||
public void testPlusAssignPrecedence() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/plusAssignPrecedence.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedAnnotation.kt")
|
||||
public void testQualifiedAnnotation() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/qualifiedAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("qualifiedAnnotation.kt")
|
||||
public void testQualifiedAnnotation() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/qualifiedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("supportedUsage.kt")
|
||||
public void testSupportedUsage() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/supportedUsage.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("supportedUsage.kt")
|
||||
public void testSupportedUsage() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/supportedUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/typealias.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/typealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varBehaviour.kt")
|
||||
public void testVarBehaviour() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/varBehaviour.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("varBehaviour.kt")
|
||||
public void testVarBehaviour() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/varBehaviour.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+34
-34
@@ -19,44 +19,44 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/assign-plugin/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiAssignmentPluginDiagnosticTestGenerated extends AbstractFirPsiAssignmentPluginDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/assign-plugin/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/assign-plugin/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectUsage.kt")
|
||||
public void testIncorrectUsage() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/incorrectUsage.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("incorrectUsage.kt")
|
||||
public void testIncorrectUsage() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/incorrectUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localVariables.kt")
|
||||
public void testLocalVariables() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/localVariables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localVariables.kt")
|
||||
public void testLocalVariables() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/localVariables.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("methodDeclaration.kt")
|
||||
public void testMethodDeclaration() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/methodDeclaration.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("methodDeclaration.kt")
|
||||
public void testMethodDeclaration() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/methodDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noAnnotation.kt")
|
||||
public void testNoAnnotation() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/noAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noAnnotation.kt")
|
||||
public void testNoAnnotation() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/noAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("otherOperators.kt")
|
||||
public void testOtherOperators() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/otherOperators.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("otherOperators.kt")
|
||||
public void testOtherOperators() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/otherOperators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("plusAssignPrecedence.kt")
|
||||
public void testPlusAssignPrecedence() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/plusAssignPrecedence.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("plusAssignPrecedence.kt")
|
||||
public void testPlusAssignPrecedence() {
|
||||
runTest("plugins/assign-plugin/testData/diagnostics/plusAssignPrecedence.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+39
-39
@@ -20,50 +20,50 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/assign-plugin/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrBlackBoxCodegenTestAssignmentPluginGenerated extends AbstractIrBlackBoxCodegenTestAssignmentPlugin {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/assign-plugin/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/assign-plugin/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/annotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/annotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("otherOperators.kt")
|
||||
public void testOtherOperators() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/otherOperators.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("otherOperators.kt")
|
||||
public void testOtherOperators() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/otherOperators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("plusAssignPrecedence.kt")
|
||||
public void testPlusAssignPrecedence() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/plusAssignPrecedence.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("plusAssignPrecedence.kt")
|
||||
public void testPlusAssignPrecedence() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/plusAssignPrecedence.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("qualifiedAnnotation.kt")
|
||||
public void testQualifiedAnnotation() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/qualifiedAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("qualifiedAnnotation.kt")
|
||||
public void testQualifiedAnnotation() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/qualifiedAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("supportedUsage.kt")
|
||||
public void testSupportedUsage() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/supportedUsage.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("supportedUsage.kt")
|
||||
public void testSupportedUsage() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/supportedUsage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/typealias.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typealias.kt")
|
||||
public void testTypealias() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/typealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varBehaviour.kt")
|
||||
public void testVarBehaviour() throws Exception {
|
||||
runTest("plugins/assign-plugin/testData/codegen/varBehaviour.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("varBehaviour.kt")
|
||||
public void testVarBehaviour() {
|
||||
runTest("plugins/assign-plugin/testData/codegen/varBehaviour.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+236
-236
@@ -23,254 +23,254 @@ import java.util.regex.Pattern;
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class AtomicfuNativeTestGenerated extends AbstractNativeBlackBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInNativeBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Atomic_extensions {
|
||||
@Test
|
||||
public void testAllFilesPresentInNativeBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInAtomic_extensions() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Atomic_extensions {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomic_extensions() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArrayInlineExtensionTest.kt")
|
||||
public void testArrayInlineExtensionTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ArrayInlineExtensionTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArrayLoopTest.kt")
|
||||
public void testArrayLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ArrayLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexLoopTest.kt")
|
||||
public void testComplexLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ComplexLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionLoopTest.kt")
|
||||
public void testExtensionLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ExtensionLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionsTest.kt")
|
||||
public void testExtensionsTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ExtensionsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InlineExtensionWithTypeParameterTest.kt")
|
||||
public void testInlineExtensionWithTypeParameterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/InlineExtensionWithTypeParameterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaTest.kt")
|
||||
public void testLambdaTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/LambdaTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeIntBitsTest.kt")
|
||||
public void testLockFreeIntBitsTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/LockFreeIntBitsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockTest.kt")
|
||||
public void testLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/LockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParameterizedInlineFunExtensionTest.kt")
|
||||
public void testParameterizedInlineFunExtensionTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ParameterizedInlineFunExtensionTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ArrayInlineExtensionTest.kt")
|
||||
public void testArrayInlineExtensionTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ArrayInlineExtensionTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Atomics_basic {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomics_basic() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArithmeticTest.kt")
|
||||
public void testArithmeticTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/ArithmeticTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AtomicArrayTest.kt")
|
||||
public void testAtomicArrayTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/AtomicArrayTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IndexArrayElementGetterTest.kt")
|
||||
public void testIndexArrayElementGetterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/IndexArrayElementGetterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InitializationOrderTest.kt")
|
||||
public void testInitializationOrderTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/InitializationOrderTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LateinitPropertiesTest.kt")
|
||||
public void testLateinitPropertiesTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LateinitPropertiesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeLongCounterTest.kt")
|
||||
public void testLockFreeLongCounterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LockFreeLongCounterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeQueueTest.kt")
|
||||
public void testLockFreeQueueTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LockFreeQueueTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeStackTest.kt")
|
||||
public void testLockFreeStackTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LockFreeStackTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LoopTest.kt")
|
||||
public void testLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MultiInitTest.kt")
|
||||
public void testMultiInitTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/MultiInitTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ScopeTest.kt")
|
||||
public void testScopeTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/ScopeTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SimpleLockTest.kt")
|
||||
public void testSimpleLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/SimpleLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UncheckedCastTest.kt")
|
||||
public void testUncheckedCastTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/UncheckedCastTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ArrayLoopTest.kt")
|
||||
public void testArrayLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ArrayLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/delegated")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Delegated {
|
||||
@Test
|
||||
public void testAllFilesPresentInDelegated() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/delegated"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DelegatedPropertiesTest.kt")
|
||||
public void testDelegatedPropertiesTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/delegated/DelegatedPropertiesTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ComplexLoopTest.kt")
|
||||
public void testComplexLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ComplexLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/locks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Locks {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocks() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/locks"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReentrantLockTest.kt")
|
||||
public void testReentrantLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/locks/ReentrantLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SynchronizedObjectTest.kt")
|
||||
public void testSynchronizedObjectTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/locks/SynchronizedObjectTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ExtensionLoopTest.kt")
|
||||
public void testExtensionLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ExtensionLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/top-level")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Top_level {
|
||||
@Test
|
||||
public void testAllFilesPresentInTop_level() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/top-level"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FieldInObjectTest.kt")
|
||||
public void testFieldInObjectTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/top-level/FieldInObjectTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelTest.kt")
|
||||
public void testTopLevelTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/top-level/TopLevelTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ExtensionsTest.kt")
|
||||
public void testExtensionsTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ExtensionsTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/trace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Trace {
|
||||
@Test
|
||||
public void testAllFilesPresentInTrace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/trace"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TraceTest.kt")
|
||||
public void testTraceTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/trace/TraceTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("InlineExtensionWithTypeParameterTest.kt")
|
||||
public void testInlineExtensionWithTypeParameterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/InlineExtensionWithTypeParameterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaTest.kt")
|
||||
public void testLambdaTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/LambdaTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeIntBitsTest.kt")
|
||||
public void testLockFreeIntBitsTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/LockFreeIntBitsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockTest.kt")
|
||||
public void testLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/LockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParameterizedInlineFunExtensionTest.kt")
|
||||
public void testParameterizedInlineFunExtensionTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomic_extensions/ParameterizedInlineFunExtensionTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Atomics_basic {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomics_basic() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArithmeticTest.kt")
|
||||
public void testArithmeticTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/ArithmeticTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AtomicArrayTest.kt")
|
||||
public void testAtomicArrayTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/AtomicArrayTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IndexArrayElementGetterTest.kt")
|
||||
public void testIndexArrayElementGetterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/IndexArrayElementGetterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InitializationOrderTest.kt")
|
||||
public void testInitializationOrderTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/InitializationOrderTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LateinitPropertiesTest.kt")
|
||||
public void testLateinitPropertiesTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LateinitPropertiesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeLongCounterTest.kt")
|
||||
public void testLockFreeLongCounterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LockFreeLongCounterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeQueueTest.kt")
|
||||
public void testLockFreeQueueTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LockFreeQueueTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeStackTest.kt")
|
||||
public void testLockFreeStackTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LockFreeStackTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LoopTest.kt")
|
||||
public void testLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/LoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MultiInitTest.kt")
|
||||
public void testMultiInitTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/MultiInitTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ScopeTest.kt")
|
||||
public void testScopeTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/ScopeTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SimpleLockTest.kt")
|
||||
public void testSimpleLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/SimpleLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UncheckedCastTest.kt")
|
||||
public void testUncheckedCastTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/atomics_basic/UncheckedCastTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/delegated")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Delegated {
|
||||
@Test
|
||||
public void testAllFilesPresentInDelegated() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/delegated"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DelegatedPropertiesTest.kt")
|
||||
public void testDelegatedPropertiesTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/delegated/DelegatedPropertiesTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/locks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Locks {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocks() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/locks"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReentrantLockTest.kt")
|
||||
public void testReentrantLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/locks/ReentrantLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SynchronizedObjectTest.kt")
|
||||
public void testSynchronizedObjectTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/locks/SynchronizedObjectTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/top-level")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Top_level {
|
||||
@Test
|
||||
public void testAllFilesPresentInTop_level() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/top-level"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FieldInObjectTest.kt")
|
||||
public void testFieldInObjectTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/top-level/FieldInObjectTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelTest.kt")
|
||||
public void testTopLevelTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/top-level/TopLevelTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/trace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("atomicfu-native")
|
||||
@UseStandardTestCaseGroupProvider()
|
||||
public class Trace {
|
||||
@Test
|
||||
public void testAllFilesPresentInTrace() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/trace"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TraceTest.kt")
|
||||
public void testTraceTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/nativeBox/trace/TraceTest.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+224
-224
@@ -20,242 +20,242 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class AtomicfuJsIrTestGenerated extends AbstractAtomicfuJsIrTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Atomic_extensions {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
public void testAllFilesPresentInAtomic_extensions() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Atomic_extensions {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomic_extensions() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArrayInlineExtensionTest.kt")
|
||||
public void testArrayInlineExtensionTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayInlineExtensionTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArrayLoopTest.kt")
|
||||
public void testArrayLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexLoopTest.kt")
|
||||
public void testComplexLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ComplexLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionLoopTest.kt")
|
||||
public void testExtensionLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ExtensionLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionsTest.kt")
|
||||
public void testExtensionsTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ExtensionsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InlineExtensionWithTypeParameterTest.kt")
|
||||
public void testInlineExtensionWithTypeParameterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/InlineExtensionWithTypeParameterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaTest.kt")
|
||||
public void testLambdaTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LambdaTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeIntBitsTest.kt")
|
||||
public void testLockFreeIntBitsTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LockFreeIntBitsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockTest.kt")
|
||||
public void testLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParameterizedInlineFunExtensionTest.kt")
|
||||
public void testParameterizedInlineFunExtensionTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ParameterizedInlineFunExtensionTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ArrayInlineExtensionTest.kt")
|
||||
public void testArrayInlineExtensionTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayInlineExtensionTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Atomics_basic {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomics_basic() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArithmeticTest.kt")
|
||||
public void testArithmeticTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/ArithmeticTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AtomicArrayTest.kt")
|
||||
public void testAtomicArrayTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/AtomicArrayTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IndexArrayElementGetterTest.kt")
|
||||
public void testIndexArrayElementGetterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/IndexArrayElementGetterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InitializationOrderTest.kt")
|
||||
public void testInitializationOrderTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/InitializationOrderTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LateinitPropertiesTest.kt")
|
||||
public void testLateinitPropertiesTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LateinitPropertiesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeLongCounterTest.kt")
|
||||
public void testLockFreeLongCounterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeLongCounterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeQueueTest.kt")
|
||||
public void testLockFreeQueueTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeQueueTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeStackTest.kt")
|
||||
public void testLockFreeStackTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeStackTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LoopTest.kt")
|
||||
public void testLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MultiInitTest.kt")
|
||||
public void testMultiInitTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/MultiInitTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ScopeTest.kt")
|
||||
public void testScopeTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/ScopeTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SimpleLockTest.kt")
|
||||
public void testSimpleLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/SimpleLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UncheckedCastTest.kt")
|
||||
public void testUncheckedCastTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/UncheckedCastTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ArrayLoopTest.kt")
|
||||
public void testArrayLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/delegated")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Delegated {
|
||||
@Test
|
||||
public void testAllFilesPresentInDelegated() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/delegated"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DelegatedPropertiesTest.kt")
|
||||
public void testDelegatedPropertiesTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/delegated/DelegatedPropertiesTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ComplexLoopTest.kt")
|
||||
public void testComplexLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ComplexLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/locks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Locks {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocks() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/locks"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReentrantLockTest.kt")
|
||||
public void testReentrantLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/locks/ReentrantLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SynchronizedObjectTest.kt")
|
||||
public void testSynchronizedObjectTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/locks/SynchronizedObjectTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ExtensionLoopTest.kt")
|
||||
public void testExtensionLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ExtensionLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/top-level")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Top_level {
|
||||
@Test
|
||||
public void testAllFilesPresentInTop_level() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/top-level"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FieldInObjectTest.kt")
|
||||
public void testFieldInObjectTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/top-level/FieldInObjectTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelTest.kt")
|
||||
public void testTopLevelTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/top-level/TopLevelTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ExtensionsTest.kt")
|
||||
public void testExtensionsTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ExtensionsTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/trace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Trace {
|
||||
@Test
|
||||
public void testAllFilesPresentInTrace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/trace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TraceTest.kt")
|
||||
public void testTraceTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/trace/TraceTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("InlineExtensionWithTypeParameterTest.kt")
|
||||
public void testInlineExtensionWithTypeParameterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/InlineExtensionWithTypeParameterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaTest.kt")
|
||||
public void testLambdaTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LambdaTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeIntBitsTest.kt")
|
||||
public void testLockFreeIntBitsTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LockFreeIntBitsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockTest.kt")
|
||||
public void testLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParameterizedInlineFunExtensionTest.kt")
|
||||
public void testParameterizedInlineFunExtensionTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ParameterizedInlineFunExtensionTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Atomics_basic {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomics_basic() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArithmeticTest.kt")
|
||||
public void testArithmeticTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/ArithmeticTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AtomicArrayTest.kt")
|
||||
public void testAtomicArrayTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/AtomicArrayTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IndexArrayElementGetterTest.kt")
|
||||
public void testIndexArrayElementGetterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/IndexArrayElementGetterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InitializationOrderTest.kt")
|
||||
public void testInitializationOrderTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/InitializationOrderTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LateinitPropertiesTest.kt")
|
||||
public void testLateinitPropertiesTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LateinitPropertiesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeLongCounterTest.kt")
|
||||
public void testLockFreeLongCounterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeLongCounterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeQueueTest.kt")
|
||||
public void testLockFreeQueueTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeQueueTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeStackTest.kt")
|
||||
public void testLockFreeStackTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeStackTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LoopTest.kt")
|
||||
public void testLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MultiInitTest.kt")
|
||||
public void testMultiInitTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/MultiInitTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ScopeTest.kt")
|
||||
public void testScopeTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/ScopeTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SimpleLockTest.kt")
|
||||
public void testSimpleLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/SimpleLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UncheckedCastTest.kt")
|
||||
public void testUncheckedCastTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/UncheckedCastTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/delegated")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Delegated {
|
||||
@Test
|
||||
public void testAllFilesPresentInDelegated() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/delegated"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DelegatedPropertiesTest.kt")
|
||||
public void testDelegatedPropertiesTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/delegated/DelegatedPropertiesTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/locks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Locks {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocks() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/locks"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReentrantLockTest.kt")
|
||||
public void testReentrantLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/locks/ReentrantLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SynchronizedObjectTest.kt")
|
||||
public void testSynchronizedObjectTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/locks/SynchronizedObjectTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/top-level")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Top_level {
|
||||
@Test
|
||||
public void testAllFilesPresentInTop_level() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/top-level"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FieldInObjectTest.kt")
|
||||
public void testFieldInObjectTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/top-level/FieldInObjectTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelTest.kt")
|
||||
public void testTopLevelTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/top-level/TopLevelTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/trace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Trace {
|
||||
@Test
|
||||
public void testAllFilesPresentInTrace() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/trace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TraceTest.kt")
|
||||
public void testTraceTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/trace/TraceTest.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+224
-224
@@ -20,242 +20,242 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class AtomicfuJvmIrTestGenerated extends AbstractAtomicfuJvmIrTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Atomic_extensions {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInAtomic_extensions() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Atomic_extensions {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomic_extensions() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArrayInlineExtensionTest.kt")
|
||||
public void testArrayInlineExtensionTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayInlineExtensionTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArrayLoopTest.kt")
|
||||
public void testArrayLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexLoopTest.kt")
|
||||
public void testComplexLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ComplexLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionLoopTest.kt")
|
||||
public void testExtensionLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ExtensionLoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionsTest.kt")
|
||||
public void testExtensionsTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ExtensionsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InlineExtensionWithTypeParameterTest.kt")
|
||||
public void testInlineExtensionWithTypeParameterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/InlineExtensionWithTypeParameterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaTest.kt")
|
||||
public void testLambdaTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LambdaTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeIntBitsTest.kt")
|
||||
public void testLockFreeIntBitsTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LockFreeIntBitsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockTest.kt")
|
||||
public void testLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParameterizedInlineFunExtensionTest.kt")
|
||||
public void testParameterizedInlineFunExtensionTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ParameterizedInlineFunExtensionTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ArrayInlineExtensionTest.kt")
|
||||
public void testArrayInlineExtensionTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayInlineExtensionTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Atomics_basic {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomics_basic() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArithmeticTest.kt")
|
||||
public void testArithmeticTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/ArithmeticTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AtomicArrayTest.kt")
|
||||
public void testAtomicArrayTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/AtomicArrayTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IndexArrayElementGetterTest.kt")
|
||||
public void testIndexArrayElementGetterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/IndexArrayElementGetterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InitializationOrderTest.kt")
|
||||
public void testInitializationOrderTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/InitializationOrderTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LateinitPropertiesTest.kt")
|
||||
public void testLateinitPropertiesTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LateinitPropertiesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeLongCounterTest.kt")
|
||||
public void testLockFreeLongCounterTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeLongCounterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeQueueTest.kt")
|
||||
public void testLockFreeQueueTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeQueueTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeStackTest.kt")
|
||||
public void testLockFreeStackTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeStackTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LoopTest.kt")
|
||||
public void testLoopTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MultiInitTest.kt")
|
||||
public void testMultiInitTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/MultiInitTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ScopeTest.kt")
|
||||
public void testScopeTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/ScopeTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SimpleLockTest.kt")
|
||||
public void testSimpleLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/SimpleLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UncheckedCastTest.kt")
|
||||
public void testUncheckedCastTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/UncheckedCastTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ArrayLoopTest.kt")
|
||||
public void testArrayLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/delegated")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Delegated {
|
||||
@Test
|
||||
public void testAllFilesPresentInDelegated() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/delegated"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DelegatedPropertiesTest.kt")
|
||||
public void testDelegatedPropertiesTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/delegated/DelegatedPropertiesTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ComplexLoopTest.kt")
|
||||
public void testComplexLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ComplexLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/locks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Locks {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocks() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/locks"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReentrantLockTest.kt")
|
||||
public void testReentrantLockTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/locks/ReentrantLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SynchronizedObjectTest.kt")
|
||||
public void testSynchronizedObjectTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/locks/SynchronizedObjectTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ExtensionLoopTest.kt")
|
||||
public void testExtensionLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ExtensionLoopTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/top-level")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Top_level {
|
||||
@Test
|
||||
public void testAllFilesPresentInTop_level() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/top-level"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FieldInObjectTest.kt")
|
||||
public void testFieldInObjectTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/top-level/FieldInObjectTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelTest.kt")
|
||||
public void testTopLevelTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/top-level/TopLevelTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ExtensionsTest.kt")
|
||||
public void testExtensionsTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ExtensionsTest.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/trace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Trace {
|
||||
@Test
|
||||
public void testAllFilesPresentInTrace() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/trace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TraceTest.kt")
|
||||
public void testTraceTest() throws Exception {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/trace/TraceTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("InlineExtensionWithTypeParameterTest.kt")
|
||||
public void testInlineExtensionWithTypeParameterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/InlineExtensionWithTypeParameterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaTest.kt")
|
||||
public void testLambdaTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LambdaTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeIntBitsTest.kt")
|
||||
public void testLockFreeIntBitsTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LockFreeIntBitsTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockTest.kt")
|
||||
public void testLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/LockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParameterizedInlineFunExtensionTest.kt")
|
||||
public void testParameterizedInlineFunExtensionTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ParameterizedInlineFunExtensionTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Atomics_basic {
|
||||
@Test
|
||||
public void testAllFilesPresentInAtomics_basic() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ArithmeticTest.kt")
|
||||
public void testArithmeticTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/ArithmeticTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AtomicArrayTest.kt")
|
||||
public void testAtomicArrayTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/AtomicArrayTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IndexArrayElementGetterTest.kt")
|
||||
public void testIndexArrayElementGetterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/IndexArrayElementGetterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InitializationOrderTest.kt")
|
||||
public void testInitializationOrderTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/InitializationOrderTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LateinitPropertiesTest.kt")
|
||||
public void testLateinitPropertiesTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LateinitPropertiesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeLongCounterTest.kt")
|
||||
public void testLockFreeLongCounterTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeLongCounterTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeQueueTest.kt")
|
||||
public void testLockFreeQueueTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeQueueTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LockFreeStackTest.kt")
|
||||
public void testLockFreeStackTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LockFreeStackTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LoopTest.kt")
|
||||
public void testLoopTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LoopTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MultiInitTest.kt")
|
||||
public void testMultiInitTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/MultiInitTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ScopeTest.kt")
|
||||
public void testScopeTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/ScopeTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SimpleLockTest.kt")
|
||||
public void testSimpleLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/SimpleLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UncheckedCastTest.kt")
|
||||
public void testUncheckedCastTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/UncheckedCastTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/delegated")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Delegated {
|
||||
@Test
|
||||
public void testAllFilesPresentInDelegated() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/delegated"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DelegatedPropertiesTest.kt")
|
||||
public void testDelegatedPropertiesTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/delegated/DelegatedPropertiesTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/locks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Locks {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocks() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/locks"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReentrantLockTest.kt")
|
||||
public void testReentrantLockTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/locks/ReentrantLockTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SynchronizedObjectTest.kt")
|
||||
public void testSynchronizedObjectTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/locks/SynchronizedObjectTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/top-level")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Top_level {
|
||||
@Test
|
||||
public void testAllFilesPresentInTop_level() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/top-level"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FieldInObjectTest.kt")
|
||||
public void testFieldInObjectTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/top-level/FieldInObjectTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelTest.kt")
|
||||
public void testTopLevelTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/top-level/TopLevelTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/atomicfu/atomicfu-compiler/testData/box/trace")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Trace {
|
||||
@Test
|
||||
public void testAllFilesPresentInTrace() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/atomicfu/atomicfu-compiler/testData/box/trace"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TraceTest.kt")
|
||||
public void testTraceTest() {
|
||||
runTest("plugins/atomicfu/atomicfu-compiler/testData/box/trace/TraceTest.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+22
-22
@@ -22,31 +22,31 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class IncrementalK2JvmWithPluginCompilerRunnerTestGenerated extends AbstractIncrementalK2JvmWithPluginCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("addMethodToGeneratedClass")
|
||||
public void testAddMethodToGeneratedClass() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin/addMethodToGeneratedClass/");
|
||||
}
|
||||
@TestMetadata("addMethodToGeneratedClass")
|
||||
public void testAddMethodToGeneratedClass() {
|
||||
runTest("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin/addMethodToGeneratedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("addMethodToGeneratedSupertype")
|
||||
public void testAddMethodToGeneratedSupertype() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin/addMethodToGeneratedSupertype/");
|
||||
}
|
||||
@TestMetadata("addMethodToGeneratedSupertype")
|
||||
public void testAddMethodToGeneratedSupertype() {
|
||||
runTest("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin/addMethodToGeneratedSupertype/");
|
||||
}
|
||||
|
||||
@TestMetadata("addNewSerializableClass")
|
||||
public void testAddNewSerializableClass() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin/addNewSerializableClass/");
|
||||
}
|
||||
@TestMetadata("addNewSerializableClass")
|
||||
public void testAddNewSerializableClass() {
|
||||
runTest("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin/addNewSerializableClass/");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInPureKotlin() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
public void testAllFilesPresentInPureKotlin() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("generateNewTopLevelFunction")
|
||||
public void testGenerateNewTopLevelFunction() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin/generateNewTopLevelFunction/");
|
||||
}
|
||||
@TestMetadata("generateNewTopLevelFunction")
|
||||
public void testGenerateNewTopLevelFunction() {
|
||||
runTest("plugins/fir-plugin-prototype/fir-plugin-ic-test/testData/pureKotlin/generateNewTopLevelFunction/");
|
||||
}
|
||||
}
|
||||
|
||||
+94
-94
@@ -20,116 +20,116 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreePluginBlackBoxCodegenTestGenerated extends AbstractFirLightTreePluginBlackBoxCodegenTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend_mpp.kt")
|
||||
public void testAnnotationsGeneratedInBackend_mpp() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/annotationsGeneratedInBackend_mpp.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend_mpp.kt")
|
||||
public void testAnnotationsGeneratedInBackend_mpp() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/annotationsGeneratedInBackend_mpp.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builtins.kt")
|
||||
public void testBuiltins() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/builtins.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builtins.kt")
|
||||
public void testBuiltins() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/builtins.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithAllPropertiesConstructor.kt")
|
||||
public void testClassWithAllPropertiesConstructor() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/classWithAllPropertiesConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classWithAllPropertiesConstructor.kt")
|
||||
public void testClassWithAllPropertiesConstructor() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/classWithAllPropertiesConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithCompanionObject.kt")
|
||||
public void testClassWithCompanionObject() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/classWithCompanionObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classWithCompanionObject.kt")
|
||||
public void testClassWithCompanionObject() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/classWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithGeneratedMembersAndNestedClass.kt")
|
||||
public void testClassWithGeneratedMembersAndNestedClass() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/classWithGeneratedMembersAndNestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classWithGeneratedMembersAndNestedClass.kt")
|
||||
public void testClassWithGeneratedMembersAndNestedClass() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/classWithGeneratedMembersAndNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("composableFunction.kt")
|
||||
public void testComposableFunction() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/composableFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("composableFunction.kt")
|
||||
public void testComposableFunction() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/composableFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectComposableFunction.kt")
|
||||
public void testExpectComposableFunction() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/expectComposableFunction.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("expectComposableFunction.kt")
|
||||
public void testExpectComposableFunction() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/expectComposableFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extendsJava.kt")
|
||||
public void testExtendsJava() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/extendsJava.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("extendsJava.kt")
|
||||
public void testExtendsJava() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/extendsJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generatedClassWithMembersAndNestedClasses.kt")
|
||||
public void testGeneratedClassWithMembersAndNestedClasses() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/generatedClassWithMembersAndNestedClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("generatedClassWithMembersAndNestedClasses.kt")
|
||||
public void testGeneratedClassWithMembersAndNestedClasses() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/generatedClassWithMembersAndNestedClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassWithCompanionObject.kt")
|
||||
public void testLocalClassWithCompanionObject() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/localClassWithCompanionObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClassWithCompanionObject.kt")
|
||||
public void testLocalClassWithCompanionObject() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/localClassWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotationFromLibrary.kt")
|
||||
public void testMetaAnnotationFromLibrary() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/metaAnnotationFromLibrary.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaAnnotationFromLibrary.kt")
|
||||
public void testMetaAnnotationFromLibrary() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/metaAnnotationFromLibrary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("newSupertype.kt")
|
||||
public void testNewSupertype() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/newSupertype.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("newSupertype.kt")
|
||||
public void testNewSupertype() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/newSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableComposableParameterAcrossModules.kt")
|
||||
public void testNullableComposableParameterAcrossModules() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/nullableComposableParameterAcrossModules.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableComposableParameterAcrossModules.kt")
|
||||
public void testNullableComposableParameterAcrossModules() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/nullableComposableParameterAcrossModules.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("replaceActualFunctionBodyWitExpectDefaultValue.kt")
|
||||
public void testReplaceActualFunctionBodyWitExpectDefaultValue() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/replaceActualFunctionBodyWitExpectDefaultValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("replaceActualFunctionBodyWitExpectDefaultValue.kt")
|
||||
public void testReplaceActualFunctionBodyWitExpectDefaultValue() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/replaceActualFunctionBodyWitExpectDefaultValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializer.kt")
|
||||
public void testSerializer() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/serializer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializer.kt")
|
||||
public void testSerializer() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/serializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superCompiledClassAnnotation.kt")
|
||||
public void testSuperCompiledClassAnnotation() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/superCompiledClassAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superCompiledClassAnnotation.kt")
|
||||
public void testSuperCompiledClassAnnotation() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/superCompiledClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superJavaClassAnnotation.kt")
|
||||
public void testSuperJavaClassAnnotation() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/superJavaClassAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superJavaClassAnnotation.kt")
|
||||
public void testSuperJavaClassAnnotation() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/superJavaClassAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelCallables.kt")
|
||||
public void testTopLevelCallables() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/topLevelCallables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("topLevelCallables.kt")
|
||||
public void testTopLevelCallables() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/box/topLevelCallables.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -20,32 +20,32 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/firLoadK2Compiled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLoadK2CompiledWithPluginJsKotlinTestGenerated extends AbstractFirLoadK2CompiledWithPluginJsKotlinTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInFirLoadK2Compiled() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/firLoadK2Compiled"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInFirLoadK2Compiled() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/firLoadK2Compiled"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend.kt")
|
||||
public void testAnnotationsGeneratedInBackend() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend.kt")
|
||||
public void testAnnotationsGeneratedInBackend() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend_MPP.kt")
|
||||
public void testAnnotationsGeneratedInBackend_MPP() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend_MPP.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend_MPP.kt")
|
||||
public void testAnnotationsGeneratedInBackend_MPP() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend_MPP.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple-lang-ver-2.1.kt")
|
||||
public void testSimple_lang_ver_2_1() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/simple-lang-ver-2.1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple-lang-ver-2.1.kt")
|
||||
public void testSimple_lang_ver_2_1() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/simple-lang-ver-2.1.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+24
-24
@@ -20,32 +20,32 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/firLoadK2Compiled")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLoadK2CompiledWithPluginJvmKotlinTestGenerated extends AbstractFirLoadK2CompiledWithPluginJvmKotlinTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInFirLoadK2Compiled() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/firLoadK2Compiled"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInFirLoadK2Compiled() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/firLoadK2Compiled"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend.kt")
|
||||
public void testAnnotationsGeneratedInBackend() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend.kt")
|
||||
public void testAnnotationsGeneratedInBackend() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend_MPP.kt")
|
||||
public void testAnnotationsGeneratedInBackend_MPP() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend_MPP.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationsGeneratedInBackend_MPP.kt")
|
||||
public void testAnnotationsGeneratedInBackend_MPP() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/annotationsGeneratedInBackend_MPP.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple-lang-ver-2.1.kt")
|
||||
public void testSimple_lang_ver_2_1() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/simple-lang-ver-2.1.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple-lang-ver-2.1.kt")
|
||||
public void testSimple_lang_ver_2_1() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/firLoadK2Compiled/simple-lang-ver-2.1.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+181
-181
@@ -19,200 +19,200 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiPluginDiagnosticTestGenerated extends AbstractFirPsiPluginDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/checkers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Checkers {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
public void testAllFilesPresentInCheckers() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/checkers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/checkers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Checkers {
|
||||
@Test
|
||||
public void testAllFilesPresentInCheckers() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/checkers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dependencyWithoutAttributePlugin.kt")
|
||||
public void testDependencyWithoutAttributePlugin() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/dependencyWithoutAttributePlugin.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("importsWithGeneratedDeclarations.kt")
|
||||
public void testImportsWithGeneratedDeclarations() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/importsWithGeneratedDeclarations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mixingComposableAndNormalFunctions.kt")
|
||||
public void testMixingComposableAndNormalFunctions() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/mixingComposableAndNormalFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("signedNumbersCheckers.kt")
|
||||
public void testSignedNumbersCheckers() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/signedNumbersCheckers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("dependencyWithoutAttributePlugin.kt")
|
||||
public void testDependencyWithoutAttributePlugin() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/dependencyWithoutAttributePlugin.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FunctionalTypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInFunctionalTypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ambigousKinds.kt")
|
||||
public void testAmbigousKinds() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes/ambigousKinds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dependencyWithoutFunctionalKindPlugin.kt")
|
||||
public void testDependencyWithoutFunctionalKindPlugin() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes/dependencyWithoutFunctionalKindPlugin.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inference.kt")
|
||||
public void testInference() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes/inference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("importsWithGeneratedDeclarations.kt")
|
||||
public void testImportsWithGeneratedDeclarations() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/importsWithGeneratedDeclarations.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/memberGen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MemberGen {
|
||||
@Test
|
||||
public void testAllFilesPresentInMemberGen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/memberGen"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithCompanionObject.kt")
|
||||
public void testClassWithCompanionObject() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithGeneratedMembersAndNestedClass.kt")
|
||||
public void testClassWithGeneratedMembersAndNestedClass() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithGeneratedMembersAndNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generatedClassWithMembersAndNestedClasses.kt")
|
||||
public void testGeneratedClassWithMembersAndNestedClasses() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/generatedClassWithMembersAndNestedClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassWithCompanionObject.kt")
|
||||
public void testLocalClassWithCompanionObject() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/localClassWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelCallables.kt")
|
||||
public void testTopLevelCallables() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/topLevelCallables.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("mixingComposableAndNormalFunctions.kt")
|
||||
public void testMixingComposableAndNormalFunctions() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/mixingComposableAndNormalFunctions.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/receivers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Receivers {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceivers() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/receivers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverInjection.kt")
|
||||
public void testReceiverInjection() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/receivers/receiverInjection.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("signedNumbersCheckers.kt")
|
||||
public void testSignedNumbersCheckers() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/signedNumbersCheckers.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/status")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Status {
|
||||
@Test
|
||||
public void testAllFilesPresentInStatus() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/status"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/checkers/simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation.kt")
|
||||
public void testMetaAnnotation() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotationClashesWithSupertype.kt")
|
||||
public void testMetaAnnotationClashesWithSupertype() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotationClashesWithSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleAnnotation.kt")
|
||||
public void testSimpleAnnotation() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibilityTransformation.kt")
|
||||
public void testVisibilityTransformation() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/status/visibilityTransformation.kt");
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FunctionalTypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInFunctionalTypes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/supertypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Supertypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInSupertypes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/supertypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotationOrder.kt")
|
||||
public void testMetaAnnotationOrder() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/supertypes/metaAnnotationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/supertypes/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("supertypeWithArgument.kt")
|
||||
public void testSupertypeWithArgument() throws Exception {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/supertypes/supertypeWithArgument.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ambigousKinds.kt")
|
||||
public void testAmbigousKinds() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes/ambigousKinds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dependencyWithoutFunctionalKindPlugin.kt")
|
||||
public void testDependencyWithoutFunctionalKindPlugin() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes/dependencyWithoutFunctionalKindPlugin.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inference.kt")
|
||||
public void testInference() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes/inference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/functionalTypes/simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/memberGen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class MemberGen {
|
||||
@Test
|
||||
public void testAllFilesPresentInMemberGen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/memberGen"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithCompanionObject.kt")
|
||||
public void testClassWithCompanionObject() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithGeneratedMembersAndNestedClass.kt")
|
||||
public void testClassWithGeneratedMembersAndNestedClass() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/classWithGeneratedMembersAndNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generatedClassWithMembersAndNestedClasses.kt")
|
||||
public void testGeneratedClassWithMembersAndNestedClasses() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/generatedClassWithMembersAndNestedClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassWithCompanionObject.kt")
|
||||
public void testLocalClassWithCompanionObject() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/localClassWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelCallables.kt")
|
||||
public void testTopLevelCallables() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/memberGen/topLevelCallables.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/receivers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Receivers {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceivers() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/receivers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverInjection.kt")
|
||||
public void testReceiverInjection() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/receivers/receiverInjection.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/status")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Status {
|
||||
@Test
|
||||
public void testAllFilesPresentInStatus() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/status"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotation.kt")
|
||||
public void testMetaAnnotation() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotationClashesWithSupertype.kt")
|
||||
public void testMetaAnnotationClashesWithSupertype() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/status/metaAnnotationClashesWithSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleAnnotation.kt")
|
||||
public void testSimpleAnnotation() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibilityTransformation.kt")
|
||||
public void testVisibilityTransformation() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/status/visibilityTransformation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/fir-plugin-prototype/testData/diagnostics/supertypes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Supertypes {
|
||||
@Test
|
||||
public void testAllFilesPresentInSupertypes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir-plugin-prototype/testData/diagnostics/supertypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaAnnotationOrder.kt")
|
||||
public void testMetaAnnotationOrder() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/supertypes/metaAnnotationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/supertypes/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("supertypeWithArgument.kt")
|
||||
public void testSupertypeWithArgument() {
|
||||
runTest("plugins/fir-plugin-prototype/testData/diagnostics/supertypes/supertypeWithArgument.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+29
-29
@@ -20,38 +20,38 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/js-plain-objects/compiler-plugin/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirJsPlainObjectsIrJsBoxTestGenerated extends AbstractFirJsPlainObjectsIrJsBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/js-plain-objects/compiler-plugin/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/js-plain-objects/compiler-plugin/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copy.kt")
|
||||
public void testCopy() throws Exception {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/copy.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("copy.kt")
|
||||
public void testCopy() {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/copy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("optional.kt")
|
||||
public void testOptional() throws Exception {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/optional.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("optional.kt")
|
||||
public void testOptional() {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/optional.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with-inheritance.kt")
|
||||
public void testWith_inheritance() throws Exception {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/with-inheritance.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with-inheritance.kt")
|
||||
public void testWith_inheritance() {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/with-inheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with-multiple-inheritance.kt")
|
||||
public void testWith_multiple_inheritance() throws Exception {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/with-multiple-inheritance.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with-multiple-inheritance.kt")
|
||||
public void testWith_multiple_inheritance() {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/box/with-multiple-inheritance.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+19
-19
@@ -19,26 +19,26 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/js-plain-objects/compiler-plugin/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirJsPlainObjectsPluginDiagnosticTestGenerated extends AbstractFirJsPlainObjectsPluginDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/js-plain-objects/compiler-plugin/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/js-plain-objects/compiler-plugin/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() throws Exception {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/diagnostics/inheritance.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inheritance.kt")
|
||||
public void testInheritance() {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/diagnostics/inheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("only-properties.kt")
|
||||
public void testOnly_properties() throws Exception {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/diagnostics/only-properties.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("only-properties.kt")
|
||||
public void testOnly_properties() {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/diagnostics/only-properties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongAnnotationTarget.kt")
|
||||
public void testWrongAnnotationTarget() throws Exception {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/diagnostics/wrongAnnotationTarget.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("wrongAnnotationTarget.kt")
|
||||
public void testWrongAnnotationTarget() {
|
||||
runTest("plugins/js-plain-objects/compiler-plugin/testData/diagnostics/wrongAnnotationTarget.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+150
-150
@@ -22,191 +22,191 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class CompareJvmAbiTestGenerated extends AbstractCompareJvmAbiTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCompare() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/compare"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
public void testAllFilesPresentInCompare() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/compare"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjects")
|
||||
public void testAnonymousObjects() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/anonymousObjects/");
|
||||
}
|
||||
@TestMetadata("anonymousObjects")
|
||||
public void testAnonymousObjects() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/anonymousObjects/");
|
||||
}
|
||||
|
||||
@TestMetadata("classFlags")
|
||||
public void testClassFlags() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/classFlags/");
|
||||
}
|
||||
@TestMetadata("classFlags")
|
||||
public void testClassFlags() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/classFlags/");
|
||||
}
|
||||
|
||||
@TestMetadata("classPrivateMemebers")
|
||||
public void testClassPrivateMemebers() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/classPrivateMemebers/");
|
||||
}
|
||||
@TestMetadata("classPrivateMemebers")
|
||||
public void testClassPrivateMemebers() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/classPrivateMemebers/");
|
||||
}
|
||||
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/clinit/");
|
||||
}
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/clinit/");
|
||||
}
|
||||
|
||||
@TestMetadata("constant")
|
||||
public void testConstant() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/constant/");
|
||||
}
|
||||
@TestMetadata("constant")
|
||||
public void testConstant() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/constant/");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassWithPrivateConstructor")
|
||||
public void testDataClassWithPrivateConstructor() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/dataClassWithPrivateConstructor/");
|
||||
}
|
||||
@TestMetadata("dataClassWithPrivateConstructor")
|
||||
public void testDataClassWithPrivateConstructor() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/dataClassWithPrivateConstructor/");
|
||||
}
|
||||
|
||||
@TestMetadata("dataClassWithPrivateConstructorWithoutOption")
|
||||
public void testDataClassWithPrivateConstructorWithoutOption() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/dataClassWithPrivateConstructorWithoutOption/");
|
||||
}
|
||||
@TestMetadata("dataClassWithPrivateConstructorWithoutOption")
|
||||
public void testDataClassWithPrivateConstructorWithoutOption() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/dataClassWithPrivateConstructorWithoutOption/");
|
||||
}
|
||||
|
||||
@TestMetadata("debugInfoLineNumberTable")
|
||||
public void testDebugInfoLineNumberTable() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoLineNumberTable/");
|
||||
}
|
||||
@TestMetadata("debugInfoLineNumberTable")
|
||||
public void testDebugInfoLineNumberTable() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoLineNumberTable/");
|
||||
}
|
||||
|
||||
@TestMetadata("debugInfoLocalVariableTable")
|
||||
public void testDebugInfoLocalVariableTable() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoLocalVariableTable/");
|
||||
}
|
||||
@TestMetadata("debugInfoLocalVariableTable")
|
||||
public void testDebugInfoLocalVariableTable() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoLocalVariableTable/");
|
||||
}
|
||||
|
||||
@TestMetadata("debugInfoSourceDebugExtension")
|
||||
public void testDebugInfoSourceDebugExtension() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoSourceDebugExtension/");
|
||||
}
|
||||
@TestMetadata("debugInfoSourceDebugExtension")
|
||||
public void testDebugInfoSourceDebugExtension() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoSourceDebugExtension/");
|
||||
}
|
||||
|
||||
@TestMetadata("debugInfoSourceFile")
|
||||
public void testDebugInfoSourceFile() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoSourceFile/");
|
||||
}
|
||||
@TestMetadata("debugInfoSourceFile")
|
||||
public void testDebugInfoSourceFile() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/debugInfoSourceFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("declarationOrderInline")
|
||||
public void testDeclarationOrderInline() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderInline/");
|
||||
}
|
||||
@TestMetadata("declarationOrderInline")
|
||||
public void testDeclarationOrderInline() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderInline/");
|
||||
}
|
||||
|
||||
@TestMetadata("declarationOrderInlineCall")
|
||||
public void testDeclarationOrderInlineCall() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderInlineCall/");
|
||||
}
|
||||
@TestMetadata("declarationOrderInlineCall")
|
||||
public void testDeclarationOrderInlineCall() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderInlineCall/");
|
||||
}
|
||||
|
||||
@TestMetadata("declarationOrderPrivateInline")
|
||||
public void testDeclarationOrderPrivateInline() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderPrivateInline/");
|
||||
}
|
||||
@TestMetadata("declarationOrderPrivateInline")
|
||||
public void testDeclarationOrderPrivateInline() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/declarationOrderPrivateInline/");
|
||||
}
|
||||
|
||||
@TestMetadata("fieldOrder")
|
||||
public void testFieldOrder() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/fieldOrder/");
|
||||
}
|
||||
@TestMetadata("fieldOrder")
|
||||
public void testFieldOrder() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/fieldOrder/");
|
||||
}
|
||||
|
||||
@TestMetadata("funOrder")
|
||||
public void testFunOrder() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/funOrder/");
|
||||
}
|
||||
@TestMetadata("funOrder")
|
||||
public void testFunOrder() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/funOrder/");
|
||||
}
|
||||
|
||||
@TestMetadata("functionBody")
|
||||
public void testFunctionBody() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/functionBody/");
|
||||
}
|
||||
@TestMetadata("functionBody")
|
||||
public void testFunctionBody() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/functionBody/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunInPrivateClass")
|
||||
public void testInlineFunInPrivateClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunInPrivateClass/");
|
||||
}
|
||||
@TestMetadata("inlineFunInPrivateClass")
|
||||
public void testInlineFunInPrivateClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunInPrivateClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunInPrivateNestedClass")
|
||||
public void testInlineFunInPrivateNestedClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunInPrivateNestedClass/");
|
||||
}
|
||||
@TestMetadata("inlineFunInPrivateNestedClass")
|
||||
public void testInlineFunInPrivateNestedClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunInPrivateNestedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunUsageMakesAbiUnstable")
|
||||
public void testInlineFunUsageMakesAbiUnstable() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunUsageMakesAbiUnstable/");
|
||||
}
|
||||
@TestMetadata("inlineFunUsageMakesAbiUnstable")
|
||||
public void testInlineFunUsageMakesAbiUnstable() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunUsageMakesAbiUnstable/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionBody")
|
||||
public void testInlineFunctionBody() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunctionBody/");
|
||||
}
|
||||
@TestMetadata("inlineFunctionBody")
|
||||
public void testInlineFunctionBody() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/inlineFunctionBody/");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/lambdas/");
|
||||
}
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/lambdas/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClass")
|
||||
public void testMultifileClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/multifileClass/");
|
||||
}
|
||||
@TestMetadata("multifileClass")
|
||||
public void testMultifileClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/multifileClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedPrivateClasses")
|
||||
public void testNestedPrivateClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/nestedPrivateClasses/");
|
||||
}
|
||||
@TestMetadata("nestedPrivateClasses")
|
||||
public void testNestedPrivateClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/nestedPrivateClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("parameterName")
|
||||
public void testParameterName() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/parameterName/");
|
||||
}
|
||||
@TestMetadata("parameterName")
|
||||
public void testParameterName() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/parameterName/");
|
||||
}
|
||||
|
||||
@TestMetadata("preserveDeclarationOrder")
|
||||
public void testPreserveDeclarationOrder() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/preserveDeclarationOrder/");
|
||||
}
|
||||
@TestMetadata("preserveDeclarationOrder")
|
||||
public void testPreserveDeclarationOrder() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/preserveDeclarationOrder/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateInterfaceDefaultImplementation")
|
||||
public void testPrivateInterfaceDefaultImplementation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateInterfaceDefaultImplementation/");
|
||||
}
|
||||
@TestMetadata("privateInterfaceDefaultImplementation")
|
||||
public void testPrivateInterfaceDefaultImplementation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateInterfaceDefaultImplementation/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateOuterClassForEffectivelyVisibleInterface")
|
||||
public void testPrivateOuterClassForEffectivelyVisibleInterface() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateOuterClassForEffectivelyVisibleInterface/");
|
||||
}
|
||||
@TestMetadata("privateOuterClassForEffectivelyVisibleInterface")
|
||||
public void testPrivateOuterClassForEffectivelyVisibleInterface() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateOuterClassForEffectivelyVisibleInterface/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateTopLevelClasses")
|
||||
public void testPrivateTopLevelClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTopLevelClasses/");
|
||||
}
|
||||
@TestMetadata("privateTopLevelClasses")
|
||||
public void testPrivateTopLevelClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTopLevelClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateTopLevelClassesWithoutOption")
|
||||
public void testPrivateTopLevelClassesWithoutOption() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTopLevelClassesWithoutOption/");
|
||||
}
|
||||
@TestMetadata("privateTopLevelClassesWithoutOption")
|
||||
public void testPrivateTopLevelClassesWithoutOption() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTopLevelClassesWithoutOption/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateTypealias")
|
||||
public void testPrivateTypealias() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTypealias/");
|
||||
}
|
||||
@TestMetadata("privateTypealias")
|
||||
public void testPrivateTypealias() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/privateTypealias/");
|
||||
}
|
||||
|
||||
@TestMetadata("removeDebugInfo")
|
||||
public void testRemoveDebugInfo() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/removeDebugInfo/");
|
||||
}
|
||||
@TestMetadata("removeDebugInfo")
|
||||
public void testRemoveDebugInfo() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/removeDebugInfo/");
|
||||
}
|
||||
|
||||
@TestMetadata("returnType")
|
||||
public void testReturnType() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/returnType/");
|
||||
}
|
||||
@TestMetadata("returnType")
|
||||
public void testReturnType() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/returnType/");
|
||||
}
|
||||
|
||||
@TestMetadata("superClass")
|
||||
public void testSuperClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/superClass/");
|
||||
}
|
||||
@TestMetadata("superClass")
|
||||
public void testSuperClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/superClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("syntheticAccessors")
|
||||
public void testSyntheticAccessors() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/syntheticAccessors/");
|
||||
}
|
||||
@TestMetadata("syntheticAccessors")
|
||||
public void testSyntheticAccessors() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/syntheticAccessors/");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelPrivateMembers")
|
||||
public void testTopLevelPrivateMembers() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/topLevelPrivateMembers/");
|
||||
}
|
||||
@TestMetadata("topLevelPrivateMembers")
|
||||
public void testTopLevelPrivateMembers() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compare/topLevelPrivateMembers/");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+114
-114
@@ -22,146 +22,146 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class CompileAgainstJvmAbiTestGenerated extends AbstractCompileAgainstJvmAbiTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCompile() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/compile"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
public void testAllFilesPresentInCompile() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/compile"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObject")
|
||||
public void testAnonymousObject() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/anonymousObject/");
|
||||
}
|
||||
@TestMetadata("anonymousObject")
|
||||
public void testAnonymousObject() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/anonymousObject/");
|
||||
}
|
||||
|
||||
@TestMetadata("classes")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/classes/");
|
||||
}
|
||||
@TestMetadata("classes")
|
||||
public void testClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/classes/");
|
||||
}
|
||||
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/clinit/");
|
||||
}
|
||||
@TestMetadata("clinit")
|
||||
public void testClinit() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/clinit/");
|
||||
}
|
||||
|
||||
@TestMetadata("conflictingClasses")
|
||||
public void testConflictingClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/conflictingClasses/");
|
||||
}
|
||||
@TestMetadata("conflictingClasses")
|
||||
public void testConflictingClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/conflictingClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineAnnotationInstantiation")
|
||||
public void testInlineAnnotationInstantiation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineAnnotationInstantiation/");
|
||||
}
|
||||
@TestMetadata("inlineAnnotationInstantiation")
|
||||
public void testInlineAnnotationInstantiation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineAnnotationInstantiation/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineAnonymousObject")
|
||||
public void testInlineAnonymousObject() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineAnonymousObject/");
|
||||
}
|
||||
@TestMetadata("inlineAnonymousObject")
|
||||
public void testInlineAnonymousObject() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineAnonymousObject/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineCapture")
|
||||
public void testInlineCapture() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineCapture/");
|
||||
}
|
||||
@TestMetadata("inlineCapture")
|
||||
public void testInlineCapture() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineCapture/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassWithPrivateConstructor")
|
||||
public void testInlineClassWithPrivateConstructor() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineClassWithPrivateConstructor/");
|
||||
}
|
||||
@TestMetadata("inlineClassWithPrivateConstructor")
|
||||
public void testInlineClassWithPrivateConstructor() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineClassWithPrivateConstructor/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassWithPrivateConstructorK2")
|
||||
public void testInlineClassWithPrivateConstructorK2() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineClassWithPrivateConstructorK2/");
|
||||
}
|
||||
@TestMetadata("inlineClassWithPrivateConstructorK2")
|
||||
public void testInlineClassWithPrivateConstructorK2() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineClassWithPrivateConstructorK2/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineNoRegeneration")
|
||||
public void testInlineNoRegeneration() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineNoRegeneration/");
|
||||
}
|
||||
@TestMetadata("inlineNoRegeneration")
|
||||
public void testInlineNoRegeneration() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineNoRegeneration/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineReifiedFunction")
|
||||
public void testInlineReifiedFunction() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineReifiedFunction/");
|
||||
}
|
||||
@TestMetadata("inlineReifiedFunction")
|
||||
public void testInlineReifiedFunction() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineReifiedFunction/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineWhenMappings")
|
||||
public void testInlineWhenMappings() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineWhenMappings/");
|
||||
}
|
||||
@TestMetadata("inlineWhenMappings")
|
||||
public void testInlineWhenMappings() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/inlineWhenMappings/");
|
||||
}
|
||||
|
||||
@TestMetadata("innerObjectRegeneration")
|
||||
public void testInnerObjectRegeneration() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/innerObjectRegeneration/");
|
||||
}
|
||||
@TestMetadata("innerObjectRegeneration")
|
||||
public void testInnerObjectRegeneration() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/innerObjectRegeneration/");
|
||||
}
|
||||
|
||||
@TestMetadata("kt-40133")
|
||||
public void testKt_40133() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/kt-40133/");
|
||||
}
|
||||
@TestMetadata("kt-40133")
|
||||
public void testKt_40133() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/kt-40133/");
|
||||
}
|
||||
|
||||
@TestMetadata("kt-40340")
|
||||
public void testKt_40340() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/kt-40340/");
|
||||
}
|
||||
@TestMetadata("kt-40340")
|
||||
public void testKt_40340() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/kt-40340/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClass")
|
||||
public void testMultifileClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClass/");
|
||||
}
|
||||
@TestMetadata("multifileClass")
|
||||
public void testMultifileClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClassOptimized")
|
||||
public void testMultifileClassOptimized() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassOptimized/");
|
||||
}
|
||||
@TestMetadata("multifileClassOptimized")
|
||||
public void testMultifileClassOptimized() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassOptimized/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClassOptimizedWithRemovePrivateOption")
|
||||
public void testMultifileClassOptimizedWithRemovePrivateOption() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassOptimizedWithRemovePrivateOption/");
|
||||
}
|
||||
@TestMetadata("multifileClassOptimizedWithRemovePrivateOption")
|
||||
public void testMultifileClassOptimizedWithRemovePrivateOption() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassOptimizedWithRemovePrivateOption/");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileClassWithRemovePrivateOption")
|
||||
public void testMultifileClassWithRemovePrivateOption() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassWithRemovePrivateOption/");
|
||||
}
|
||||
@TestMetadata("multifileClassWithRemovePrivateOption")
|
||||
public void testMultifileClassWithRemovePrivateOption() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/multifileClassWithRemovePrivateOption/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateAnnotationsFromJavaApp")
|
||||
public void testPrivateAnnotationsFromJavaApp() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateAnnotationsFromJavaApp/");
|
||||
}
|
||||
@TestMetadata("privateAnnotationsFromJavaApp")
|
||||
public void testPrivateAnnotationsFromJavaApp() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateAnnotationsFromJavaApp/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateAnnotationsFromJavaLib")
|
||||
public void testPrivateAnnotationsFromJavaLib() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateAnnotationsFromJavaLib/");
|
||||
}
|
||||
@TestMetadata("privateAnnotationsFromJavaLib")
|
||||
public void testPrivateAnnotationsFromJavaLib() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateAnnotationsFromJavaLib/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateClassesFromJavaApp")
|
||||
public void testPrivateClassesFromJavaApp() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaApp/");
|
||||
}
|
||||
@TestMetadata("privateClassesFromJavaApp")
|
||||
public void testPrivateClassesFromJavaApp() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaApp/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateClassesFromJavaLib")
|
||||
public void testPrivateClassesFromJavaLib() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaLib/");
|
||||
}
|
||||
@TestMetadata("privateClassesFromJavaLib")
|
||||
public void testPrivateClassesFromJavaLib() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaLib/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateInterfaceImplementedByPublicClass")
|
||||
public void testPrivateInterfaceImplementedByPublicClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateInterfaceImplementedByPublicClass/");
|
||||
}
|
||||
@TestMetadata("privateInterfaceImplementedByPublicClass")
|
||||
public void testPrivateInterfaceImplementedByPublicClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateInterfaceImplementedByPublicClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateOnlyConstructors")
|
||||
public void testPrivateOnlyConstructors() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateOnlyConstructors/");
|
||||
}
|
||||
@TestMetadata("privateOnlyConstructors")
|
||||
public void testPrivateOnlyConstructors() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateOnlyConstructors/");
|
||||
}
|
||||
|
||||
@TestMetadata("privateValueClassConstructor")
|
||||
public void testPrivateValueClassConstructor() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateValueClassConstructor/");
|
||||
}
|
||||
@TestMetadata("privateValueClassConstructor")
|
||||
public void testPrivateValueClassConstructor() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/privateValueClassConstructor/");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevel")
|
||||
public void testTopLevel() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/topLevel/");
|
||||
}
|
||||
@TestMetadata("topLevel")
|
||||
public void testTopLevel() {
|
||||
runTest("plugins/jvm-abi-gen/testData/compile/topLevel/");
|
||||
}
|
||||
}
|
||||
|
||||
+46
-46
@@ -22,61 +22,61 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class JvmAbiContentTestGenerated extends AbstractJvmAbiContentTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInContent() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/content"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
public void testAllFilesPresentInContent() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/jvm-abi-gen/testData/content"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
||||
}
|
||||
|
||||
@TestMetadata("annotation")
|
||||
public void testAnnotation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/annotation/");
|
||||
}
|
||||
@TestMetadata("annotation")
|
||||
public void testAnnotation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/annotation/");
|
||||
}
|
||||
|
||||
@TestMetadata("annotationInstantiation")
|
||||
public void testAnnotationInstantiation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/annotationInstantiation/");
|
||||
}
|
||||
@TestMetadata("annotationInstantiation")
|
||||
public void testAnnotationInstantiation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/annotationInstantiation/");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousAnnotationInstantiation")
|
||||
public void testAnonymousAnnotationInstantiation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/anonymousAnnotationInstantiation/");
|
||||
}
|
||||
@TestMetadata("anonymousAnnotationInstantiation")
|
||||
public void testAnonymousAnnotationInstantiation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/anonymousAnnotationInstantiation/");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousWhenMapping")
|
||||
public void testAnonymousWhenMapping() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/anonymousWhenMapping/");
|
||||
}
|
||||
@TestMetadata("anonymousWhenMapping")
|
||||
public void testAnonymousWhenMapping() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/anonymousWhenMapping/");
|
||||
}
|
||||
|
||||
@TestMetadata("class")
|
||||
public void testClass() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/class/");
|
||||
}
|
||||
@TestMetadata("class")
|
||||
public void testClass() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/class/");
|
||||
}
|
||||
|
||||
@TestMetadata("effectivelyPrivateAnnotation")
|
||||
public void testEffectivelyPrivateAnnotation() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/effectivelyPrivateAnnotation/");
|
||||
}
|
||||
@TestMetadata("effectivelyPrivateAnnotation")
|
||||
public void testEffectivelyPrivateAnnotation() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/effectivelyPrivateAnnotation/");
|
||||
}
|
||||
|
||||
@TestMetadata("innerClasses")
|
||||
public void testInnerClasses() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/innerClasses/");
|
||||
}
|
||||
@TestMetadata("innerClasses")
|
||||
public void testInnerClasses() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/innerClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("kt50005")
|
||||
public void testKt50005() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/kt50005/");
|
||||
}
|
||||
@TestMetadata("kt50005")
|
||||
public void testKt50005() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/kt50005/");
|
||||
}
|
||||
|
||||
@TestMetadata("preserveDeclarationOrderKeepsClassIntact")
|
||||
public void testPreserveDeclarationOrderKeepsClassIntact() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/preserveDeclarationOrderKeepsClassIntact/");
|
||||
}
|
||||
@TestMetadata("preserveDeclarationOrderKeepsClassIntact")
|
||||
public void testPreserveDeclarationOrderKeepsClassIntact() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/preserveDeclarationOrderKeepsClassIntact/");
|
||||
}
|
||||
|
||||
@TestMetadata("whenMapping")
|
||||
public void testWhenMapping() throws Exception {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/whenMapping/");
|
||||
}
|
||||
@TestMetadata("whenMapping")
|
||||
public void testWhenMapping() {
|
||||
runTest("plugins/jvm-abi-gen/testData/content/whenMapping/");
|
||||
}
|
||||
}
|
||||
|
||||
+29
-29
@@ -19,38 +19,38 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kapt3/kapt3-cli/testData/argumentParsing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ArgumentParsingTestGenerated extends AbstractArgumentParsingTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInArgumentParsing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-cli/testData/argumentParsing"), Pattern.compile("^(.+)\\.txt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInArgumentParsing() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-cli/testData/argumentParsing"), Pattern.compile("^(.+)\\.txt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorFlag.txt")
|
||||
public void testErrorFlag() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/errorFlag.txt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("errorFlag.txt")
|
||||
public void testErrorFlag() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/errorFlag.txt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorKeyValue.txt")
|
||||
public void testErrorKeyValue() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/errorKeyValue.txt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("errorKeyValue.txt")
|
||||
public void testErrorKeyValue() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/errorKeyValue.txt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorValue.txt")
|
||||
public void testErrorValue() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/errorValue.txt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("errorValue.txt")
|
||||
public void testErrorValue() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/errorValue.txt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlincHelp.txt")
|
||||
public void testKotlincHelp() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/kotlincHelp.txt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kotlincHelp.txt")
|
||||
public void testKotlincHelp() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/kotlincHelp.txt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.txt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/simple.txt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.txt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/argumentParsing/simple.txt");
|
||||
}
|
||||
}
|
||||
|
||||
+79
-79
@@ -19,98 +19,98 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kapt3/kapt3-cli/testData/integration-kapt4")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Kapt4ToolIntegrationTestGenerated extends AbstractKapt4ToolIntegrationTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInIntegration_kapt4() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-cli/testData/integration-kapt4"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIntegration_kapt4() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-cli/testData/integration-kapt4"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("argfile")
|
||||
public void testArgfile() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/argfile/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("argfile")
|
||||
public void testArgfile() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/argfile/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("compileModeUnsupported")
|
||||
public void testCompileModeUnsupported() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/compileModeUnsupported/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("compileModeUnsupported")
|
||||
public void testCompileModeUnsupported() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/compileModeUnsupported/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctErrorTypesOn")
|
||||
public void testCorrectErrorTypesOn() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/correctErrorTypesOn/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("correctErrorTypesOn")
|
||||
public void testCorrectErrorTypesOn() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/correctErrorTypesOn/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultMethodsAllCompatibilityNoWarning")
|
||||
public void testDefaultMethodsAllCompatibilityNoWarning() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/defaultMethodsAllCompatibilityNoWarning/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultMethodsAllCompatibilityNoWarning")
|
||||
public void testDefaultMethodsAllCompatibilityNoWarning() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/defaultMethodsAllCompatibilityNoWarning/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultMethodsAllNoWarning")
|
||||
public void testDefaultMethodsAllNoWarning() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/defaultMethodsAllNoWarning/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultMethodsAllNoWarning")
|
||||
public void testDefaultMethodsAllNoWarning() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/defaultMethodsAllNoWarning/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultMethodsWarning")
|
||||
public void testDefaultMethodsWarning() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/defaultMethodsWarning/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultMethodsWarning")
|
||||
public void testDefaultMethodsWarning() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/defaultMethodsWarning/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultPackage")
|
||||
public void testDefaultPackage() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/defaultPackage/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultPackage")
|
||||
public void testDefaultPackage() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/defaultPackage/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kaptUseK2Flag")
|
||||
public void testKaptUseK2Flag() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/kaptUseK2Flag/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kaptUseK2Flag")
|
||||
public void testKaptUseK2Flag() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/kaptUseK2Flag/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGeneration")
|
||||
public void testKotlinFileGeneration() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/kotlinFileGeneration/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGeneration")
|
||||
public void testKotlinFileGeneration() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/kotlinFileGeneration/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGenerationDefaultOutput")
|
||||
public void testKotlinFileGenerationDefaultOutput() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/kotlinFileGenerationDefaultOutput/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGenerationDefaultOutput")
|
||||
public void testKotlinFileGenerationDefaultOutput() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/kotlinFileGenerationDefaultOutput/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt33800")
|
||||
public void testKt33800() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/kt33800/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt33800")
|
||||
public void testKt33800() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/kt33800/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipass")
|
||||
public void testMultipass() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/multipass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipass")
|
||||
public void testMultipass() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/multipass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("separateStubAptCompilation")
|
||||
public void testSeparateStubAptCompilation() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/separateStubAptCompilation/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("separateStubAptCompilation")
|
||||
public void testSeparateStubAptCompilation() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/separateStubAptCompilation/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/simple/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/simple/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutService")
|
||||
public void testWithoutService() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/withoutService/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withoutService")
|
||||
public void testWithoutService() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration-kapt4/withoutService/");
|
||||
}
|
||||
}
|
||||
|
||||
+69
-69
@@ -19,86 +19,86 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kapt3/kapt3-cli/testData/integration")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class KaptToolIntegrationTestGenerated extends AbstractKaptToolIntegrationTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInIntegration() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-cli/testData/integration"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIntegration() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-cli/testData/integration"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("argfile")
|
||||
public void testArgfile() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/argfile/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("argfile")
|
||||
public void testArgfile() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/argfile/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctErrorTypesOff")
|
||||
public void testCorrectErrorTypesOff() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/correctErrorTypesOff/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("correctErrorTypesOff")
|
||||
public void testCorrectErrorTypesOff() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/correctErrorTypesOff/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("correctErrorTypesOn")
|
||||
public void testCorrectErrorTypesOn() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/correctErrorTypesOn/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("correctErrorTypesOn")
|
||||
public void testCorrectErrorTypesOn() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/correctErrorTypesOn/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultPackage")
|
||||
public void testDefaultPackage() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/defaultPackage/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultPackage")
|
||||
public void testDefaultPackage() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/defaultPackage/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fallback")
|
||||
public void testFallback() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/fallback/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("fallback")
|
||||
public void testFallback() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/fallback/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGeneration")
|
||||
public void testKotlinFileGeneration() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGeneration/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGeneration")
|
||||
public void testKotlinFileGeneration() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGeneration/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGenerationCorrectErrorTypes")
|
||||
public void testKotlinFileGenerationCorrectErrorTypes() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGenerationCorrectErrorTypes/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGenerationCorrectErrorTypes")
|
||||
public void testKotlinFileGenerationCorrectErrorTypes() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGenerationCorrectErrorTypes/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGenerationDefaultOutput")
|
||||
public void testKotlinFileGenerationDefaultOutput() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGenerationDefaultOutput/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kotlinFileGenerationDefaultOutput")
|
||||
public void testKotlinFileGenerationDefaultOutput() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/kotlinFileGenerationDefaultOutput/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt33800")
|
||||
public void testKt33800() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/kt33800/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt33800")
|
||||
public void testKt33800() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/kt33800/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipass")
|
||||
public void testMultipass() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/multipass/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipass")
|
||||
public void testMultipass() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/multipass/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("separateStubAptCompilation")
|
||||
public void testSeparateStubAptCompilation() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/separateStubAptCompilation/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("separateStubAptCompilation")
|
||||
public void testSeparateStubAptCompilation() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/separateStubAptCompilation/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/simple/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/simple/");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutService")
|
||||
public void testWithoutService() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/withoutService/");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withoutService")
|
||||
public void testWithoutService() {
|
||||
runTest("plugins/kapt3/kapt3-cli/testData/integration/withoutService/");
|
||||
}
|
||||
}
|
||||
|
||||
+724
-724
File diff suppressed because it is too large
Load Diff
+34
-34
@@ -19,44 +19,44 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kapt3/kapt3-compiler/testData/kotlinRunner")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrKotlinKaptContextTestGenerated extends AbstractIrKotlinKaptContextTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInKotlinRunner() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-compiler/testData/kotlinRunner"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInKotlinRunner() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kapt3/kapt3-compiler/testData/kotlinRunner"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DefaultParameterValues.kt")
|
||||
public void testDefaultParameterValues() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/DefaultParameterValues.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("DefaultParameterValues.kt")
|
||||
public void testDefaultParameterValues() {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/DefaultParameterValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ErrorLocationMapping.kt")
|
||||
public void testErrorLocationMapping() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/ErrorLocationMapping.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ErrorLocationMapping.kt")
|
||||
public void testErrorLocationMapping() {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/ErrorLocationMapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Log.kt")
|
||||
public void testLog() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/Log.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Log.kt")
|
||||
public void testLog() {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/Log.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedClasses.kt")
|
||||
public void testNestedClasses() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/NestedClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("NestedClasses.kt")
|
||||
public void testNestedClasses() {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/NestedClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Overloads.kt")
|
||||
public void testOverloads() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/Overloads.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Overloads.kt")
|
||||
public void testOverloads() {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/Overloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/Simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/kapt3/kapt3-compiler/testData/kotlinRunner/Simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+724
-724
File diff suppressed because it is too large
Load Diff
+9
-9
@@ -20,14 +20,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/matrix")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirTestMatrixGenerated extends AbstractFirTestMatrix {
|
||||
@Test
|
||||
public void testAllFilesPresentInMatrix() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/matrix"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInMatrix() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/matrix"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/matrix/enums.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("plugins/kotlinx-serialization/testData/matrix/enums.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -20,14 +20,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/matrix")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestMatrixGenerated extends AbstractTestMatrix {
|
||||
@Test
|
||||
public void testAllFilesPresentInMatrix() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/matrix"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInMatrix() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/matrix"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/matrix/enums.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("plugins/kotlinx-serialization/testData/matrix/enums.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+29
-29
@@ -20,38 +20,38 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationAsmLikeInstructionsListingTestGenerated extends AbstractSerializationAsmLikeInstructionsListingTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Basic.kt")
|
||||
public void testBasic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Basic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Basic.kt")
|
||||
public void testBasic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Basic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Intrinsics.kt")
|
||||
public void testIntrinsics() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Intrinsics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Intrinsics.kt")
|
||||
public void testIntrinsics() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Intrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsAdvanced.kt")
|
||||
public void testIntrinsicsAdvanced() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsAdvanced.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsAdvanced.kt")
|
||||
public void testIntrinsicsAdvanced() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsAdvanced.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsNonReified.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsNonReified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Sealed.kt")
|
||||
public void testSealed() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Sealed.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Sealed.kt")
|
||||
public void testSealed() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Sealed.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+154
-154
@@ -20,188 +20,188 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/boxIr")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationFirJsBoxTestGenerated extends AbstractSerializationFirJsBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxIr() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxIr() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsOnFile.kt")
|
||||
public void testAnnotationsOnFile() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/annotationsOnFile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationsOnFile.kt")
|
||||
public void testAnnotationsOnFile() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/annotationsOnFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("caching.kt")
|
||||
public void testCaching() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("caching.kt")
|
||||
public void testCaching() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
|
||||
public void testClashBetweenSerializableAndNonSerializableProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
|
||||
public void testClashBetweenSerializableAndNonSerializableProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classSerializerAsObject.kt")
|
||||
public void testClassSerializerAsObject() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/classSerializerAsObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classSerializerAsObject.kt")
|
||||
public void testClassSerializerAsObject() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/classSerializerAsObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constValInSerialName.kt")
|
||||
public void testConstValInSerialName() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/constValInSerialName.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constValInSerialName.kt")
|
||||
public void testConstValInSerialName() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/constValInSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualByDefault.kt")
|
||||
public void testContextualByDefault() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualByDefault.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualByDefault.kt")
|
||||
public void testContextualByDefault() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualByDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualFallback.kt")
|
||||
public void testContextualFallback() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualFallback.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualFallback.kt")
|
||||
public void testContextualFallback() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualFallback.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualWithTypeParameters.kt")
|
||||
public void testContextualWithTypeParameters() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualWithTypeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualWithTypeParameters.kt")
|
||||
public void testContextualWithTypeParameters() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedInterface.kt")
|
||||
public void testDelegatedInterface() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedInterface.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegatedInterface.kt")
|
||||
public void testDelegatedInterface() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProperty.kt")
|
||||
public void testDelegatedProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegatedProperty.kt")
|
||||
public void testDelegatedProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumsAreCached.kt")
|
||||
public void testEnumsAreCached() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enumsAreCached.kt")
|
||||
public void testEnumsAreCached() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludedFromExport.kt")
|
||||
public void testExcludedFromExport() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/excludedFromExport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excludedFromExport.kt")
|
||||
public void testExcludedFromExport() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/excludedFromExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludedFromFileExport.kt")
|
||||
public void testExcludedFromFileExport() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/excludedFromFileExport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excludedFromFileExport.kt")
|
||||
public void testExcludedFromFileExport() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/excludedFromFileExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/interfaces.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/interfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/metaSerializable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multimoduleInheritanceJs.kt")
|
||||
public void testMultimoduleInheritanceJs() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multimoduleInheritanceJs.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multimoduleInheritanceJs.kt")
|
||||
public void testMultimoduleInheritanceJs() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multimoduleInheritanceJs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleGenericsPolymorphic.kt")
|
||||
public void testMultipleGenericsPolymorphic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multipleGenericsPolymorphic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleGenericsPolymorphic.kt")
|
||||
public void testMultipleGenericsPolymorphic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multipleGenericsPolymorphic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassMultifile.kt")
|
||||
public void testSealedClassMultifile() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedClassMultifile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClassMultifile.kt")
|
||||
public void testSealedClassMultifile() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedClassMultifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaces.kt")
|
||||
public void testSealedInterfaces() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedInterfaces.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaces.kt")
|
||||
public void testSealedInterfaces() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedInterfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule.kt")
|
||||
public void testSerializableFromAnotherModule() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule.kt")
|
||||
public void testSerializableFromAnotherModule() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule_multipleFields.kt")
|
||||
public void testSerializableFromAnotherModule_multipleFields() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule_multipleFields.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule_multipleFields.kt")
|
||||
public void testSerializableFromAnotherModule_multipleFields() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule_multipleFields.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableOnPropertyType.kt")
|
||||
public void testSerializableOnPropertyType() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableOnPropertyType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableOnPropertyType.kt")
|
||||
public void testSerializableOnPropertyType() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableOnPropertyType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactory.kt")
|
||||
public void testSerializerFactory() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactory.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializerFactory.kt")
|
||||
public void testSerializerFactory() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactory.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactoryInUserDefined.kt")
|
||||
public void testSerializerFactoryInUserDefined() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactoryInUserDefined.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializerFactoryInUserDefined.kt")
|
||||
public void testSerializerFactoryInUserDefined() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactoryInUserDefined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjections.kt")
|
||||
public void testStarProjections() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("starProjections.kt")
|
||||
public void testStarProjections() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("useSerializersChain.kt")
|
||||
public void testUseSerializersChain() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/useSerializersChain.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("useSerializersChain.kt")
|
||||
public void testUseSerializersChain() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/useSerializersChain.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("userDefinedSerializerInCompanion.kt")
|
||||
public void testUserDefinedSerializerInCompanion() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/userDefinedSerializerInCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("userDefinedSerializerInCompanion.kt")
|
||||
public void testUserDefinedSerializerInCompanion() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/userDefinedSerializerInCompanion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+29
-29
@@ -20,38 +20,38 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationFirLightTreeAsmLikeInstructionsListingTestGenerated extends AbstractSerializationFirLightTreeAsmLikeInstructionsListingTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Basic.kt")
|
||||
public void testBasic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Basic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Basic.kt")
|
||||
public void testBasic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Basic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Intrinsics.kt")
|
||||
public void testIntrinsics() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Intrinsics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Intrinsics.kt")
|
||||
public void testIntrinsics() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Intrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsAdvanced.kt")
|
||||
public void testIntrinsicsAdvanced() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsAdvanced.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsAdvanced.kt")
|
||||
public void testIntrinsicsAdvanced() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsAdvanced.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsNonReified.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsNonReified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Sealed.kt")
|
||||
public void testSealed() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Sealed.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Sealed.kt")
|
||||
public void testSealed() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Sealed.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+394
-394
@@ -18,401 +18,401 @@ import java.util.regex.Pattern;
|
||||
/** This class is generated by {@link org.jetbrains.kotlinx.serialization.TestGeneratorKt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
public class SerializationFirLightTreeBlackBoxTestGenerated extends AbstractSerializationFirLightTreeBlackBoxTest {
|
||||
@Nested
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/boxIr")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BoxIr {
|
||||
@Test
|
||||
@TestMetadata("allConstructorsAccessible.kt")
|
||||
public void testAllConstructorsAccessible() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/allConstructorsAccessible.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxIr() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsOnFile.kt")
|
||||
public void testAnnotationsOnFile() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/annotationsOnFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("caching.kt")
|
||||
public void testCaching() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
|
||||
public void testClashBetweenSerializableAndNonSerializableProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classSerializerAsObject.kt")
|
||||
public void testClassSerializerAsObject() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/classSerializerAsObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constValInSerialName.kt")
|
||||
public void testConstValInSerialName() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/constValInSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualByDefault.kt")
|
||||
public void testContextualByDefault() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualByDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualFallback.kt")
|
||||
public void testContextualFallback() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualFallback.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualWithTypeParameters.kt")
|
||||
public void testContextualWithTypeParameters() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedInterface.kt")
|
||||
public void testDelegatedInterface() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProperty.kt")
|
||||
public void testDelegatedProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumsAreCached.kt")
|
||||
public void testEnumsAreCached() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActual.kt")
|
||||
public void testExpectActual() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualSealedClass.kt")
|
||||
public void testExpectActualSealedClass() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActualSealedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerialierJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerializerForClassWithNonSerializableType.kt")
|
||||
public void testExternalSerializerForClassWithNonSerializableType() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerializerForClassWithNonSerializableType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generatedClassifiersViaLibraryDependency.kt")
|
||||
public void testGeneratedClassifiersViaLibraryDependency() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generatedClassifiersViaLibraryDependency.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClasses.kt")
|
||||
public void testInlineClasses() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/inlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/interfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicAnnotations.kt")
|
||||
public void testIntrinsicAnnotations() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsBox.kt")
|
||||
public void testIntrinsicsBox() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsBox.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsNonReified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsNullable.kt")
|
||||
public void testIntrinsicsNullable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsNullable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsStarProjections.kt")
|
||||
public void testIntrinsicsStarProjections() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsStarProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mpp.kt")
|
||||
public void testMpp() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/mpp.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiFieldValueClasses.kt")
|
||||
public void testMultiFieldValueClasses() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multiFieldValueClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multimoduleInheritance.kt")
|
||||
public void testMultimoduleInheritance() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multimoduleInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleGenericsPolymorphic.kt")
|
||||
public void testMultipleGenericsPolymorphic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multipleGenericsPolymorphic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedCompanions.kt")
|
||||
public void testNamedCompanions() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/namedCompanions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("polymorphic.kt")
|
||||
public void testPolymorphic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/polymorphic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateCustomSerializer.kt")
|
||||
public void testPrivateCustomSerializer() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/privateCustomSerializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("repeatableSerialInfo.kt")
|
||||
public void testRepeatableSerialInfo() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/repeatableSerialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassMultifile.kt")
|
||||
public void testSealedClassMultifile() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedClassMultifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaces.kt")
|
||||
public void testSealedInterfaces() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedInterfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serialInfo.kt")
|
||||
public void testSerialInfo() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule.kt")
|
||||
public void testSerializableFromAnotherModule() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule_multipleFields.kt")
|
||||
public void testSerializableFromAnotherModule_multipleFields() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule_multipleFields.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableOnPropertyType.kt")
|
||||
public void testSerializableOnPropertyType() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableOnPropertyType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactory.kt")
|
||||
public void testSerializerFactory() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactory.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactoryInUserDefined.kt")
|
||||
public void testSerializerFactoryInUserDefined() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactoryInUserDefined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjections.kt")
|
||||
public void testStarProjections() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealiasesTest.kt")
|
||||
public void testTypealiasesTest() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/typealiasesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("useSerializersChain.kt")
|
||||
public void testUseSerializersChain() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/useSerializersChain.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("userDefinedSerializerInCompanion.kt")
|
||||
public void testUserDefinedSerializerInCompanion() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/userDefinedSerializerInCompanion.kt");
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/boxIr")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BoxIr {
|
||||
@Test
|
||||
@TestMetadata("allConstructorsAccessible.kt")
|
||||
public void testAllConstructorsAccessible() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/allConstructorsAccessible.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/firMembers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirMembers {
|
||||
@Test
|
||||
@TestMetadata("abstractAndSealed.kt")
|
||||
public void testAbstractAndSealed() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/abstractAndSealed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInFirMembers() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/firMembers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithCompanionObject.kt")
|
||||
public void testClassWithCompanionObject() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/classWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithGenericParameters.kt")
|
||||
public void testClassWithGenericParameters() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/classWithGenericParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultProperties.kt")
|
||||
public void testDefaultProperties() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/defaultProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerializers.kt")
|
||||
public void testExternalSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/externalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClasses.kt")
|
||||
public void testInlineClasses() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/inlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleProperties.kt")
|
||||
public void testMultipleProperties() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/multipleProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privatePropertiesSerialization.kt")
|
||||
public void testPrivatePropertiesSerialization() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/privatePropertiesSerialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableObject.kt")
|
||||
public void testSerializableObject() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableWith.kt")
|
||||
public void testSerializableWith() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableWithCompanion.kt")
|
||||
public void testSerializableWithCompanion() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWithCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerInLocalClass.kt")
|
||||
public void testSerializerInLocalClass() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializerInLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerViaCompanion.kt")
|
||||
public void testSerializerViaCompanion() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializerViaCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxIr() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsOnFile.kt")
|
||||
public void testAnnotationsOnFile() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/annotationsOnFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("caching.kt")
|
||||
public void testCaching() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
|
||||
public void testClashBetweenSerializableAndNonSerializableProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classSerializerAsObject.kt")
|
||||
public void testClassSerializerAsObject() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/classSerializerAsObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constValInSerialName.kt")
|
||||
public void testConstValInSerialName() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/constValInSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualByDefault.kt")
|
||||
public void testContextualByDefault() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualByDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualFallback.kt")
|
||||
public void testContextualFallback() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualFallback.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualWithTypeParameters.kt")
|
||||
public void testContextualWithTypeParameters() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedInterface.kt")
|
||||
public void testDelegatedInterface() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProperty.kt")
|
||||
public void testDelegatedProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumsAreCached.kt")
|
||||
public void testEnumsAreCached() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActual.kt")
|
||||
public void testExpectActual() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualSealedClass.kt")
|
||||
public void testExpectActualSealedClass() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActualSealedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerialierJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerializerForClassWithNonSerializableType.kt")
|
||||
public void testExternalSerializerForClassWithNonSerializableType() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerializerForClassWithNonSerializableType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generatedClassifiersViaLibraryDependency.kt")
|
||||
public void testGeneratedClassifiersViaLibraryDependency() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generatedClassifiersViaLibraryDependency.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClasses.kt")
|
||||
public void testInlineClasses() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/inlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/interfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicAnnotations.kt")
|
||||
public void testIntrinsicAnnotations() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsBox.kt")
|
||||
public void testIntrinsicsBox() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsBox.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsNonReified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsNullable.kt")
|
||||
public void testIntrinsicsNullable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsNullable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsStarProjections.kt")
|
||||
public void testIntrinsicsStarProjections() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsStarProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mpp.kt")
|
||||
public void testMpp() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/mpp.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiFieldValueClasses.kt")
|
||||
public void testMultiFieldValueClasses() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multiFieldValueClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multimoduleInheritance.kt")
|
||||
public void testMultimoduleInheritance() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multimoduleInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleGenericsPolymorphic.kt")
|
||||
public void testMultipleGenericsPolymorphic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multipleGenericsPolymorphic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedCompanions.kt")
|
||||
public void testNamedCompanions() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/namedCompanions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("polymorphic.kt")
|
||||
public void testPolymorphic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/polymorphic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateCustomSerializer.kt")
|
||||
public void testPrivateCustomSerializer() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/privateCustomSerializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("repeatableSerialInfo.kt")
|
||||
public void testRepeatableSerialInfo() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/repeatableSerialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassMultifile.kt")
|
||||
public void testSealedClassMultifile() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedClassMultifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaces.kt")
|
||||
public void testSealedInterfaces() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedInterfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serialInfo.kt")
|
||||
public void testSerialInfo() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule.kt")
|
||||
public void testSerializableFromAnotherModule() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule_multipleFields.kt")
|
||||
public void testSerializableFromAnotherModule_multipleFields() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule_multipleFields.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableOnPropertyType.kt")
|
||||
public void testSerializableOnPropertyType() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableOnPropertyType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactory.kt")
|
||||
public void testSerializerFactory() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactory.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactoryInUserDefined.kt")
|
||||
public void testSerializerFactoryInUserDefined() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactoryInUserDefined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjections.kt")
|
||||
public void testStarProjections() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealiasesTest.kt")
|
||||
public void testTypealiasesTest() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/typealiasesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("useSerializersChain.kt")
|
||||
public void testUseSerializersChain() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/useSerializersChain.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("userDefinedSerializerInCompanion.kt")
|
||||
public void testUserDefinedSerializerInCompanion() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/userDefinedSerializerInCompanion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/firMembers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirMembers {
|
||||
@Test
|
||||
@TestMetadata("abstractAndSealed.kt")
|
||||
public void testAbstractAndSealed() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/abstractAndSealed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInFirMembers() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/firMembers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithCompanionObject.kt")
|
||||
public void testClassWithCompanionObject() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/classWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithGenericParameters.kt")
|
||||
public void testClassWithGenericParameters() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/classWithGenericParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultProperties.kt")
|
||||
public void testDefaultProperties() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/defaultProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerializers.kt")
|
||||
public void testExternalSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/externalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClasses.kt")
|
||||
public void testInlineClasses() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/inlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleProperties.kt")
|
||||
public void testMultipleProperties() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/multipleProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privatePropertiesSerialization.kt")
|
||||
public void testPrivatePropertiesSerialization() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/privatePropertiesSerialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableObject.kt")
|
||||
public void testSerializableObject() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableWith.kt")
|
||||
public void testSerializableWith() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableWithCompanion.kt")
|
||||
public void testSerializableWithCompanion() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWithCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerInLocalClass.kt")
|
||||
public void testSerializerInLocalClass() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializerInLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerViaCompanion.kt")
|
||||
public void testSerializerViaCompanion() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializerViaCompanion.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+280
-280
@@ -17,287 +17,287 @@ import java.util.regex.Pattern;
|
||||
/** This class is generated by {@link org.jetbrains.kotlinx.serialization.TestGeneratorKt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
public class SerializationFirPsiDiagnosticTestGenerated extends AbstractSerializationFirPsiDiagnosticTest {
|
||||
@Nested
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Diagnostics {
|
||||
@Test
|
||||
@TestMetadata("abstractCustomSerializer.kt")
|
||||
public void testAbstractCustomSerializer() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/abstractCustomSerializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectSerializers.kt")
|
||||
public void testCompanionObjectSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/companionObjectSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customSerializers.kt")
|
||||
public void testCustomSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/customSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DuplicateSerialName.kt")
|
||||
public void testDuplicateSerialName() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/DuplicateSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("EnumDuplicateSerialName.kt")
|
||||
public void testEnumDuplicateSerialName() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/EnumDuplicateSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/externalSerialierJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExternalSerializers.kt")
|
||||
public void testExternalSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ExternalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("GenericArrays.kt")
|
||||
public void testGenericArrays() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/GenericArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IncorrectTransient.kt")
|
||||
public void testIncorrectTransient() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IncorrectTransient2.kt")
|
||||
public void testIncorrectTransient2() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritableInfo.kt")
|
||||
public void testInheritableInfo() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/InheritableInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LazyRecursionBug.kt")
|
||||
public void testLazyRecursionBug() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/LazyRecursionBug.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LocalAndAnonymous.kt")
|
||||
public void testLocalAndAnonymous() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/LocalAndAnonymous.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializableNested.kt")
|
||||
public void testMetaSerializableNested() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/metaSerializableNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NoSuitableCtorInParent.kt")
|
||||
public void testNoSuitableCtorInParent() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NoSuitableCtorInParent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonSerializable.kt")
|
||||
public void testNonSerializable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullabilityIncompatible.kt")
|
||||
public void testNullabilityIncompatible() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NullabilityIncompatible.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParamIsNotProperty.kt")
|
||||
public void testParamIsNotProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ParamIsNotProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametrizedExternalSerializers.kt")
|
||||
public void testParametrizedExternalSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ParametrizedExternalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("repeatableSerialInfo.kt")
|
||||
public void testRepeatableSerialInfo() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/repeatableSerialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializableEnums.kt")
|
||||
public void testSerializableEnums() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableEnums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializableIgnored.kt")
|
||||
public void testSerializableIgnored() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFromOtherModule.kt")
|
||||
public void testSerializerFromOtherModule() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/serializerFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeCompatibleForSpecials.kt")
|
||||
public void testSerializerTypeCompatibleForSpecials() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeCompatibleForSpecials.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeIncompatible.kt")
|
||||
public void testSerializerTypeIncompatible() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeIncompatibleViaTypealias.kt")
|
||||
public void testSerializerTypeIncompatibleViaTypealias() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatibleViaTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Transients.kt")
|
||||
public void testTransients() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/Transients.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasesCustomized.kt")
|
||||
public void testTypeAliasesCustomized() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliasesCustomized.kt");
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Diagnostics {
|
||||
@Test
|
||||
@TestMetadata("abstractCustomSerializer.kt")
|
||||
public void testAbstractCustomSerializer() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/abstractCustomSerializer.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/firMembers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirMembers {
|
||||
@Test
|
||||
@TestMetadata("abstractAndSealed.kt")
|
||||
public void testAbstractAndSealed() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/abstractAndSealed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInFirMembers() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/firMembers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithCompanionObject.kt")
|
||||
public void testClassWithCompanionObject() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/classWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithGenericParameters.kt")
|
||||
public void testClassWithGenericParameters() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/classWithGenericParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultProperties.kt")
|
||||
public void testDefaultProperties() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/defaultProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerializers.kt")
|
||||
public void testExternalSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/externalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClasses.kt")
|
||||
public void testInlineClasses() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/inlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleProperties.kt")
|
||||
public void testMultipleProperties() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/multipleProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privatePropertiesSerialization.kt")
|
||||
public void testPrivatePropertiesSerialization() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/privatePropertiesSerialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableObject.kt")
|
||||
public void testSerializableObject() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableWith.kt")
|
||||
public void testSerializableWith() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableWithCompanion.kt")
|
||||
public void testSerializableWithCompanion() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWithCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerInLocalClass.kt")
|
||||
public void testSerializerInLocalClass() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializerInLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerViaCompanion.kt")
|
||||
public void testSerializerViaCompanion() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializerViaCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectSerializers.kt")
|
||||
public void testCompanionObjectSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/companionObjectSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customSerializers.kt")
|
||||
public void testCustomSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/customSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DuplicateSerialName.kt")
|
||||
public void testDuplicateSerialName() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/DuplicateSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("EnumDuplicateSerialName.kt")
|
||||
public void testEnumDuplicateSerialName() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/EnumDuplicateSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/externalSerialierJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExternalSerializers.kt")
|
||||
public void testExternalSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ExternalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("GenericArrays.kt")
|
||||
public void testGenericArrays() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/GenericArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IncorrectTransient.kt")
|
||||
public void testIncorrectTransient() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IncorrectTransient2.kt")
|
||||
public void testIncorrectTransient2() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritableInfo.kt")
|
||||
public void testInheritableInfo() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/InheritableInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LazyRecursionBug.kt")
|
||||
public void testLazyRecursionBug() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/LazyRecursionBug.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LocalAndAnonymous.kt")
|
||||
public void testLocalAndAnonymous() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/LocalAndAnonymous.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializableNested.kt")
|
||||
public void testMetaSerializableNested() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/metaSerializableNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NoSuitableCtorInParent.kt")
|
||||
public void testNoSuitableCtorInParent() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NoSuitableCtorInParent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonSerializable.kt")
|
||||
public void testNonSerializable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullabilityIncompatible.kt")
|
||||
public void testNullabilityIncompatible() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NullabilityIncompatible.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParamIsNotProperty.kt")
|
||||
public void testParamIsNotProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ParamIsNotProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametrizedExternalSerializers.kt")
|
||||
public void testParametrizedExternalSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ParametrizedExternalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("repeatableSerialInfo.kt")
|
||||
public void testRepeatableSerialInfo() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/repeatableSerialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializableEnums.kt")
|
||||
public void testSerializableEnums() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableEnums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializableIgnored.kt")
|
||||
public void testSerializableIgnored() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFromOtherModule.kt")
|
||||
public void testSerializerFromOtherModule() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/serializerFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeCompatibleForSpecials.kt")
|
||||
public void testSerializerTypeCompatibleForSpecials() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeCompatibleForSpecials.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeIncompatible.kt")
|
||||
public void testSerializerTypeIncompatible() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeIncompatibleViaTypealias.kt")
|
||||
public void testSerializerTypeIncompatibleViaTypealias() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatibleViaTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Transients.kt")
|
||||
public void testTransients() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/Transients.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasesCustomized.kt")
|
||||
public void testTypeAliasesCustomized() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliasesCustomized.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/firMembers")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirMembers {
|
||||
@Test
|
||||
@TestMetadata("abstractAndSealed.kt")
|
||||
public void testAbstractAndSealed() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/abstractAndSealed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInFirMembers() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/firMembers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithCompanionObject.kt")
|
||||
public void testClassWithCompanionObject() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/classWithCompanionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classWithGenericParameters.kt")
|
||||
public void testClassWithGenericParameters() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/classWithGenericParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultProperties.kt")
|
||||
public void testDefaultProperties() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/defaultProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enums.kt")
|
||||
public void testEnums() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/enums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerializers.kt")
|
||||
public void testExternalSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/externalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClasses.kt")
|
||||
public void testInlineClasses() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/inlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleProperties.kt")
|
||||
public void testMultipleProperties() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/multipleProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privatePropertiesSerialization.kt")
|
||||
public void testPrivatePropertiesSerialization() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/privatePropertiesSerialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableObject.kt")
|
||||
public void testSerializableObject() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableWith.kt")
|
||||
public void testSerializableWith() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWith.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableWithCompanion.kt")
|
||||
public void testSerializableWithCompanion() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializableWithCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerInLocalClass.kt")
|
||||
public void testSerializerInLocalClass() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializerInLocalClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerViaCompanion.kt")
|
||||
public void testSerializerViaCompanion() {
|
||||
runTest("plugins/kotlinx-serialization/testData/firMembers/serializerViaCompanion.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+29
-29
@@ -20,38 +20,38 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationIrAsmLikeInstructionsListingTestGenerated extends AbstractSerializationIrAsmLikeInstructionsListingTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Basic.kt")
|
||||
public void testBasic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Basic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Basic.kt")
|
||||
public void testBasic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Basic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Intrinsics.kt")
|
||||
public void testIntrinsics() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Intrinsics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Intrinsics.kt")
|
||||
public void testIntrinsics() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Intrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsAdvanced.kt")
|
||||
public void testIntrinsicsAdvanced() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsAdvanced.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsAdvanced.kt")
|
||||
public void testIntrinsicsAdvanced() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsAdvanced.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsNonReified.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsNonReified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Sealed.kt")
|
||||
public void testSealed() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Sealed.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Sealed.kt")
|
||||
public void testSealed() {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Sealed.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+244
-244
@@ -20,296 +20,296 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/boxIr")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationIrBoxTestGenerated extends AbstractSerializationIrBoxTest {
|
||||
@Test
|
||||
@TestMetadata("allConstructorsAccessible.kt")
|
||||
public void testAllConstructorsAccessible() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/allConstructorsAccessible.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allConstructorsAccessible.kt")
|
||||
public void testAllConstructorsAccessible() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/allConstructorsAccessible.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxIr() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxIr() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsOnFile.kt")
|
||||
public void testAnnotationsOnFile() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/annotationsOnFile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationsOnFile.kt")
|
||||
public void testAnnotationsOnFile() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/annotationsOnFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("caching.kt")
|
||||
public void testCaching() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("caching.kt")
|
||||
public void testCaching() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
|
||||
public void testClashBetweenSerializableAndNonSerializableProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
|
||||
public void testClashBetweenSerializableAndNonSerializableProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classSerializerAsObject.kt")
|
||||
public void testClassSerializerAsObject() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/classSerializerAsObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classSerializerAsObject.kt")
|
||||
public void testClassSerializerAsObject() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/classSerializerAsObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constValInSerialName.kt")
|
||||
public void testConstValInSerialName() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/constValInSerialName.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constValInSerialName.kt")
|
||||
public void testConstValInSerialName() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/constValInSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualByDefault.kt")
|
||||
public void testContextualByDefault() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualByDefault.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualByDefault.kt")
|
||||
public void testContextualByDefault() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualByDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualFallback.kt")
|
||||
public void testContextualFallback() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualFallback.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualFallback.kt")
|
||||
public void testContextualFallback() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualFallback.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualWithTypeParameters.kt")
|
||||
public void testContextualWithTypeParameters() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualWithTypeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualWithTypeParameters.kt")
|
||||
public void testContextualWithTypeParameters() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedInterface.kt")
|
||||
public void testDelegatedInterface() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedInterface.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegatedInterface.kt")
|
||||
public void testDelegatedInterface() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProperty.kt")
|
||||
public void testDelegatedProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegatedProperty.kt")
|
||||
public void testDelegatedProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumsAreCached.kt")
|
||||
public void testEnumsAreCached() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enumsAreCached.kt")
|
||||
public void testEnumsAreCached() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActual.kt")
|
||||
public void testExpectActual() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActual.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("expectActual.kt")
|
||||
public void testExpectActual() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectActualSealedClass.kt")
|
||||
public void testExpectActualSealedClass() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActualSealedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("expectActualSealedClass.kt")
|
||||
public void testExpectActualSealedClass() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActualSealedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerialierJava.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerialierJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerializerForClassWithNonSerializableType.kt")
|
||||
public void testExternalSerializerForClassWithNonSerializableType() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerializerForClassWithNonSerializableType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("externalSerializerForClassWithNonSerializableType.kt")
|
||||
public void testExternalSerializerForClassWithNonSerializableType() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/externalSerializerForClassWithNonSerializableType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generatedClassifiersViaLibraryDependency.kt")
|
||||
public void testGeneratedClassifiersViaLibraryDependency() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generatedClassifiersViaLibraryDependency.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("generatedClassifiersViaLibraryDependency.kt")
|
||||
public void testGeneratedClassifiersViaLibraryDependency() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generatedClassifiersViaLibraryDependency.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClasses.kt")
|
||||
public void testInlineClasses() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/inlineClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inlineClasses.kt")
|
||||
public void testInlineClasses() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/inlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/interfaces.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/interfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicAnnotations.kt")
|
||||
public void testIntrinsicAnnotations() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intrinsicAnnotations.kt")
|
||||
public void testIntrinsicAnnotations() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsBox.kt")
|
||||
public void testIntrinsicsBox() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsBox.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intrinsicsBox.kt")
|
||||
public void testIntrinsicsBox() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsBox.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsNonReified.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intrinsicsNonReified.kt")
|
||||
public void testIntrinsicsNonReified() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsNonReified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsNullable.kt")
|
||||
public void testIntrinsicsNullable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsNullable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intrinsicsNullable.kt")
|
||||
public void testIntrinsicsNullable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsNullable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsStarProjections.kt")
|
||||
public void testIntrinsicsStarProjections() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsStarProjections.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("intrinsicsStarProjections.kt")
|
||||
public void testIntrinsicsStarProjections() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsStarProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/metaSerializable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mpp.kt")
|
||||
public void testMpp() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/mpp.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("mpp.kt")
|
||||
public void testMpp() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/mpp.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiFieldValueClasses.kt")
|
||||
public void testMultiFieldValueClasses() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multiFieldValueClasses.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multiFieldValueClasses.kt")
|
||||
public void testMultiFieldValueClasses() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multiFieldValueClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multimoduleInheritance.kt")
|
||||
public void testMultimoduleInheritance() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multimoduleInheritance.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multimoduleInheritance.kt")
|
||||
public void testMultimoduleInheritance() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multimoduleInheritance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleGenericsPolymorphic.kt")
|
||||
public void testMultipleGenericsPolymorphic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multipleGenericsPolymorphic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleGenericsPolymorphic.kt")
|
||||
public void testMultipleGenericsPolymorphic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multipleGenericsPolymorphic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("namedCompanions.kt")
|
||||
public void testNamedCompanions() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/namedCompanions.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("namedCompanions.kt")
|
||||
public void testNamedCompanions() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/namedCompanions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("polymorphic.kt")
|
||||
public void testPolymorphic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/polymorphic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("polymorphic.kt")
|
||||
public void testPolymorphic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/polymorphic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateCustomSerializer.kt")
|
||||
public void testPrivateCustomSerializer() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/privateCustomSerializer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("privateCustomSerializer.kt")
|
||||
public void testPrivateCustomSerializer() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/privateCustomSerializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("repeatableSerialInfo.kt")
|
||||
public void testRepeatableSerialInfo() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/repeatableSerialInfo.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("repeatableSerialInfo.kt")
|
||||
public void testRepeatableSerialInfo() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/repeatableSerialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassMultifile.kt")
|
||||
public void testSealedClassMultifile() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedClassMultifile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClassMultifile.kt")
|
||||
public void testSealedClassMultifile() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedClassMultifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaces.kt")
|
||||
public void testSealedInterfaces() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedInterfaces.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaces.kt")
|
||||
public void testSealedInterfaces() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedInterfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serialInfo.kt")
|
||||
public void testSerialInfo() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serialInfo.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serialInfo.kt")
|
||||
public void testSerialInfo() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule.kt")
|
||||
public void testSerializableFromAnotherModule() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule.kt")
|
||||
public void testSerializableFromAnotherModule() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule_multipleFields.kt")
|
||||
public void testSerializableFromAnotherModule_multipleFields() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule_multipleFields.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule_multipleFields.kt")
|
||||
public void testSerializableFromAnotherModule_multipleFields() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule_multipleFields.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableOnPropertyType.kt")
|
||||
public void testSerializableOnPropertyType() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableOnPropertyType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableOnPropertyType.kt")
|
||||
public void testSerializableOnPropertyType() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableOnPropertyType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactory.kt")
|
||||
public void testSerializerFactory() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactory.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializerFactory.kt")
|
||||
public void testSerializerFactory() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactory.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactoryInUserDefined.kt")
|
||||
public void testSerializerFactoryInUserDefined() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactoryInUserDefined.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializerFactoryInUserDefined.kt")
|
||||
public void testSerializerFactoryInUserDefined() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactoryInUserDefined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjections.kt")
|
||||
public void testStarProjections() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("starProjections.kt")
|
||||
public void testStarProjections() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealiasesTest.kt")
|
||||
public void testTypealiasesTest() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/typealiasesTest.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typealiasesTest.kt")
|
||||
public void testTypealiasesTest() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/typealiasesTest.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("useSerializersChain.kt")
|
||||
public void testUseSerializersChain() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/useSerializersChain.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("useSerializersChain.kt")
|
||||
public void testUseSerializersChain() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/useSerializersChain.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("userDefinedSerializerInCompanion.kt")
|
||||
public void testUserDefinedSerializerInCompanion() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/userDefinedSerializerInCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("userDefinedSerializerInCompanion.kt")
|
||||
public void testUserDefinedSerializerInCompanion() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/userDefinedSerializerInCompanion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+154
-154
@@ -20,188 +20,188 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/boxIr")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationIrJsBoxTestGenerated extends AbstractSerializationIrJsBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxIr() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxIr() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationsOnFile.kt")
|
||||
public void testAnnotationsOnFile() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/annotationsOnFile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationsOnFile.kt")
|
||||
public void testAnnotationsOnFile() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/annotationsOnFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("caching.kt")
|
||||
public void testCaching() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("caching.kt")
|
||||
public void testCaching() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/caching.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
|
||||
public void testClashBetweenSerializableAndNonSerializableProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("clashBetweenSerializableAndNonSerializableProperty.kt")
|
||||
public void testClashBetweenSerializableAndNonSerializableProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/clashBetweenSerializableAndNonSerializableProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classSerializerAsObject.kt")
|
||||
public void testClassSerializerAsObject() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/classSerializerAsObject.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classSerializerAsObject.kt")
|
||||
public void testClassSerializerAsObject() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/classSerializerAsObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constValInSerialName.kt")
|
||||
public void testConstValInSerialName() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/constValInSerialName.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constValInSerialName.kt")
|
||||
public void testConstValInSerialName() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/constValInSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualByDefault.kt")
|
||||
public void testContextualByDefault() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualByDefault.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualByDefault.kt")
|
||||
public void testContextualByDefault() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualByDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualFallback.kt")
|
||||
public void testContextualFallback() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualFallback.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualFallback.kt")
|
||||
public void testContextualFallback() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualFallback.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("contextualWithTypeParameters.kt")
|
||||
public void testContextualWithTypeParameters() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualWithTypeParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("contextualWithTypeParameters.kt")
|
||||
public void testContextualWithTypeParameters() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/contextualWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedInterface.kt")
|
||||
public void testDelegatedInterface() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedInterface.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegatedInterface.kt")
|
||||
public void testDelegatedInterface() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProperty.kt")
|
||||
public void testDelegatedProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegatedProperty.kt")
|
||||
public void testDelegatedProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/delegatedProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumsAreCached.kt")
|
||||
public void testEnumsAreCached() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("enumsAreCached.kt")
|
||||
public void testEnumsAreCached() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludedFromExport.kt")
|
||||
public void testExcludedFromExport() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/excludedFromExport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excludedFromExport.kt")
|
||||
public void testExcludedFromExport() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/excludedFromExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("excludedFromFileExport.kt")
|
||||
public void testExcludedFromFileExport() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/excludedFromFileExport.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("excludedFromFileExport.kt")
|
||||
public void testExcludedFromFileExport() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/excludedFromFileExport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/interfaces.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/interfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/metaSerializable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/metaSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multimoduleInheritanceJs.kt")
|
||||
public void testMultimoduleInheritanceJs() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multimoduleInheritanceJs.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multimoduleInheritanceJs.kt")
|
||||
public void testMultimoduleInheritanceJs() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multimoduleInheritanceJs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleGenericsPolymorphic.kt")
|
||||
public void testMultipleGenericsPolymorphic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multipleGenericsPolymorphic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("multipleGenericsPolymorphic.kt")
|
||||
public void testMultipleGenericsPolymorphic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/multipleGenericsPolymorphic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassMultifile.kt")
|
||||
public void testSealedClassMultifile() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedClassMultifile.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClassMultifile.kt")
|
||||
public void testSealedClassMultifile() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedClassMultifile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaces.kt")
|
||||
public void testSealedInterfaces() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedInterfaces.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedInterfaces.kt")
|
||||
public void testSealedInterfaces() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/sealedInterfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule.kt")
|
||||
public void testSerializableFromAnotherModule() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule.kt")
|
||||
public void testSerializableFromAnotherModule() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule_multipleFields.kt")
|
||||
public void testSerializableFromAnotherModule_multipleFields() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule_multipleFields.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableFromAnotherModule_multipleFields.kt")
|
||||
public void testSerializableFromAnotherModule_multipleFields() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableFromAnotherModule_multipleFields.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializableOnPropertyType.kt")
|
||||
public void testSerializableOnPropertyType() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableOnPropertyType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializableOnPropertyType.kt")
|
||||
public void testSerializableOnPropertyType() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializableOnPropertyType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactory.kt")
|
||||
public void testSerializerFactory() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactory.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializerFactory.kt")
|
||||
public void testSerializerFactory() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactory.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFactoryInUserDefined.kt")
|
||||
public void testSerializerFactoryInUserDefined() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactoryInUserDefined.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializerFactoryInUserDefined.kt")
|
||||
public void testSerializerFactoryInUserDefined() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/serializerFactoryInUserDefined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("starProjections.kt")
|
||||
public void testStarProjections() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("starProjections.kt")
|
||||
public void testStarProjections() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("useSerializersChain.kt")
|
||||
public void testUseSerializersChain() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/useSerializersChain.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("useSerializersChain.kt")
|
||||
public void testUseSerializersChain() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/useSerializersChain.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("userDefinedSerializerInCompanion.kt")
|
||||
public void testUserDefinedSerializerInCompanion() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/userDefinedSerializerInCompanion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("userDefinedSerializerInCompanion.kt")
|
||||
public void testUserDefinedSerializerInCompanion() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/userDefinedSerializerInCompanion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -20,14 +20,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/jdk11BoxIr")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationJdk11FirLightTreeBoxTestGenerated extends AbstractSerializationJdk11FirLightTreeBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInJdk11BoxIr() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/jdk11BoxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInJdk11BoxIr() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/jdk11BoxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57647.kt")
|
||||
public void testKt57647() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/jdk11BoxIr/kt57647.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt57647.kt")
|
||||
public void testKt57647() {
|
||||
runTest("plugins/kotlinx-serialization/testData/jdk11BoxIr/kt57647.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -20,14 +20,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/jdk11BoxIr")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationJdk11IrBoxTestGenerated extends AbstractSerializationJdk11IrBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInJdk11BoxIr() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/jdk11BoxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInJdk11BoxIr() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/jdk11BoxIr"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57647.kt")
|
||||
public void testKt57647() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/jdk11BoxIr/kt57647.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt57647.kt")
|
||||
public void testKt57647() {
|
||||
runTest("plugins/kotlinx-serialization/testData/jdk11BoxIr/kt57647.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+149
-149
@@ -19,182 +19,182 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationPluginDiagnosticTestGenerated extends AbstractSerializationPluginDiagnosticTest {
|
||||
@Test
|
||||
@TestMetadata("abstractCustomSerializer.kt")
|
||||
public void testAbstractCustomSerializer() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/abstractCustomSerializer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("abstractCustomSerializer.kt")
|
||||
public void testAbstractCustomSerializer() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/abstractCustomSerializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionObjectSerializers.kt")
|
||||
public void testCompanionObjectSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/companionObjectSerializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("companionObjectSerializers.kt")
|
||||
public void testCompanionObjectSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/companionObjectSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customSerializers.kt")
|
||||
public void testCustomSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/customSerializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customSerializers.kt")
|
||||
public void testCustomSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/customSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DuplicateSerialName.kt")
|
||||
public void testDuplicateSerialName() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/DuplicateSerialName.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("DuplicateSerialName.kt")
|
||||
public void testDuplicateSerialName() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/DuplicateSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("EnumDuplicateSerialName.kt")
|
||||
public void testEnumDuplicateSerialName() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/EnumDuplicateSerialName.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("EnumDuplicateSerialName.kt")
|
||||
public void testEnumDuplicateSerialName() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/EnumDuplicateSerialName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/externalSerialierJava.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("externalSerialierJava.kt")
|
||||
public void testExternalSerialierJava() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/externalSerialierJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExternalSerializers.kt")
|
||||
public void testExternalSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ExternalSerializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ExternalSerializers.kt")
|
||||
public void testExternalSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ExternalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("GenericArrays.kt")
|
||||
public void testGenericArrays() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/GenericArrays.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("GenericArrays.kt")
|
||||
public void testGenericArrays() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/GenericArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IncorrectTransient.kt")
|
||||
public void testIncorrectTransient() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IncorrectTransient.kt")
|
||||
public void testIncorrectTransient() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IncorrectTransient2.kt")
|
||||
public void testIncorrectTransient2() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IncorrectTransient2.kt")
|
||||
public void testIncorrectTransient2() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/IncorrectTransient2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritableInfo.kt")
|
||||
public void testInheritableInfo() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/InheritableInfo.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("InheritableInfo.kt")
|
||||
public void testInheritableInfo() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/InheritableInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LazyRecursionBug.kt")
|
||||
public void testLazyRecursionBug() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/LazyRecursionBug.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("LazyRecursionBug.kt")
|
||||
public void testLazyRecursionBug() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/LazyRecursionBug.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LocalAndAnonymous.kt")
|
||||
public void testLocalAndAnonymous() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/LocalAndAnonymous.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("LocalAndAnonymous.kt")
|
||||
public void testLocalAndAnonymous() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/LocalAndAnonymous.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializableNested.kt")
|
||||
public void testMetaSerializableNested() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/metaSerializableNested.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("metaSerializableNested.kt")
|
||||
public void testMetaSerializableNested() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/metaSerializableNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NoSuitableCtorInParent.kt")
|
||||
public void testNoSuitableCtorInParent() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NoSuitableCtorInParent.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("NoSuitableCtorInParent.kt")
|
||||
public void testNoSuitableCtorInParent() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NoSuitableCtorInParent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NonSerializable.kt")
|
||||
public void testNonSerializable() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("NonSerializable.kt")
|
||||
public void testNonSerializable() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NonSerializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NullabilityIncompatible.kt")
|
||||
public void testNullabilityIncompatible() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NullabilityIncompatible.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("NullabilityIncompatible.kt")
|
||||
public void testNullabilityIncompatible() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/NullabilityIncompatible.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParamIsNotProperty.kt")
|
||||
public void testParamIsNotProperty() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ParamIsNotProperty.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ParamIsNotProperty.kt")
|
||||
public void testParamIsNotProperty() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ParamIsNotProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametrizedExternalSerializers.kt")
|
||||
public void testParametrizedExternalSerializers() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ParametrizedExternalSerializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ParametrizedExternalSerializers.kt")
|
||||
public void testParametrizedExternalSerializers() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/ParametrizedExternalSerializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("repeatableSerialInfo.kt")
|
||||
public void testRepeatableSerialInfo() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/repeatableSerialInfo.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("repeatableSerialInfo.kt")
|
||||
public void testRepeatableSerialInfo() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/repeatableSerialInfo.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializableEnums.kt")
|
||||
public void testSerializableEnums() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableEnums.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SerializableEnums.kt")
|
||||
public void testSerializableEnums() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableEnums.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializableIgnored.kt")
|
||||
public void testSerializableIgnored() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SerializableIgnored.kt")
|
||||
public void testSerializableIgnored() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializableIgnored.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializerFromOtherModule.kt")
|
||||
public void testSerializerFromOtherModule() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/serializerFromOtherModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializerFromOtherModule.kt")
|
||||
public void testSerializerFromOtherModule() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/serializerFromOtherModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeCompatibleForSpecials.kt")
|
||||
public void testSerializerTypeCompatibleForSpecials() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeCompatibleForSpecials.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeCompatibleForSpecials.kt")
|
||||
public void testSerializerTypeCompatibleForSpecials() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeCompatibleForSpecials.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeIncompatible.kt")
|
||||
public void testSerializerTypeIncompatible() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeIncompatible.kt")
|
||||
public void testSerializerTypeIncompatible() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatible.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeIncompatibleViaTypealias.kt")
|
||||
public void testSerializerTypeIncompatibleViaTypealias() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatibleViaTypealias.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SerializerTypeIncompatibleViaTypealias.kt")
|
||||
public void testSerializerTypeIncompatibleViaTypealias() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/SerializerTypeIncompatibleViaTypealias.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Transients.kt")
|
||||
public void testTransients() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/Transients.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("Transients.kt")
|
||||
public void testTransients() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/Transients.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliases.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasesCustomized.kt")
|
||||
public void testTypeAliasesCustomized() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliasesCustomized.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("typeAliasesCustomized.kt")
|
||||
public void testTypeAliasesCustomized() {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliasesCustomized.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -20,14 +20,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/boxWithoutRuntime")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationWithoutRuntimeFirLightTreeBoxTestGenerated extends AbstractSerializationWithoutRuntimeFirLightTreeBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWithoutRuntime() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxWithoutRuntime"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWithoutRuntime() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxWithoutRuntime"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("basic.kt")
|
||||
public void testBasic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxWithoutRuntime/basic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("basic.kt")
|
||||
public void testBasic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxWithoutRuntime/basic.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+9
-9
@@ -20,14 +20,14 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/kotlinx-serialization/testData/boxWithoutRuntime")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SerializationWithoutRuntimeIrBoxTestGenerated extends AbstractSerializationWithoutRuntimeIrBoxTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWithoutRuntime() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxWithoutRuntime"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxWithoutRuntime() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/kotlinx-serialization/testData/boxWithoutRuntime"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("basic.kt")
|
||||
public void testBasic() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxWithoutRuntime/basic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("basic.kt")
|
||||
public void testBasic() {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxWithoutRuntime/basic.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+154
-154
@@ -20,188 +20,188 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/lombok/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BlackBoxCodegenTestForLombokGenerated extends AbstractBlackBoxCodegenTestForLombok {
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefix.kt")
|
||||
public void testAccessorsStripPrefix() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefix.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefix.kt")
|
||||
public void testAccessorsStripPrefix() {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefix.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixConfig.kt")
|
||||
public void testAccessorsStripPrefixConfig() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefixConfig.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixConfig.kt")
|
||||
public void testAccessorsStripPrefixConfig() {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefixConfig.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructor.kt")
|
||||
public void testAllArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructor.kt")
|
||||
public void testAllArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorInference.kt")
|
||||
public void testAllArgsConstructorInference() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorInference.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorInference.kt")
|
||||
public void testAllArgsConstructorInference() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorInference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorStatic.kt")
|
||||
public void testAllArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorStatic.kt")
|
||||
public void testAllArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builder.kt")
|
||||
public void testBuilder() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builder.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builder.kt")
|
||||
public void testBuilder() {
|
||||
runTest("plugins/lombok/testData/box/builder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderGuava.kt")
|
||||
public void testBuilderGuava() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderGuava.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderGuava.kt")
|
||||
public void testBuilderGuava() {
|
||||
runTest("plugins/lombok/testData/box/builderGuava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderRawSingular.kt")
|
||||
public void testBuilderRawSingular() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderRawSingular.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderRawSingular.kt")
|
||||
public void testBuilderRawSingular() {
|
||||
runTest("plugins/lombok/testData/box/builderRawSingular.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderSingular.kt")
|
||||
public void testBuilderSingular() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderSingular.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderSingular.kt")
|
||||
public void testBuilderSingular() {
|
||||
runTest("plugins/lombok/testData/box/builderSingular.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configAccessors.kt")
|
||||
public void testConfigAccessors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configAccessors.kt")
|
||||
public void testConfigAccessors() {
|
||||
runTest("plugins/lombok/testData/box/configAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configAccessorsOverride.kt")
|
||||
public void testConfigAccessorsOverride() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configAccessorsOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configAccessorsOverride.kt")
|
||||
public void testConfigAccessorsOverride() {
|
||||
runTest("plugins/lombok/testData/box/configAccessorsOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configCaseInsensitive.kt")
|
||||
public void testConfigCaseInsensitive() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configCaseInsensitive.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configCaseInsensitive.kt")
|
||||
public void testConfigCaseInsensitive() {
|
||||
runTest("plugins/lombok/testData/box/configCaseInsensitive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configSimple.kt")
|
||||
public void testConfigSimple() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configSimple.kt")
|
||||
public void testConfigSimple() {
|
||||
runTest("plugins/lombok/testData/box/configSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("data.kt")
|
||||
public void testData() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/data.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("data.kt")
|
||||
public void testData() {
|
||||
runTest("plugins/lombok/testData/box/data.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsAccessors.kt")
|
||||
public void testGenericsAccessors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsAccessors.kt")
|
||||
public void testGenericsAccessors() {
|
||||
runTest("plugins/lombok/testData/box/genericsAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsConstructors.kt")
|
||||
public void testGenericsConstructors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsConstructors.kt")
|
||||
public void testGenericsConstructors() {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsConstructorsStatic.kt")
|
||||
public void testGenericsConstructorsStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructorsStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsConstructorsStatic.kt")
|
||||
public void testGenericsConstructorsStatic() {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructorsStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("gettersFluent.kt")
|
||||
public void testGettersFluent() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/gettersFluent.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("gettersFluent.kt")
|
||||
public void testGettersFluent() {
|
||||
runTest("plugins/lombok/testData/box/gettersFluent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructor.kt")
|
||||
public void testNoArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructor.kt")
|
||||
public void testNoArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructorStatic.kt")
|
||||
public void testNoArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructorStatic.kt")
|
||||
public void testNoArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullability.kt")
|
||||
public void testNullability() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/nullability.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullability.kt")
|
||||
public void testNullability() {
|
||||
runTest("plugins/lombok/testData/box/nullability.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyFromSuper.kt")
|
||||
public void testPropertyFromSuper() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/propertyFromSuper.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyFromSuper.kt")
|
||||
public void testPropertyFromSuper() {
|
||||
runTest("plugins/lombok/testData/box/propertyFromSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructor.kt")
|
||||
public void testRequiredArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructor.kt")
|
||||
public void testRequiredArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructorStatic.kt")
|
||||
public void testRequiredArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructorStatic.kt")
|
||||
public void testRequiredArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("settersVariations.kt")
|
||||
public void testSettersVariations() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/settersVariations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("settersVariations.kt")
|
||||
public void testSettersVariations() {
|
||||
runTest("plugins/lombok/testData/box/settersVariations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/lombok/testData/box/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("value.kt")
|
||||
public void testValue() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/value.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("value.kt")
|
||||
public void testValue() {
|
||||
runTest("plugins/lombok/testData/box/value.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueFieldAccess.kt")
|
||||
public void testValueFieldAccess() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/valueFieldAccess.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("valueFieldAccess.kt")
|
||||
public void testValueFieldAccess() {
|
||||
runTest("plugins/lombok/testData/box/valueFieldAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with.kt")
|
||||
public void testWith() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/with.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with.kt")
|
||||
public void testWith() {
|
||||
runTest("plugins/lombok/testData/box/with.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withBooleanField.kt")
|
||||
public void testWithBooleanField() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/withBooleanField.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withBooleanField.kt")
|
||||
public void testWithBooleanField() {
|
||||
runTest("plugins/lombok/testData/box/withBooleanField.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+54
-54
@@ -19,68 +19,68 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/lombok/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticTestForLombokGenerated extends AbstractDiagnosticTestForLombok {
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixCombined.kt")
|
||||
public void testAccessorsStripPrefixCombined() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/accessorsStripPrefixCombined.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixCombined.kt")
|
||||
public void testAccessorsStripPrefixCombined() {
|
||||
runTest("plugins/lombok/testData/diagnostics/accessorsStripPrefixCombined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationTypes.kt")
|
||||
public void testAnnotationTypes() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/annotationTypes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationTypes.kt")
|
||||
public void testAnnotationTypes() {
|
||||
runTest("plugins/lombok/testData/diagnostics/annotationTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderAnnotationArguments.kt")
|
||||
public void testBuilderAnnotationArguments() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderAnnotationArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderAnnotationArguments.kt")
|
||||
public void testBuilderAnnotationArguments() {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderAnnotationArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderConfig.kt")
|
||||
public void testBuilderConfig() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderConfig.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderConfig.kt")
|
||||
public void testBuilderConfig() {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderConfig.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderSingularNullability.kt")
|
||||
public void testBuilderSingularNullability() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderSingularNullability.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderSingularNullability.kt")
|
||||
public void testBuilderSingularNullability() {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderSingularNullability.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clashAccessors.kt")
|
||||
public void testClashAccessors() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/clashAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("clashAccessors.kt")
|
||||
public void testClashAccessors() {
|
||||
runTest("plugins/lombok/testData/diagnostics/clashAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getters.kt")
|
||||
public void testGetters() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/getters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("getters.kt")
|
||||
public void testGetters() {
|
||||
runTest("plugins/lombok/testData/diagnostics/getters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("gettersClassLevel.kt")
|
||||
public void testGettersClassLevel() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/gettersClassLevel.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("gettersClassLevel.kt")
|
||||
public void testGettersClassLevel() {
|
||||
runTest("plugins/lombok/testData/diagnostics/gettersClassLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setters.kt")
|
||||
public void testSetters() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/setters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("setters.kt")
|
||||
public void testSetters() {
|
||||
runTest("plugins/lombok/testData/diagnostics/setters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("settersClassLevel.kt")
|
||||
public void testSettersClassLevel() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/settersClassLevel.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("settersClassLevel.kt")
|
||||
public void testSettersClassLevel() {
|
||||
runTest("plugins/lombok/testData/diagnostics/settersClassLevel.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+154
-154
@@ -20,188 +20,188 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/lombok/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeBlackBoxCodegenTestForLombokGenerated extends AbstractFirLightTreeBlackBoxCodegenTestForLombok {
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefix.kt")
|
||||
public void testAccessorsStripPrefix() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefix.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefix.kt")
|
||||
public void testAccessorsStripPrefix() {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefix.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixConfig.kt")
|
||||
public void testAccessorsStripPrefixConfig() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefixConfig.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixConfig.kt")
|
||||
public void testAccessorsStripPrefixConfig() {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefixConfig.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructor.kt")
|
||||
public void testAllArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructor.kt")
|
||||
public void testAllArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorInference.kt")
|
||||
public void testAllArgsConstructorInference() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorInference.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorInference.kt")
|
||||
public void testAllArgsConstructorInference() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorInference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorStatic.kt")
|
||||
public void testAllArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorStatic.kt")
|
||||
public void testAllArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builder.kt")
|
||||
public void testBuilder() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builder.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builder.kt")
|
||||
public void testBuilder() {
|
||||
runTest("plugins/lombok/testData/box/builder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderGuava.kt")
|
||||
public void testBuilderGuava() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderGuava.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderGuava.kt")
|
||||
public void testBuilderGuava() {
|
||||
runTest("plugins/lombok/testData/box/builderGuava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderRawSingular.kt")
|
||||
public void testBuilderRawSingular() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderRawSingular.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderRawSingular.kt")
|
||||
public void testBuilderRawSingular() {
|
||||
runTest("plugins/lombok/testData/box/builderRawSingular.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderSingular.kt")
|
||||
public void testBuilderSingular() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderSingular.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderSingular.kt")
|
||||
public void testBuilderSingular() {
|
||||
runTest("plugins/lombok/testData/box/builderSingular.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configAccessors.kt")
|
||||
public void testConfigAccessors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configAccessors.kt")
|
||||
public void testConfigAccessors() {
|
||||
runTest("plugins/lombok/testData/box/configAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configAccessorsOverride.kt")
|
||||
public void testConfigAccessorsOverride() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configAccessorsOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configAccessorsOverride.kt")
|
||||
public void testConfigAccessorsOverride() {
|
||||
runTest("plugins/lombok/testData/box/configAccessorsOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configCaseInsensitive.kt")
|
||||
public void testConfigCaseInsensitive() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configCaseInsensitive.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configCaseInsensitive.kt")
|
||||
public void testConfigCaseInsensitive() {
|
||||
runTest("plugins/lombok/testData/box/configCaseInsensitive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configSimple.kt")
|
||||
public void testConfigSimple() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configSimple.kt")
|
||||
public void testConfigSimple() {
|
||||
runTest("plugins/lombok/testData/box/configSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("data.kt")
|
||||
public void testData() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/data.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("data.kt")
|
||||
public void testData() {
|
||||
runTest("plugins/lombok/testData/box/data.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsAccessors.kt")
|
||||
public void testGenericsAccessors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsAccessors.kt")
|
||||
public void testGenericsAccessors() {
|
||||
runTest("plugins/lombok/testData/box/genericsAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsConstructors.kt")
|
||||
public void testGenericsConstructors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsConstructors.kt")
|
||||
public void testGenericsConstructors() {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsConstructorsStatic.kt")
|
||||
public void testGenericsConstructorsStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructorsStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsConstructorsStatic.kt")
|
||||
public void testGenericsConstructorsStatic() {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructorsStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("gettersFluent.kt")
|
||||
public void testGettersFluent() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/gettersFluent.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("gettersFluent.kt")
|
||||
public void testGettersFluent() {
|
||||
runTest("plugins/lombok/testData/box/gettersFluent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructor.kt")
|
||||
public void testNoArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructor.kt")
|
||||
public void testNoArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructorStatic.kt")
|
||||
public void testNoArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructorStatic.kt")
|
||||
public void testNoArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullability.kt")
|
||||
public void testNullability() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/nullability.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullability.kt")
|
||||
public void testNullability() {
|
||||
runTest("plugins/lombok/testData/box/nullability.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyFromSuper.kt")
|
||||
public void testPropertyFromSuper() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/propertyFromSuper.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyFromSuper.kt")
|
||||
public void testPropertyFromSuper() {
|
||||
runTest("plugins/lombok/testData/box/propertyFromSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructor.kt")
|
||||
public void testRequiredArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructor.kt")
|
||||
public void testRequiredArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructorStatic.kt")
|
||||
public void testRequiredArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructorStatic.kt")
|
||||
public void testRequiredArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("settersVariations.kt")
|
||||
public void testSettersVariations() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/settersVariations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("settersVariations.kt")
|
||||
public void testSettersVariations() {
|
||||
runTest("plugins/lombok/testData/box/settersVariations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/lombok/testData/box/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("value.kt")
|
||||
public void testValue() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/value.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("value.kt")
|
||||
public void testValue() {
|
||||
runTest("plugins/lombok/testData/box/value.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueFieldAccess.kt")
|
||||
public void testValueFieldAccess() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/valueFieldAccess.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("valueFieldAccess.kt")
|
||||
public void testValueFieldAccess() {
|
||||
runTest("plugins/lombok/testData/box/valueFieldAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with.kt")
|
||||
public void testWith() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/with.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with.kt")
|
||||
public void testWith() {
|
||||
runTest("plugins/lombok/testData/box/with.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withBooleanField.kt")
|
||||
public void testWithBooleanField() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/withBooleanField.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withBooleanField.kt")
|
||||
public void testWithBooleanField() {
|
||||
runTest("plugins/lombok/testData/box/withBooleanField.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+54
-54
@@ -19,68 +19,68 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/lombok/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiDiagnosticTestForLombokGenerated extends AbstractFirPsiDiagnosticTestForLombok {
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixCombined.kt")
|
||||
public void testAccessorsStripPrefixCombined() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/accessorsStripPrefixCombined.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixCombined.kt")
|
||||
public void testAccessorsStripPrefixCombined() {
|
||||
runTest("plugins/lombok/testData/diagnostics/accessorsStripPrefixCombined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationTypes.kt")
|
||||
public void testAnnotationTypes() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/annotationTypes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annotationTypes.kt")
|
||||
public void testAnnotationTypes() {
|
||||
runTest("plugins/lombok/testData/diagnostics/annotationTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderAnnotationArguments.kt")
|
||||
public void testBuilderAnnotationArguments() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderAnnotationArguments.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderAnnotationArguments.kt")
|
||||
public void testBuilderAnnotationArguments() {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderAnnotationArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderConfig.kt")
|
||||
public void testBuilderConfig() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderConfig.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderConfig.kt")
|
||||
public void testBuilderConfig() {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderConfig.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderSingularNullability.kt")
|
||||
public void testBuilderSingularNullability() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderSingularNullability.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderSingularNullability.kt")
|
||||
public void testBuilderSingularNullability() {
|
||||
runTest("plugins/lombok/testData/diagnostics/builderSingularNullability.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("clashAccessors.kt")
|
||||
public void testClashAccessors() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/clashAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("clashAccessors.kt")
|
||||
public void testClashAccessors() {
|
||||
runTest("plugins/lombok/testData/diagnostics/clashAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getters.kt")
|
||||
public void testGetters() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/getters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("getters.kt")
|
||||
public void testGetters() {
|
||||
runTest("plugins/lombok/testData/diagnostics/getters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("gettersClassLevel.kt")
|
||||
public void testGettersClassLevel() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/gettersClassLevel.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("gettersClassLevel.kt")
|
||||
public void testGettersClassLevel() {
|
||||
runTest("plugins/lombok/testData/diagnostics/gettersClassLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setters.kt")
|
||||
public void testSetters() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/setters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("setters.kt")
|
||||
public void testSetters() {
|
||||
runTest("plugins/lombok/testData/diagnostics/setters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("settersClassLevel.kt")
|
||||
public void testSettersClassLevel() throws Exception {
|
||||
runTest("plugins/lombok/testData/diagnostics/settersClassLevel.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("settersClassLevel.kt")
|
||||
public void testSettersClassLevel() {
|
||||
runTest("plugins/lombok/testData/diagnostics/settersClassLevel.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+154
-154
@@ -20,188 +20,188 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/lombok/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrBlackBoxCodegenTestForLombokGenerated extends AbstractIrBlackBoxCodegenTestForLombok {
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefix.kt")
|
||||
public void testAccessorsStripPrefix() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefix.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefix.kt")
|
||||
public void testAccessorsStripPrefix() {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefix.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixConfig.kt")
|
||||
public void testAccessorsStripPrefixConfig() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefixConfig.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("accessorsStripPrefixConfig.kt")
|
||||
public void testAccessorsStripPrefixConfig() {
|
||||
runTest("plugins/lombok/testData/box/accessorsStripPrefixConfig.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructor.kt")
|
||||
public void testAllArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructor.kt")
|
||||
public void testAllArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorInference.kt")
|
||||
public void testAllArgsConstructorInference() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorInference.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorInference.kt")
|
||||
public void testAllArgsConstructorInference() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorInference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorStatic.kt")
|
||||
public void testAllArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("allArgsConstructorStatic.kt")
|
||||
public void testAllArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/allArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/lombok/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builder.kt")
|
||||
public void testBuilder() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builder.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builder.kt")
|
||||
public void testBuilder() {
|
||||
runTest("plugins/lombok/testData/box/builder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderGuava.kt")
|
||||
public void testBuilderGuava() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderGuava.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderGuava.kt")
|
||||
public void testBuilderGuava() {
|
||||
runTest("plugins/lombok/testData/box/builderGuava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderRawSingular.kt")
|
||||
public void testBuilderRawSingular() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderRawSingular.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderRawSingular.kt")
|
||||
public void testBuilderRawSingular() {
|
||||
runTest("plugins/lombok/testData/box/builderRawSingular.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("builderSingular.kt")
|
||||
public void testBuilderSingular() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/builderSingular.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("builderSingular.kt")
|
||||
public void testBuilderSingular() {
|
||||
runTest("plugins/lombok/testData/box/builderSingular.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configAccessors.kt")
|
||||
public void testConfigAccessors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configAccessors.kt")
|
||||
public void testConfigAccessors() {
|
||||
runTest("plugins/lombok/testData/box/configAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configAccessorsOverride.kt")
|
||||
public void testConfigAccessorsOverride() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configAccessorsOverride.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configAccessorsOverride.kt")
|
||||
public void testConfigAccessorsOverride() {
|
||||
runTest("plugins/lombok/testData/box/configAccessorsOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configCaseInsensitive.kt")
|
||||
public void testConfigCaseInsensitive() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configCaseInsensitive.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configCaseInsensitive.kt")
|
||||
public void testConfigCaseInsensitive() {
|
||||
runTest("plugins/lombok/testData/box/configCaseInsensitive.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("configSimple.kt")
|
||||
public void testConfigSimple() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/configSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("configSimple.kt")
|
||||
public void testConfigSimple() {
|
||||
runTest("plugins/lombok/testData/box/configSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("data.kt")
|
||||
public void testData() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/data.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("data.kt")
|
||||
public void testData() {
|
||||
runTest("plugins/lombok/testData/box/data.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsAccessors.kt")
|
||||
public void testGenericsAccessors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsAccessors.kt")
|
||||
public void testGenericsAccessors() {
|
||||
runTest("plugins/lombok/testData/box/genericsAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsConstructors.kt")
|
||||
public void testGenericsConstructors() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsConstructors.kt")
|
||||
public void testGenericsConstructors() {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericsConstructorsStatic.kt")
|
||||
public void testGenericsConstructorsStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructorsStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("genericsConstructorsStatic.kt")
|
||||
public void testGenericsConstructorsStatic() {
|
||||
runTest("plugins/lombok/testData/box/genericsConstructorsStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("gettersFluent.kt")
|
||||
public void testGettersFluent() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/gettersFluent.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("gettersFluent.kt")
|
||||
public void testGettersFluent() {
|
||||
runTest("plugins/lombok/testData/box/gettersFluent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructor.kt")
|
||||
public void testNoArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructor.kt")
|
||||
public void testNoArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructorStatic.kt")
|
||||
public void testNoArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noArgsConstructorStatic.kt")
|
||||
public void testNoArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/noArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullability.kt")
|
||||
public void testNullability() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/nullability.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullability.kt")
|
||||
public void testNullability() {
|
||||
runTest("plugins/lombok/testData/box/nullability.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyFromSuper.kt")
|
||||
public void testPropertyFromSuper() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/propertyFromSuper.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("propertyFromSuper.kt")
|
||||
public void testPropertyFromSuper() {
|
||||
runTest("plugins/lombok/testData/box/propertyFromSuper.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructor.kt")
|
||||
public void testRequiredArgsConstructor() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructor.kt")
|
||||
public void testRequiredArgsConstructor() {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructorStatic.kt")
|
||||
public void testRequiredArgsConstructorStatic() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructorStatic.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("requiredArgsConstructorStatic.kt")
|
||||
public void testRequiredArgsConstructorStatic() {
|
||||
runTest("plugins/lombok/testData/box/requiredArgsConstructorStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("settersVariations.kt")
|
||||
public void testSettersVariations() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/settersVariations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("settersVariations.kt")
|
||||
public void testSettersVariations() {
|
||||
runTest("plugins/lombok/testData/box/settersVariations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/lombok/testData/box/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("value.kt")
|
||||
public void testValue() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/value.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("value.kt")
|
||||
public void testValue() {
|
||||
runTest("plugins/lombok/testData/box/value.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("valueFieldAccess.kt")
|
||||
public void testValueFieldAccess() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/valueFieldAccess.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("valueFieldAccess.kt")
|
||||
public void testValueFieldAccess() {
|
||||
runTest("plugins/lombok/testData/box/valueFieldAccess.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("with.kt")
|
||||
public void testWith() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/with.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("with.kt")
|
||||
public void testWith() {
|
||||
runTest("plugins/lombok/testData/box/with.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withBooleanField.kt")
|
||||
public void testWithBooleanField() throws Exception {
|
||||
runTest("plugins/lombok/testData/box/withBooleanField.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withBooleanField.kt")
|
||||
public void testWithBooleanField() {
|
||||
runTest("plugins/lombok/testData/box/withBooleanField.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+64
-64
@@ -20,80 +20,80 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/noarg/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BlackBoxCodegenTestForNoArgGenerated extends AbstractBlackBoxCodegenTestForNoArg {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializers.kt")
|
||||
public void testInitializers() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/initializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("initializers.kt")
|
||||
public void testInitializers() {
|
||||
runTest("plugins/noarg/testData/box/initializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializersWithoutInvokeInitializers.kt")
|
||||
public void testInitializersWithoutInvokeInitializers() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/initializersWithoutInvokeInitializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("initializersWithoutInvokeInitializers.kt")
|
||||
public void testInitializersWithoutInvokeInitializers() {
|
||||
runTest("plugins/noarg/testData/box/initializersWithoutInvokeInitializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithInnerEnum.kt")
|
||||
public void testJavaAnnotationWithInnerEnum() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/javaAnnotationWithInnerEnum.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithInnerEnum.kt")
|
||||
public void testJavaAnnotationWithInnerEnum() {
|
||||
runTest("plugins/noarg/testData/box/javaAnnotationWithInnerEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18245.kt")
|
||||
public void testKt18245() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18245.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18245.kt")
|
||||
public void testKt18245() {
|
||||
runTest("plugins/noarg/testData/box/kt18245.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18667.kt")
|
||||
public void testKt18667() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18667.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18667.kt")
|
||||
public void testKt18667() {
|
||||
runTest("plugins/noarg/testData/box/kt18667.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18668.kt")
|
||||
public void testKt18668() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18668.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18668.kt")
|
||||
public void testKt18668() {
|
||||
runTest("plugins/noarg/testData/box/kt18668.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt53122.kt")
|
||||
public void testKt53122() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt53122.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt53122.kt")
|
||||
public void testKt53122() {
|
||||
runTest("plugins/noarg/testData/box/kt53122.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassInInitiailzer.kt")
|
||||
public void testLocalClassInInitiailzer() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/localClassInInitiailzer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClassInInitiailzer.kt")
|
||||
public void testLocalClassInInitiailzer() {
|
||||
runTest("plugins/noarg/testData/box/localClassInInitiailzer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/nestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("plugins/noarg/testData/box/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassWithExistingNoargCtor.kt")
|
||||
public void testSealedClassWithExistingNoargCtor() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/sealedClassWithExistingNoargCtor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClassWithExistingNoargCtor.kt")
|
||||
public void testSealedClassWithExistingNoargCtor() {
|
||||
runTest("plugins/noarg/testData/box/sealedClassWithExistingNoargCtor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/noarg/testData/box/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("subclass.kt")
|
||||
public void testSubclass() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/subclass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("subclass.kt")
|
||||
public void testSubclass() {
|
||||
runTest("plugins/noarg/testData/box/subclass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -19,20 +19,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/noarg/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticsTestForNoArgGenerated extends AbstractDiagnosticsTestForNoArg {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClass.kt")
|
||||
public void testInnerClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/diagnostics/innerClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("innerClass.kt")
|
||||
public void testInnerClass() {
|
||||
runTest("plugins/noarg/testData/diagnostics/innerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noNoargCtorInSuperclass.kt")
|
||||
public void testNoNoargCtorInSuperclass() throws Exception {
|
||||
runTest("plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noNoargCtorInSuperclass.kt")
|
||||
public void testNoNoargCtorInSuperclass() {
|
||||
runTest("plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+64
-64
@@ -20,80 +20,80 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/noarg/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeBlackBoxCodegenTestForNoArgGenerated extends AbstractFirLightTreeBlackBoxCodegenTestForNoArg {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializers.kt")
|
||||
public void testInitializers() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/initializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("initializers.kt")
|
||||
public void testInitializers() {
|
||||
runTest("plugins/noarg/testData/box/initializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializersWithoutInvokeInitializers.kt")
|
||||
public void testInitializersWithoutInvokeInitializers() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/initializersWithoutInvokeInitializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("initializersWithoutInvokeInitializers.kt")
|
||||
public void testInitializersWithoutInvokeInitializers() {
|
||||
runTest("plugins/noarg/testData/box/initializersWithoutInvokeInitializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithInnerEnum.kt")
|
||||
public void testJavaAnnotationWithInnerEnum() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/javaAnnotationWithInnerEnum.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithInnerEnum.kt")
|
||||
public void testJavaAnnotationWithInnerEnum() {
|
||||
runTest("plugins/noarg/testData/box/javaAnnotationWithInnerEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18245.kt")
|
||||
public void testKt18245() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18245.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18245.kt")
|
||||
public void testKt18245() {
|
||||
runTest("plugins/noarg/testData/box/kt18245.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18667.kt")
|
||||
public void testKt18667() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18667.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18667.kt")
|
||||
public void testKt18667() {
|
||||
runTest("plugins/noarg/testData/box/kt18667.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18668.kt")
|
||||
public void testKt18668() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18668.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18668.kt")
|
||||
public void testKt18668() {
|
||||
runTest("plugins/noarg/testData/box/kt18668.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt53122.kt")
|
||||
public void testKt53122() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt53122.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt53122.kt")
|
||||
public void testKt53122() {
|
||||
runTest("plugins/noarg/testData/box/kt53122.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassInInitiailzer.kt")
|
||||
public void testLocalClassInInitiailzer() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/localClassInInitiailzer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClassInInitiailzer.kt")
|
||||
public void testLocalClassInInitiailzer() {
|
||||
runTest("plugins/noarg/testData/box/localClassInInitiailzer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/nestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("plugins/noarg/testData/box/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassWithExistingNoargCtor.kt")
|
||||
public void testSealedClassWithExistingNoargCtor() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/sealedClassWithExistingNoargCtor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClassWithExistingNoargCtor.kt")
|
||||
public void testSealedClassWithExistingNoargCtor() {
|
||||
runTest("plugins/noarg/testData/box/sealedClassWithExistingNoargCtor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/noarg/testData/box/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("subclass.kt")
|
||||
public void testSubclass() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/subclass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("subclass.kt")
|
||||
public void testSubclass() {
|
||||
runTest("plugins/noarg/testData/box/subclass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+49
-49
@@ -20,62 +20,62 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/noarg/testData/bytecodeListing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeBytecodeListingTestForNoArgGenerated extends AbstractFirLightTreeBytecodeListingTestForNoArg {
|
||||
@Test
|
||||
public void testAllFilesPresentInBytecodeListing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBytecodeListing() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annoOnNotClass.kt")
|
||||
public void testAnnoOnNotClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/annoOnNotClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annoOnNotClass.kt")
|
||||
public void testAnnoOnNotClass() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/annoOnNotClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorVisibility.kt")
|
||||
public void testConstructorVisibility() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/constructorVisibility.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructorVisibility.kt")
|
||||
public void testConstructorVisibility() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/constructorVisibility.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParameters.kt")
|
||||
public void testDefaultParameters() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/defaultParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultParameters.kt")
|
||||
public void testDefaultParameters() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/defaultParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inherited.kt")
|
||||
public void testInherited() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/inherited.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inherited.kt")
|
||||
public void testInherited() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/inherited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/nestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noNoArg.kt")
|
||||
public void testNoNoArg() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/noNoArg.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noNoArg.kt")
|
||||
public void testNoNoArg() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/noNoArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("severalNoArg.kt")
|
||||
public void testSeveralNoArg() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/severalNoArg.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("severalNoArg.kt")
|
||||
public void testSeveralNoArg() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/severalNoArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superTypes.kt")
|
||||
public void testSuperTypes() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/superTypes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superTypes.kt")
|
||||
public void testSuperTypes() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/superTypes.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+14
-14
@@ -19,20 +19,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/noarg/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiDiagnosticsTestForNoArgGenerated extends AbstractFirPsiDiagnosticsTestForNoArg {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClass.kt")
|
||||
public void testInnerClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/diagnostics/innerClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("innerClass.kt")
|
||||
public void testInnerClass() {
|
||||
runTest("plugins/noarg/testData/diagnostics/innerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noNoargCtorInSuperclass.kt")
|
||||
public void testNoNoargCtorInSuperclass() throws Exception {
|
||||
runTest("plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noNoargCtorInSuperclass.kt")
|
||||
public void testNoNoargCtorInSuperclass() {
|
||||
runTest("plugins/noarg/testData/diagnostics/noNoargCtorInSuperclass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+64
-64
@@ -20,80 +20,80 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/noarg/testData/box")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrBlackBoxCodegenTestForNoArgGenerated extends AbstractIrBlackBoxCodegenTestForNoArg {
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBox() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializers.kt")
|
||||
public void testInitializers() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/initializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("initializers.kt")
|
||||
public void testInitializers() {
|
||||
runTest("plugins/noarg/testData/box/initializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("initializersWithoutInvokeInitializers.kt")
|
||||
public void testInitializersWithoutInvokeInitializers() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/initializersWithoutInvokeInitializers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("initializersWithoutInvokeInitializers.kt")
|
||||
public void testInitializersWithoutInvokeInitializers() {
|
||||
runTest("plugins/noarg/testData/box/initializersWithoutInvokeInitializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithInnerEnum.kt")
|
||||
public void testJavaAnnotationWithInnerEnum() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/javaAnnotationWithInnerEnum.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("javaAnnotationWithInnerEnum.kt")
|
||||
public void testJavaAnnotationWithInnerEnum() {
|
||||
runTest("plugins/noarg/testData/box/javaAnnotationWithInnerEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18245.kt")
|
||||
public void testKt18245() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18245.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18245.kt")
|
||||
public void testKt18245() {
|
||||
runTest("plugins/noarg/testData/box/kt18245.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18667.kt")
|
||||
public void testKt18667() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18667.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18667.kt")
|
||||
public void testKt18667() {
|
||||
runTest("plugins/noarg/testData/box/kt18667.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt18668.kt")
|
||||
public void testKt18668() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt18668.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt18668.kt")
|
||||
public void testKt18668() {
|
||||
runTest("plugins/noarg/testData/box/kt18668.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt53122.kt")
|
||||
public void testKt53122() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/kt53122.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt53122.kt")
|
||||
public void testKt53122() {
|
||||
runTest("plugins/noarg/testData/box/kt53122.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassInInitiailzer.kt")
|
||||
public void testLocalClassInInitiailzer() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/localClassInInitiailzer.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("localClassInInitiailzer.kt")
|
||||
public void testLocalClassInInitiailzer() {
|
||||
runTest("plugins/noarg/testData/box/localClassInInitiailzer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/nestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("plugins/noarg/testData/box/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sealedClassWithExistingNoargCtor.kt")
|
||||
public void testSealedClassWithExistingNoargCtor() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/sealedClassWithExistingNoargCtor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("sealedClassWithExistingNoargCtor.kt")
|
||||
public void testSealedClassWithExistingNoargCtor() {
|
||||
runTest("plugins/noarg/testData/box/sealedClassWithExistingNoargCtor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/noarg/testData/box/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("subclass.kt")
|
||||
public void testSubclass() throws Exception {
|
||||
runTest("plugins/noarg/testData/box/subclass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("subclass.kt")
|
||||
public void testSubclass() {
|
||||
runTest("plugins/noarg/testData/box/subclass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+49
-49
@@ -20,62 +20,62 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/noarg/testData/bytecodeListing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrBytecodeListingTestForNoArgGenerated extends AbstractIrBytecodeListingTestForNoArg {
|
||||
@Test
|
||||
public void testAllFilesPresentInBytecodeListing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInBytecodeListing() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/noarg/testData/bytecodeListing"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annoOnNotClass.kt")
|
||||
public void testAnnoOnNotClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/annoOnNotClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("annoOnNotClass.kt")
|
||||
public void testAnnoOnNotClass() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/annoOnNotClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorVisibility.kt")
|
||||
public void testConstructorVisibility() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/constructorVisibility.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructorVisibility.kt")
|
||||
public void testConstructorVisibility() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/constructorVisibility.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultParameters.kt")
|
||||
public void testDefaultParameters() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/defaultParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("defaultParameters.kt")
|
||||
public void testDefaultParameters() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/defaultParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inherited.kt")
|
||||
public void testInherited() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/inherited.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("inherited.kt")
|
||||
public void testInherited() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/inherited.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/nestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nestedClass.kt")
|
||||
public void testNestedClass() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/nestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noNoArg.kt")
|
||||
public void testNoNoArg() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/noNoArg.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noNoArg.kt")
|
||||
public void testNoNoArg() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/noNoArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("severalNoArg.kt")
|
||||
public void testSeveralNoArg() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/severalNoArg.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("severalNoArg.kt")
|
||||
public void testSeveralNoArg() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/severalNoArg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("superTypes.kt")
|
||||
public void testSuperTypes() throws Exception {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/superTypes.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("superTypes.kt")
|
||||
public void testSuperTypes() {
|
||||
runTest("plugins/noarg/testData/bytecodeListing/superTypes.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+94
-94
@@ -19,116 +19,116 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/parcelize/parcelize-compiler/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiParcelizeDiagnosticTestGenerated extends AbstractFirPsiParcelizeDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/parcelize/parcelize-compiler/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/parcelize/parcelize-compiler/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructors.kt")
|
||||
public void testConstructors() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructors.kt")
|
||||
public void testConstructors() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customCreator.kt")
|
||||
public void testCustomCreator() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customCreator.kt")
|
||||
public void testCustomCreator() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customParcelers.kt")
|
||||
public void testCustomParcelers() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customParcelers.kt")
|
||||
public void testCustomParcelers() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customWriteToParcel.kt")
|
||||
public void testCustomWriteToParcel() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customWriteToParcel.kt")
|
||||
public void testCustomWriteToParcel() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegate.kt")
|
||||
public void testDelegate() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegate.kt")
|
||||
public void testDelegate() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecatedAnnotations.kt")
|
||||
public void testDeprecatedAnnotations() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deprecatedAnnotations.kt")
|
||||
public void testDeprecatedAnnotations() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyPrimaryConstructor.kt")
|
||||
public void testEmptyPrimaryConstructor() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("emptyPrimaryConstructor.kt")
|
||||
public void testEmptyPrimaryConstructor() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ignoredOnParcelDefaultValues.kt")
|
||||
public void testIgnoredOnParcelDefaultValues() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ignoredOnParcelDefaultValues.kt")
|
||||
public void testIgnoredOnParcelDefaultValues() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ignoredOnParcelUnsupportedType.kt")
|
||||
public void testIgnoredOnParcelUnsupportedType() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ignoredOnParcelUnsupportedType.kt")
|
||||
public void testIgnoredOnParcelUnsupportedType() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt20062.kt")
|
||||
public void testKt20062() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt20062.kt")
|
||||
public void testKt20062() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47074.kt")
|
||||
public void testKt47074() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt47074.kt")
|
||||
public void testKt47074() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modality.kt")
|
||||
public void testModality() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("modality.kt")
|
||||
public void testModality() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notMagicParcel.kt")
|
||||
public void testNotMagicParcel() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("notMagicParcel.kt")
|
||||
public void testNotMagicParcel() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("properties.kt")
|
||||
public void testProperties() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("properties.kt")
|
||||
public void testProperties() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsupportedType.kt")
|
||||
public void testUnsupportedType() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("unsupportedType.kt")
|
||||
public void testUnsupportedType() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutParcelableSupertype.kt")
|
||||
public void testWithoutParcelableSupertype() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withoutParcelableSupertype.kt")
|
||||
public void testWithoutParcelableSupertype() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongAnnotationTarget.kt")
|
||||
public void testWrongAnnotationTarget() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("wrongAnnotationTarget.kt")
|
||||
public void testWrongAnnotationTarget() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+94
-94
@@ -19,116 +19,116 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/parcelize/parcelize-compiler/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ParcelizeDiagnosticTestGenerated extends AbstractParcelizeDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/parcelize/parcelize-compiler/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/parcelize/parcelize-compiler/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructors.kt")
|
||||
public void testConstructors() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructors.kt")
|
||||
public void testConstructors() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/constructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customCreator.kt")
|
||||
public void testCustomCreator() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customCreator.kt")
|
||||
public void testCustomCreator() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customCreator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customParcelers.kt")
|
||||
public void testCustomParcelers() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customParcelers.kt")
|
||||
public void testCustomParcelers() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customParcelers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customWriteToParcel.kt")
|
||||
public void testCustomWriteToParcel() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customWriteToParcel.kt")
|
||||
public void testCustomWriteToParcel() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/customWriteToParcel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegate.kt")
|
||||
public void testDelegate() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("delegate.kt")
|
||||
public void testDelegate() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/delegate.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecatedAnnotations.kt")
|
||||
public void testDeprecatedAnnotations() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deprecatedAnnotations.kt")
|
||||
public void testDeprecatedAnnotations() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/deprecatedAnnotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyPrimaryConstructor.kt")
|
||||
public void testEmptyPrimaryConstructor() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("emptyPrimaryConstructor.kt")
|
||||
public void testEmptyPrimaryConstructor() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/emptyPrimaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ignoredOnParcelDefaultValues.kt")
|
||||
public void testIgnoredOnParcelDefaultValues() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ignoredOnParcelDefaultValues.kt")
|
||||
public void testIgnoredOnParcelDefaultValues() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelDefaultValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ignoredOnParcelUnsupportedType.kt")
|
||||
public void testIgnoredOnParcelUnsupportedType() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ignoredOnParcelUnsupportedType.kt")
|
||||
public void testIgnoredOnParcelUnsupportedType() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/ignoredOnParcelUnsupportedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt20062.kt")
|
||||
public void testKt20062() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt20062.kt")
|
||||
public void testKt20062() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt20062.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt47074.kt")
|
||||
public void testKt47074() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt47074.kt")
|
||||
public void testKt47074() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/kt47074.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("modality.kt")
|
||||
public void testModality() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("modality.kt")
|
||||
public void testModality() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/modality.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notMagicParcel.kt")
|
||||
public void testNotMagicParcel() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("notMagicParcel.kt")
|
||||
public void testNotMagicParcel() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/notMagicParcel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("properties.kt")
|
||||
public void testProperties() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("properties.kt")
|
||||
public void testProperties() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/properties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsupportedType.kt")
|
||||
public void testUnsupportedType() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("unsupportedType.kt")
|
||||
public void testUnsupportedType() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/unsupportedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withoutParcelableSupertype.kt")
|
||||
public void testWithoutParcelableSupertype() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("withoutParcelableSupertype.kt")
|
||||
public void testWithoutParcelableSupertype() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/withoutParcelableSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wrongAnnotationTarget.kt")
|
||||
public void testWrongAnnotationTarget() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("wrongAnnotationTarget.kt")
|
||||
public void testWrongAnnotationTarget() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/diagnostics/wrongAnnotationTarget.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+502
-502
File diff suppressed because it is too large
Load Diff
+502
-502
File diff suppressed because it is too large
Load Diff
+124
-124
@@ -20,152 +20,152 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/parcelize/parcelize-compiler/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ParcelizeIrBytecodeListingTestGenerated extends AbstractParcelizeIrBytecodeListingTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/parcelize/parcelize-compiler/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/parcelize/parcelize-compiler/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classLoaderValues.kt")
|
||||
public void testClassLoaderValues() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/classLoaderValues.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("classLoaderValues.kt")
|
||||
public void testClassLoaderValues() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/classLoaderValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customDescribeContents.kt")
|
||||
public void testCustomDescribeContents() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customDescribeContents.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customDescribeContents.kt")
|
||||
public void testCustomDescribeContents() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customDescribeContents.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customParcelablesDifferentModule.kt")
|
||||
public void testCustomParcelablesDifferentModule() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customParcelablesDifferentModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customParcelablesDifferentModule.kt")
|
||||
public void testCustomParcelablesDifferentModule() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customParcelablesDifferentModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customParcelablesSameModule.kt")
|
||||
public void testCustomParcelablesSameModule() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customParcelablesSameModule.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customParcelablesSameModule.kt")
|
||||
public void testCustomParcelablesSameModule() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customParcelablesSameModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customSimple.kt")
|
||||
public void testCustomSimple() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("customSimpleWithNewArray.kt")
|
||||
public void testCustomSimpleWithNewArray() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customSimpleWithNewArray.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("customSimpleWithNewArray.kt")
|
||||
public void testCustomSimpleWithNewArray() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/customSimpleWithNewArray.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("describeContentsFromSuperType.kt")
|
||||
public void testDescribeContentsFromSuperType() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/describeContentsFromSuperType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("describeContentsFromSuperType.kt")
|
||||
public void testDescribeContentsFromSuperType() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/describeContentsFromSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("duplicatingClinit.kt")
|
||||
public void testDuplicatingClinit() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/duplicatingClinit.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("duplicatingClinit.kt")
|
||||
public void testDuplicatingClinit() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/duplicatingClinit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("efficientParcelable.kt")
|
||||
public void testEfficientParcelable() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/efficientParcelable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("efficientParcelable.kt")
|
||||
public void testEfficientParcelable() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/efficientParcelable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/generics.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IBinderIInterface.kt")
|
||||
public void testIBinderIInterface() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/IBinderIInterface.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("IBinderIInterface.kt")
|
||||
public void testIBinderIInterface() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/IBinderIInterface.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/kt25839.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("kt25839.kt")
|
||||
public void testKt25839() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/kt25839.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("listInsideList.kt")
|
||||
public void testListInsideList() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/listInsideList.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("listInsideList.kt")
|
||||
public void testListInsideList() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/listInsideList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableNotNullSize.kt")
|
||||
public void testNullableNotNullSize() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/nullableNotNullSize.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nullableNotNullSize.kt")
|
||||
public void testNullableNotNullSize() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/nullableNotNullSize.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parcelable.kt")
|
||||
public void testParcelable() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/parcelable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("parcelable.kt")
|
||||
public void testParcelable() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/parcelable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parcelableCreator.kt")
|
||||
public void testParcelableCreator() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/parcelableCreator.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("parcelableCreator.kt")
|
||||
public void testParcelableCreator() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/parcelableCreator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveArrays.kt")
|
||||
public void testPrimitiveArrays() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/primitiveArrays.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("primitiveArrays.kt")
|
||||
public void testPrimitiveArrays() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/primitiveArrays.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializable.kt")
|
||||
public void testSerializable() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/serializable.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializable.kt")
|
||||
public void testSerializable() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/serializable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("serializeValue.kt")
|
||||
public void testSerializeValue() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/serializeValue.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("serializeValue.kt")
|
||||
public void testSerializeValue() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/serializeValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/simple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleList.kt")
|
||||
public void testSimpleList() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/simpleList.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simpleList.kt")
|
||||
public void testSimpleList() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/simpleList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simplePersistentList.kt")
|
||||
public void testSimplePersistentList() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/simplePersistentList.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("simplePersistentList.kt")
|
||||
public void testSimplePersistentList() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/simplePersistentList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("size.kt")
|
||||
public void testSize() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/size.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("size.kt")
|
||||
public void testSize() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/size.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unsignedPrimitiveArrays.kt")
|
||||
public void testUnsignedPrimitiveArrays() throws Exception {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/unsignedPrimitiveArrays.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("unsignedPrimitiveArrays.kt")
|
||||
public void testUnsignedPrimitiveArrays() {
|
||||
runTest("plugins/parcelize/parcelize-compiler/testData/codegen/unsignedPrimitiveArrays.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+520
-520
File diff suppressed because it is too large
Load Diff
+520
-520
File diff suppressed because it is too large
Load Diff
+14
-14
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/sam-with-receiver/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeBlackBoxCodegenTestForSamWithReceiverGenerated extends AbstractFirLightTreeBlackBoxCodegenTestForSamWithReceiver {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SamConversion.kt")
|
||||
public void testSamConversion() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConversion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SamConversion.kt")
|
||||
public void testSamConversion() {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConversion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+49
-49
@@ -19,62 +19,62 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/sam-with-receiver/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiSamWithReceiverDiagnosticTestGenerated extends AbstractFirPsiSamWithReceiverDiagnosticTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noParameters.kt")
|
||||
public void testNoParameters() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noParameters.kt")
|
||||
public void testNoParameters() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noReturnType.kt")
|
||||
public void testNoReturnType() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noReturnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noReturnType.kt")
|
||||
public void testNoReturnType() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionNoParameters.kt")
|
||||
public void testSamConversionNoParameters() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionNoParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionNoParameters.kt")
|
||||
public void testSamConversionNoParameters() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionNoParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionSimple.kt")
|
||||
public void testSamConversionSimple() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionSimple.kt")
|
||||
public void testSamConversionSimple() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionSimpleWithoutAnnotation.kt")
|
||||
public void testSamConversionSimpleWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimpleWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionSimpleWithoutAnnotation.kt")
|
||||
public void testSamConversionSimpleWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimpleWithoutAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithAnnotation.kt")
|
||||
public void testSamWithAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samWithAnnotation.kt")
|
||||
public void testSamWithAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithoutAnnotation.kt")
|
||||
public void testSamWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samWithoutAnnotation.kt")
|
||||
public void testSamWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithoutAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleParameter.kt")
|
||||
public void testSingleParameter() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleParameter.kt")
|
||||
public void testSingleParameter() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleParameterWithoutAnnotation.kt")
|
||||
public void testSingleParameterWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameterWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleParameterWithoutAnnotation.kt")
|
||||
public void testSingleParameterWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameterWithoutAnnotation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/sam-with-receiver/testData/codegen")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrBlackBoxCodegenTestForSamWithReceiverGenerated extends AbstractIrBlackBoxCodegenTestForSamWithReceiver {
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInCodegen() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConstructor.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SamConstructor.kt")
|
||||
public void testSamConstructor() {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SamConversion.kt")
|
||||
public void testSamConversion() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConversion.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SamConversion.kt")
|
||||
public void testSamConversion() {
|
||||
runTest("plugins/sam-with-receiver/testData/codegen/SamConversion.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+10
-10
@@ -21,16 +21,16 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class SamWithReceiverScriptNewDefTestGenerated extends AbstractSamWithReceiverScriptNewDefTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInScript() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/script"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInScript() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/script"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("samConversionSimple.kts")
|
||||
public void testSamConversionSimple() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/script/samConversionSimple.kts");
|
||||
}
|
||||
@TestMetadata("samConversionSimple.kts")
|
||||
public void testSamConversionSimple() {
|
||||
runTest("plugins/sam-with-receiver/testData/script/samConversionSimple.kts");
|
||||
}
|
||||
}
|
||||
|
||||
+10
-10
@@ -21,16 +21,16 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class SamWithReceiverScriptTestGenerated extends AbstractSamWithReceiverScriptTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInScript() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/script"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInScript() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/script"), Pattern.compile("^(.+)\\.kts$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("samConversionSimple.kts")
|
||||
public void testSamConversionSimple() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/script/samConversionSimple.kts");
|
||||
}
|
||||
@TestMetadata("samConversionSimple.kts")
|
||||
public void testSamConversionSimple() {
|
||||
runTest("plugins/sam-with-receiver/testData/script/samConversionSimple.kts");
|
||||
}
|
||||
}
|
||||
|
||||
+49
-49
@@ -19,62 +19,62 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("plugins/sam-with-receiver/testData/diagnostics")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SamWithReceiverTestGenerated extends AbstractSamWithReceiverTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInDiagnostics() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/sam-with-receiver/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noParameters.kt")
|
||||
public void testNoParameters() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noParameters.kt")
|
||||
public void testNoParameters() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noReturnType.kt")
|
||||
public void testNoReturnType() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noReturnType.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("noReturnType.kt")
|
||||
public void testNoReturnType() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/noReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionNoParameters.kt")
|
||||
public void testSamConversionNoParameters() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionNoParameters.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionNoParameters.kt")
|
||||
public void testSamConversionNoParameters() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionNoParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionSimple.kt")
|
||||
public void testSamConversionSimple() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimple.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionSimple.kt")
|
||||
public void testSamConversionSimple() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samConversionSimpleWithoutAnnotation.kt")
|
||||
public void testSamConversionSimpleWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimpleWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samConversionSimpleWithoutAnnotation.kt")
|
||||
public void testSamConversionSimpleWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samConversionSimpleWithoutAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithAnnotation.kt")
|
||||
public void testSamWithAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samWithAnnotation.kt")
|
||||
public void testSamWithAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("samWithoutAnnotation.kt")
|
||||
public void testSamWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("samWithoutAnnotation.kt")
|
||||
public void testSamWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/samWithoutAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleParameter.kt")
|
||||
public void testSingleParameter() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleParameter.kt")
|
||||
public void testSingleParameter() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleParameterWithoutAnnotation.kt")
|
||||
public void testSingleParameterWithoutAnnotation() throws Exception {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameterWithoutAnnotation.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("singleParameterWithoutAnnotation.kt")
|
||||
public void testSingleParameterWithoutAnnotation() {
|
||||
runTest("plugins/sam-with-receiver/testData/diagnostics/singleParameterWithoutAnnotation.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user