|
|
|
@@ -8,6 +8,7 @@ package org.jetbrains.kotlin.fir;
|
|
|
|
|
import com.intellij.testFramework.TestDataPath;
|
|
|
|
|
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
|
|
|
|
|
import org.jetbrains.kotlin.test.KotlinTestUtils;
|
|
|
|
|
import org.jetbrains.kotlin.test.TargetBackend;
|
|
|
|
|
import org.jetbrains.kotlin.test.TestMetadata;
|
|
|
|
|
import org.junit.runner.RunWith;
|
|
|
|
|
|
|
|
|
@@ -21,11 +22,11 @@ import java.util.regex.Pattern;
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInIrText() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("compiler/testData/ir/irText/classes")
|
|
|
|
@@ -33,7 +34,7 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Classes extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("abstractMembers.kt")
|
|
|
|
@@ -42,7 +43,7 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInClasses() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/classes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/classes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("annotationClasses.kt")
|
|
|
|
@@ -135,6 +136,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
runTest("compiler/testData/ir/irText/classes/initVal.kt");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("initValInLambda.kt")
|
|
|
|
|
public void testInitValInLambda() throws Exception {
|
|
|
|
|
runTest("compiler/testData/ir/irText/classes/initValInLambda.kt");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("initVar.kt")
|
|
|
|
|
public void testInitVar() throws Exception {
|
|
|
|
|
runTest("compiler/testData/ir/irText/classes/initVar.kt");
|
|
|
|
@@ -221,11 +227,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Declarations extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInDeclarations() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("catchParameterInTopLevelProperty.kt")
|
|
|
|
@@ -328,11 +334,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Annotations extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInAnnotations() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/annotations"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("annotationsInAnnotationArguments.kt")
|
|
|
|
@@ -491,11 +497,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Multiplatform extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInMultiplatform() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/multiplatform"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/multiplatform"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("expectClassInherited.kt")
|
|
|
|
@@ -519,11 +525,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Parameters extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInParameters() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/parameters"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/parameters"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("class.kt")
|
|
|
|
@@ -597,11 +603,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class ProvideDelegate extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInProvideDelegate() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("differentReceivers.kt")
|
|
|
|
@@ -641,11 +647,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Errors extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInErrors() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/errors"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/errors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("suppressedNonPublicCall.kt")
|
|
|
|
@@ -664,11 +670,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Expressions extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInExpressions() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/expressions"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/expressions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("argumentMappedWithError.kt")
|
|
|
|
@@ -1326,11 +1332,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class FloatingPointComparisons extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInFloatingPointComparisons() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/expressions/floatingPointComparisons"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/expressions/floatingPointComparisons"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("comparableWithDoubleOrFloat.kt")
|
|
|
|
@@ -1394,11 +1400,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Sam extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInSam() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/expressions/sam"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/expressions/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("samByProjectedType.kt")
|
|
|
|
@@ -1448,11 +1454,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Lambdas extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInLambdas() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("anonymousFunction.kt")
|
|
|
|
@@ -1501,11 +1507,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Regressions extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInRegressions() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/regressions"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/regressions"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("coercionInLoop.kt")
|
|
|
|
@@ -1533,11 +1539,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class NewInference extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInNewInference() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/regressions/newInference"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/regressions/newInference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("fixationOrder1.kt")
|
|
|
|
@@ -1552,11 +1558,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Singletons extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInSingletons() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/singletons"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/singletons"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("companion.kt")
|
|
|
|
@@ -1580,11 +1586,11 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Stubs extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInStubs() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/stubs"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/stubs"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("builtinMap.kt")
|
|
|
|
@@ -1658,7 +1664,7 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
@RunWith(JUnit3RunnerWithInners.class)
|
|
|
|
|
public static class Types extends AbstractFir2IrTextTest {
|
|
|
|
|
private void runTest(String testDataFilePath) throws Exception {
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
|
|
|
|
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY_FIR, testDataFilePath);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("abbreviatedTypes.kt")
|
|
|
|
@@ -1667,7 +1673,7 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void testAllFilesPresentInTypes() throws Exception {
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/types"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
|
|
|
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/types"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.ANY_FIR, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@TestMetadata("asOnPlatformType.kt")
|
|
|
|
|