[Test] Move test on modern jdk to separate test runners
This is needed to avoid problems with installation of proper jdk on developer machines. Those tests will be moved back to main box suites after migrating our tests on LTS versions of jdk (11 and 17 instead of 9 and 15)
This commit is contained in:
committed by
teamcityserver
parent
89bd52c7d2
commit
1fa74ef939
-165
@@ -11,7 +11,6 @@ import org.jetbrains.kotlin.test.TargetBackend;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.jupiter.api.Nested;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
@@ -41680,170 +41679,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava15")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava15 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava15() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava15"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava15/records")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Records {
|
||||
@Test
|
||||
public void testAllFilesPresentInRecords() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava15/records"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bytecodeShapeForJava.kt")
|
||||
public void testBytecodeShapeForJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/bytecodeShapeForJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("collectionSizeOverrides.kt")
|
||||
public void testCollectionSizeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/collectionSizeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dataJvmRecord.kt")
|
||||
public void testDataJvmRecord() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/dataJvmRecord.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmRecordBinary.kt")
|
||||
public void testJvmRecordBinary() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/jvmRecordBinary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverrides.kt")
|
||||
public void testPropertiesOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesAllCompatibilityJvmDefault.kt")
|
||||
public void testPropertiesOverridesAllCompatibilityJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverridesAllCompatibilityJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesEnableJvmDefault.kt")
|
||||
public void testPropertiesOverridesEnableJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverridesEnableJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentPropertyOverride.kt")
|
||||
public void testRecordDifferentPropertyOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordDifferentPropertyOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentSyntheticProperty.kt")
|
||||
public void testRecordDifferentSyntheticProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordDifferentSyntheticProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordPropertyAccess.kt")
|
||||
public void testRecordPropertyAccess() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordPropertyAccess.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava9")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava9 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava9() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava9"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic.kt")
|
||||
public void testConcatDynamic() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200.kt")
|
||||
public void testConcatDynamic200() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200Long.kt")
|
||||
public void testConcatDynamic200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic201.kt")
|
||||
public void testConcatDynamic201() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200.kt")
|
||||
public void testConcatDynamicIndy200() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200Long.kt")
|
||||
public void testConcatDynamicIndy200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy201.kt")
|
||||
public void testConcatDynamicIndy201() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicInlineClasses.kt")
|
||||
public void testConcatDynamicInlineClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicInlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicSpecialSymbols.kt")
|
||||
public void testConcatDynamicSpecialSymbols() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicSpecialSymbols.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicWithInline.kt")
|
||||
public void testConcatDynamicWithInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicWithInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36984.kt")
|
||||
public void testKt36984() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/kt36984.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varHandle.kt")
|
||||
public void testVarHandle() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/varHandle.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/throws")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
-165
@@ -11,7 +11,6 @@ import org.jetbrains.kotlin.test.TargetBackend;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.jupiter.api.Nested;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
@@ -41524,170 +41523,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava15")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava15 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava15() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava15"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava15/records")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Records {
|
||||
@Test
|
||||
public void testAllFilesPresentInRecords() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava15/records"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bytecodeShapeForJava.kt")
|
||||
public void testBytecodeShapeForJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/bytecodeShapeForJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("collectionSizeOverrides.kt")
|
||||
public void testCollectionSizeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/collectionSizeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dataJvmRecord.kt")
|
||||
public void testDataJvmRecord() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/dataJvmRecord.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmRecordBinary.kt")
|
||||
public void testJvmRecordBinary() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/jvmRecordBinary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverrides.kt")
|
||||
public void testPropertiesOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesAllCompatibilityJvmDefault.kt")
|
||||
public void testPropertiesOverridesAllCompatibilityJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverridesAllCompatibilityJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesEnableJvmDefault.kt")
|
||||
public void testPropertiesOverridesEnableJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverridesEnableJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentPropertyOverride.kt")
|
||||
public void testRecordDifferentPropertyOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordDifferentPropertyOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentSyntheticProperty.kt")
|
||||
public void testRecordDifferentSyntheticProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordDifferentSyntheticProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordPropertyAccess.kt")
|
||||
public void testRecordPropertyAccess() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordPropertyAccess.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava9")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava9 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava9() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava9"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic.kt")
|
||||
public void testConcatDynamic() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200.kt")
|
||||
public void testConcatDynamic200() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200Long.kt")
|
||||
public void testConcatDynamic200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic201.kt")
|
||||
public void testConcatDynamic201() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200.kt")
|
||||
public void testConcatDynamicIndy200() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200Long.kt")
|
||||
public void testConcatDynamicIndy200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy201.kt")
|
||||
public void testConcatDynamicIndy201() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicInlineClasses.kt")
|
||||
public void testConcatDynamicInlineClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicInlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicSpecialSymbols.kt")
|
||||
public void testConcatDynamicSpecialSymbols() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicSpecialSymbols.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicWithInline.kt")
|
||||
public void testConcatDynamicWithInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicWithInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36984.kt")
|
||||
public void testKt36984() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/kt36984.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varHandle.kt")
|
||||
public void testVarHandle() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/varHandle.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/throws")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+192
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.test.runners.codegen;
|
||||
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.kotlin.test.util.KtTestUtil;
|
||||
import org.jetbrains.kotlin.test.TargetBackend;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.jupiter.api.Nested;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class BlackBoxModernJdkCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxModernJdk() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk/testsWithJava15")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava15 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava15() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava15"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk/testsWithJava15/records")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Records {
|
||||
@Test
|
||||
public void testAllFilesPresentInRecords() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava15/records"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bytecodeShapeForJava.kt")
|
||||
public void testBytecodeShapeForJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/bytecodeShapeForJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("collectionSizeOverrides.kt")
|
||||
public void testCollectionSizeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/collectionSizeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dataJvmRecord.kt")
|
||||
public void testDataJvmRecord() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/dataJvmRecord.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmRecordBinary.kt")
|
||||
public void testJvmRecordBinary() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/jvmRecordBinary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverrides.kt")
|
||||
public void testPropertiesOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/propertiesOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesAllCompatibilityJvmDefault.kt")
|
||||
public void testPropertiesOverridesAllCompatibilityJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/propertiesOverridesAllCompatibilityJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesEnableJvmDefault.kt")
|
||||
public void testPropertiesOverridesEnableJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/propertiesOverridesEnableJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentPropertyOverride.kt")
|
||||
public void testRecordDifferentPropertyOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/recordDifferentPropertyOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentSyntheticProperty.kt")
|
||||
public void testRecordDifferentSyntheticProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/recordDifferentSyntheticProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordPropertyAccess.kt")
|
||||
public void testRecordPropertyAccess() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/recordPropertyAccess.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk/testsWithJava9")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava9 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava9() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava9"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic.kt")
|
||||
public void testConcatDynamic() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200.kt")
|
||||
public void testConcatDynamic200() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamic200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200Long.kt")
|
||||
public void testConcatDynamic200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamic200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic201.kt")
|
||||
public void testConcatDynamic201() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamic201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200.kt")
|
||||
public void testConcatDynamicIndy200() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicIndy200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200Long.kt")
|
||||
public void testConcatDynamicIndy200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicIndy200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy201.kt")
|
||||
public void testConcatDynamicIndy201() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicIndy201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicInlineClasses.kt")
|
||||
public void testConcatDynamicInlineClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicInlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicSpecialSymbols.kt")
|
||||
public void testConcatDynamicSpecialSymbols() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicSpecialSymbols.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicWithInline.kt")
|
||||
public void testConcatDynamicWithInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicWithInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36984.kt")
|
||||
public void testKt36984() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/kt36984.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varHandle.kt")
|
||||
public void testVarHandle() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/varHandle.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
-165
@@ -11,7 +11,6 @@ import org.jetbrains.kotlin.test.TargetBackend;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.jupiter.api.Nested;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
@@ -41680,170 +41679,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava15")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava15 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava15() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava15"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava15/records")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Records {
|
||||
@Test
|
||||
public void testAllFilesPresentInRecords() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava15/records"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bytecodeShapeForJava.kt")
|
||||
public void testBytecodeShapeForJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/bytecodeShapeForJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("collectionSizeOverrides.kt")
|
||||
public void testCollectionSizeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/collectionSizeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dataJvmRecord.kt")
|
||||
public void testDataJvmRecord() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/dataJvmRecord.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmRecordBinary.kt")
|
||||
public void testJvmRecordBinary() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/jvmRecordBinary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverrides.kt")
|
||||
public void testPropertiesOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesAllCompatibilityJvmDefault.kt")
|
||||
public void testPropertiesOverridesAllCompatibilityJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverridesAllCompatibilityJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesEnableJvmDefault.kt")
|
||||
public void testPropertiesOverridesEnableJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/propertiesOverridesEnableJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentPropertyOverride.kt")
|
||||
public void testRecordDifferentPropertyOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordDifferentPropertyOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentSyntheticProperty.kt")
|
||||
public void testRecordDifferentSyntheticProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordDifferentSyntheticProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordPropertyAccess.kt")
|
||||
public void testRecordPropertyAccess() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava15/records/recordPropertyAccess.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/box/testsWithJava9")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava9 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava9() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/testsWithJava9"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic.kt")
|
||||
public void testConcatDynamic() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200.kt")
|
||||
public void testConcatDynamic200() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200Long.kt")
|
||||
public void testConcatDynamic200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic201.kt")
|
||||
public void testConcatDynamic201() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamic201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200.kt")
|
||||
public void testConcatDynamicIndy200() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200Long.kt")
|
||||
public void testConcatDynamicIndy200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy201.kt")
|
||||
public void testConcatDynamicIndy201() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicIndy201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicInlineClasses.kt")
|
||||
public void testConcatDynamicInlineClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicInlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicSpecialSymbols.kt")
|
||||
public void testConcatDynamicSpecialSymbols() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicSpecialSymbols.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicWithInline.kt")
|
||||
public void testConcatDynamicWithInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/concatDynamicWithInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36984.kt")
|
||||
public void testKt36984() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/kt36984.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varHandle.kt")
|
||||
public void testVarHandle() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/testsWithJava9/varHandle.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/throws")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+192
@@ -0,0 +1,192 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
package org.jetbrains.kotlin.test.runners.codegen;
|
||||
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.kotlin.test.util.KtTestUtil;
|
||||
import org.jetbrains.kotlin.test.TargetBackend;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.jupiter.api.Nested;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrBlackBoxModernJdkCodegenTestGenerated extends AbstractIrBlackBoxCodegenTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInBoxModernJdk() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk/testsWithJava15")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava15 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava15() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava15"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk/testsWithJava15/records")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Records {
|
||||
@Test
|
||||
public void testAllFilesPresentInRecords() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava15/records"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("bytecodeShapeForJava.kt")
|
||||
public void testBytecodeShapeForJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/bytecodeShapeForJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("collectionSizeOverrides.kt")
|
||||
public void testCollectionSizeOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/collectionSizeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dataJvmRecord.kt")
|
||||
public void testDataJvmRecord() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/dataJvmRecord.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmRecordBinary.kt")
|
||||
public void testJvmRecordBinary() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/jvmRecordBinary.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverrides.kt")
|
||||
public void testPropertiesOverrides() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/propertiesOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesAllCompatibilityJvmDefault.kt")
|
||||
public void testPropertiesOverridesAllCompatibilityJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/propertiesOverridesAllCompatibilityJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertiesOverridesEnableJvmDefault.kt")
|
||||
public void testPropertiesOverridesEnableJvmDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/propertiesOverridesEnableJvmDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentPropertyOverride.kt")
|
||||
public void testRecordDifferentPropertyOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/recordDifferentPropertyOverride.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordDifferentSyntheticProperty.kt")
|
||||
public void testRecordDifferentSyntheticProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/recordDifferentSyntheticProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recordPropertyAccess.kt")
|
||||
public void testRecordPropertyAccess() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava15/records/recordPropertyAccess.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@Tag("<modernJava>")
|
||||
@TestMetadata("compiler/testData/codegen/boxModernJdk/testsWithJava9")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TestsWithJava9 {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithJava9() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava9"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic.kt")
|
||||
public void testConcatDynamic() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200.kt")
|
||||
public void testConcatDynamic200() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamic200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic200Long.kt")
|
||||
public void testConcatDynamic200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamic200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamic201.kt")
|
||||
public void testConcatDynamic201() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamic201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200.kt")
|
||||
public void testConcatDynamicIndy200() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicIndy200.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy200Long.kt")
|
||||
public void testConcatDynamicIndy200Long() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicIndy200Long.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicIndy201.kt")
|
||||
public void testConcatDynamicIndy201() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicIndy201.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicInlineClasses.kt")
|
||||
public void testConcatDynamicInlineClasses() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicInlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicSpecialSymbols.kt")
|
||||
public void testConcatDynamicSpecialSymbols() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicSpecialSymbols.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("concatDynamicWithInline.kt")
|
||||
public void testConcatDynamicWithInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/concatDynamicWithInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt36984.kt")
|
||||
public void testKt36984() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/kt36984.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varHandle.kt")
|
||||
public void testVarHandle() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava9/varHandle.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -56,11 +56,11 @@ abstract class AbstractJvmBlackBoxCodegenTestBase<R : ResultingArtifact.Frontend
|
||||
}
|
||||
}
|
||||
|
||||
forTestsMatching("compiler/testData/codegen/box/testsWithJava9/*") {
|
||||
forTestsMatching("compiler/testData/codegen/boxModernJdk/testsWithJava9/*") {
|
||||
configureModernJavaTest(TestJdkKind.FULL_JDK_9, JvmTarget.JVM_9)
|
||||
}
|
||||
|
||||
forTestsMatching("compiler/testData/codegen/box/testsWithJava15/*") {
|
||||
forTestsMatching("compiler/testData/codegen/boxModernJdk/testsWithJava15/*") {
|
||||
configureModernJavaTest(TestJdkKind.FULL_JDK_15, JvmTarget.JVM_15)
|
||||
}
|
||||
|
||||
|
||||
+8
@@ -74,6 +74,14 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
|
||||
model("codegen/box")
|
||||
}
|
||||
|
||||
testClass<AbstractBlackBoxCodegenTest>("BlackBoxModernJdkCodegenTestGenerated") {
|
||||
model("codegen/boxModernJdk")
|
||||
}
|
||||
|
||||
testClass<AbstractIrBlackBoxCodegenTest>("IrBlackBoxModernJdkCodegenTestGenerated") {
|
||||
model("codegen/boxModernJdk")
|
||||
}
|
||||
|
||||
testClass<AbstractJvmIrAgainstOldBoxTest> {
|
||||
model("codegen/box/compileKotlinAgainstKotlin")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user