[Test] Regenerate tests after two previous commits
This commit is contained in:
committed by
Space Team
parent
d9beae0556
commit
acf2296590
+26
-26
@@ -21,36 +21,36 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class FirOldFrontendLightClassesTestGenerated extends AbstractFirOldFrontendLightClassesTest {
|
||||
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 testAllFilesPresentInLightClasses() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/lightClasses"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInLightClasses() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/lightClasses"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotationTargets.kt")
|
||||
public void testAnnotationTargets() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/annotationTargets.kt");
|
||||
}
|
||||
@TestMetadata("annotationTargets.kt")
|
||||
public void testAnnotationTargets() {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/annotationTargets.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericClasses.kt")
|
||||
public void testGenericClasses() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/genericClasses.kt");
|
||||
}
|
||||
@TestMetadata("genericClasses.kt")
|
||||
public void testGenericClasses() {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/genericClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedClasses.kt")
|
||||
public void testNestedClasses() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/nestedClasses.kt");
|
||||
}
|
||||
@TestMetadata("nestedClasses.kt")
|
||||
public void testNestedClasses() {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/nestedClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/simple.kt");
|
||||
}
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/simple.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeMapping.kt")
|
||||
public void testTypeMapping() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/typeMapping.kt");
|
||||
}
|
||||
@TestMetadata("typeMapping.kt")
|
||||
public void testTypeMapping() {
|
||||
runTest("compiler/fir/analysis-tests/testData/lightClasses/typeMapping.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+1565
-1565
File diff suppressed because it is too large
Load Diff
+105
-105
@@ -21,115 +21,115 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class OwnFirTypeEnhancementTestGenerated extends AbstractOwnFirTypeEnhancementTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInEnhancement() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/enhancement"), Pattern.compile("^(.+)\\.java$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/fir/analysis-tests/testData/enhancement/jsr305")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Jsr305 extends AbstractOwnFirTypeEnhancementTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInJsr305() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/enhancement/jsr305"), Pattern.compile("^(.+)\\.java$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("NonNullNever.java")
|
||||
public void testNonNullNever() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/NonNullNever.java");
|
||||
}
|
||||
|
||||
@TestMetadata("Simple.java")
|
||||
public void testSimple() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/Simple.java");
|
||||
}
|
||||
|
||||
@TestMetadata("Strange.java")
|
||||
public void testStrange() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/Strange.java");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TypeQualifierDefault extends AbstractOwnFirTypeEnhancementTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTypeQualifierDefault() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault"), Pattern.compile("^(.+)\\.java$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("FieldsAreNullable.java")
|
||||
public void testFieldsAreNullable() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/FieldsAreNullable.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ForceFlexibility.java")
|
||||
public void testForceFlexibility() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/ForceFlexibility.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ForceFlexibleOverOverrides.java")
|
||||
public void testForceFlexibleOverOverrides() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/ForceFlexibleOverOverrides.java");
|
||||
}
|
||||
|
||||
@TestMetadata("NullabilityFromOverridden.java")
|
||||
public void testNullabilityFromOverridden() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/NullabilityFromOverridden.java");
|
||||
}
|
||||
|
||||
@TestMetadata("OverridingDefaultQualifier.java")
|
||||
public void testOverridingDefaultQualifier() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/OverridingDefaultQualifier.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ParametersAreNonnullByDefault.java")
|
||||
public void testParametersAreNonnullByDefault() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/ParametersAreNonnullByDefault.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ParametersAreNonnullByDefaultPackage.java")
|
||||
public void testParametersAreNonnullByDefaultPackage() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/ParametersAreNonnullByDefaultPackage.java");
|
||||
}
|
||||
|
||||
@TestMetadata("SpringNullable.java")
|
||||
public void testSpringNullable() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/SpringNullable.java");
|
||||
}
|
||||
|
||||
@TestMetadata("SpringNullablePackage.java")
|
||||
public void testSpringNullablePackage() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/SpringNullablePackage.java");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/fir/analysis-tests/testData/enhancement/mapping")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Mapping extends AbstractOwnFirTypeEnhancementTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInEnhancement() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/enhancement"), Pattern.compile("^(.+)\\.java$"), null, true);
|
||||
@TestMetadata("AbstractMap.java")
|
||||
public void testAbstractMap() {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/mapping/AbstractMap.java");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/fir/analysis-tests/testData/enhancement/jsr305")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Jsr305 extends AbstractOwnFirTypeEnhancementTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInJsr305() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/enhancement/jsr305"), Pattern.compile("^(.+)\\.java$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("NonNullNever.java")
|
||||
public void testNonNullNever() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/NonNullNever.java");
|
||||
}
|
||||
|
||||
@TestMetadata("Simple.java")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/Simple.java");
|
||||
}
|
||||
|
||||
@TestMetadata("Strange.java")
|
||||
public void testStrange() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/Strange.java");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TypeQualifierDefault extends AbstractOwnFirTypeEnhancementTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTypeQualifierDefault() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault"), Pattern.compile("^(.+)\\.java$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("FieldsAreNullable.java")
|
||||
public void testFieldsAreNullable() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/FieldsAreNullable.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ForceFlexibility.java")
|
||||
public void testForceFlexibility() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/ForceFlexibility.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ForceFlexibleOverOverrides.java")
|
||||
public void testForceFlexibleOverOverrides() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/ForceFlexibleOverOverrides.java");
|
||||
}
|
||||
|
||||
@TestMetadata("NullabilityFromOverridden.java")
|
||||
public void testNullabilityFromOverridden() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/NullabilityFromOverridden.java");
|
||||
}
|
||||
|
||||
@TestMetadata("OverridingDefaultQualifier.java")
|
||||
public void testOverridingDefaultQualifier() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/OverridingDefaultQualifier.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ParametersAreNonnullByDefault.java")
|
||||
public void testParametersAreNonnullByDefault() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/ParametersAreNonnullByDefault.java");
|
||||
}
|
||||
|
||||
@TestMetadata("ParametersAreNonnullByDefaultPackage.java")
|
||||
public void testParametersAreNonnullByDefaultPackage() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/ParametersAreNonnullByDefaultPackage.java");
|
||||
}
|
||||
|
||||
@TestMetadata("SpringNullable.java")
|
||||
public void testSpringNullable() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/SpringNullable.java");
|
||||
}
|
||||
|
||||
@TestMetadata("SpringNullablePackage.java")
|
||||
public void testSpringNullablePackage() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/jsr305/typeQualifierDefault/SpringNullablePackage.java");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/fir/analysis-tests/testData/enhancement/mapping")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Mapping extends AbstractOwnFirTypeEnhancementTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("AbstractMap.java")
|
||||
public void testAbstractMap() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/enhancement/mapping/AbstractMap.java");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMapping() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/enhancement/mapping"), Pattern.compile("^(.+)\\.java$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInMapping() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/enhancement/mapping"), Pattern.compile("^(.+)\\.java$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+6971
-6971
File diff suppressed because it is too large
Load Diff
+43725
-43725
File diff suppressed because it is too large
Load Diff
+3514
-3514
File diff suppressed because it is too large
Load Diff
+3514
-3514
File diff suppressed because it is too large
Load Diff
+1948
-1948
File diff suppressed because it is too large
Load Diff
+1948
-1948
File diff suppressed because it is too large
Load Diff
+6971
-6971
File diff suppressed because it is too large
Load Diff
+43851
-43851
File diff suppressed because it is too large
Load Diff
+1536
-1536
File diff suppressed because it is too large
Load Diff
+1606
-1606
File diff suppressed because it is too large
Load Diff
+1606
-1606
File diff suppressed because it is too large
Load Diff
+708
-708
File diff suppressed because it is too large
Load Diff
+708
-708
File diff suppressed because it is too large
Load Diff
+54991
-54991
File diff suppressed because it is too large
Load Diff
+54991
-54991
File diff suppressed because it is too large
Load Diff
+5655
-5655
File diff suppressed because it is too large
Load Diff
+5655
-5655
File diff suppressed because it is too large
Load Diff
+721
-721
File diff suppressed because it is too large
Load Diff
+2322
-2322
File diff suppressed because it is too large
Load Diff
+5891
-5891
File diff suppressed because it is too large
Load Diff
+379
-379
@@ -20,478 +20,478 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/debug/localVariables")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeLocalVariableTestGenerated extends AbstractFirLightTreeLocalVariableTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocalVariables() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() {
|
||||
runTest("compiler/testData/debug/localVariables/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("catchClause.kt")
|
||||
public void testCatchClause() {
|
||||
runTest("compiler/testData/debug/localVariables/catchClause.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyFunction.kt")
|
||||
public void testCopyFunction() {
|
||||
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directInvoke.kt")
|
||||
public void testDirectInvoke() {
|
||||
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhile.kt")
|
||||
public void testDoWhile() {
|
||||
runTest("compiler/testData/debug/localVariables/doWhile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyFun.kt")
|
||||
public void testEmptyFun() {
|
||||
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInObject.kt")
|
||||
public void testInlineFunInObject() {
|
||||
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() {
|
||||
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() {
|
||||
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInObject.kt")
|
||||
public void testLambdaInObject() {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithLambdaParameter.kt")
|
||||
public void testLambdaWithLambdaParameter() {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() {
|
||||
runTest("compiler/testData/debug/localVariables/localFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunUnused.kt")
|
||||
public void testLocalFunUnused() {
|
||||
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally.kt")
|
||||
public void testTryFinally() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally10.kt")
|
||||
public void testTryFinally10() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally11.kt")
|
||||
public void testTryFinally11() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally12.kt")
|
||||
public void testTryFinally12() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally13.kt")
|
||||
public void testTryFinally13() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally14.kt")
|
||||
public void testTryFinally14() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally15.kt")
|
||||
public void testTryFinally15() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally16.kt")
|
||||
public void testTryFinally16() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally17.kt")
|
||||
public void testTryFinally17() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally3.kt")
|
||||
public void testTryFinally3() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally4.kt")
|
||||
public void testTryFinally4() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally5.kt")
|
||||
public void testTryFinally5() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_1.kt")
|
||||
public void testTryFinally6_1() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_2.kt")
|
||||
public void testTryFinally6_2() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally7.kt")
|
||||
public void testTryFinally7() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally8.kt")
|
||||
public void testTryFinally8() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally9.kt")
|
||||
public void testTryFinally9() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/constructors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Constructors {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocalVariables() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInConstructors() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleConstructors.kt")
|
||||
public void testMultipleConstructors() {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/assignment.kt");
|
||||
public void testAssignment() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("catchClause.kt")
|
||||
public void testCatchClause() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/catchClause.kt");
|
||||
@TestMetadata("assignmentCustomComponentNs.kt")
|
||||
public void testAssignmentCustomComponentNs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyFunction.kt")
|
||||
public void testCopyFunction() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
|
||||
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
|
||||
public void testAssignmentCustomComponentNsMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directInvoke.kt")
|
||||
public void testDirectInvoke() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
|
||||
@TestMetadata("assignmentMultiline.kt")
|
||||
public void testAssignmentMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhile.kt")
|
||||
public void testDoWhile() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/doWhile.kt");
|
||||
@TestMetadata("assignmentUnderscoreNames.kt")
|
||||
public void testAssignmentUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyFun.kt")
|
||||
public void testEmptyFun() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
|
||||
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
|
||||
public void testAssignmentUnderscoreNamesMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
|
||||
public void testForLoopMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInObject.kt")
|
||||
public void testInlineFunInObject() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
|
||||
@TestMetadata("lambdaCustomComponentNs.kt")
|
||||
public void testLambdaCustomComponentNs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
|
||||
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
|
||||
public void testLambdaCustomComponentNsMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInObject.kt")
|
||||
public void testLambdaInObject() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
|
||||
@TestMetadata("lambdaMultiline.kt")
|
||||
public void testLambdaMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithLambdaParameter.kt")
|
||||
public void testLambdaWithLambdaParameter() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
|
||||
@TestMetadata("lambdaMultipleDestructs.kt")
|
||||
public void testLambdaMultipleDestructs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/localFun.kt");
|
||||
@TestMetadata("capturedThisField.kt")
|
||||
public void testCapturedThisField() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunUnused.kt")
|
||||
public void testLocalFunUnused() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
|
||||
@TestMetadata("labeledThisParameterLabel.kt")
|
||||
public void testLabeledThisParameterLabel() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally.kt")
|
||||
public void testTryFinally() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
|
||||
@TestMetadata("lambdaWithExtensionReceiver.kt")
|
||||
public void testLambdaWithExtensionReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally10.kt")
|
||||
public void testTryFinally10() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
|
||||
@TestMetadata("receiverParameter.kt")
|
||||
public void testReceiverParameter() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally11.kt")
|
||||
public void testTryFinally11() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally12.kt")
|
||||
public void testTryFinally12() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
|
||||
@TestMetadata("simpleCapturedReceiver.kt")
|
||||
public void testSimpleCapturedReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally13.kt")
|
||||
public void testTryFinally13() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
|
||||
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
|
||||
public void testSimpleCapturedReceiverWithLabel() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally14.kt")
|
||||
public void testTryFinally14() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
|
||||
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
|
||||
public void testSimpleCapturedReceiverWithParenthesis() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suspend {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuspend() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally15.kt")
|
||||
public void testTryFinally15() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
|
||||
@TestMetadata("inlineLocalsStateMachineTransform.kt")
|
||||
public void testInlineLocalsStateMachineTransform() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally16.kt")
|
||||
public void testTryFinally16() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
|
||||
@TestMetadata("localsStateMachineTransform.kt")
|
||||
public void testLocalsStateMachineTransform() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally17.kt")
|
||||
public void testTryFinally17() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
|
||||
@TestMetadata("mergeLvt.kt")
|
||||
public void testMergeLvt() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
|
||||
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
|
||||
public void testNestedInsideSuspendUnintercepted() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally3.kt")
|
||||
public void testTryFinally3() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
|
||||
@TestMetadata("nestedSuspendUnintercepted.kt")
|
||||
public void testNestedSuspendUnintercepted() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally4.kt")
|
||||
public void testTryFinally4() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
|
||||
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
|
||||
public void testNestedSuspendUninterceptedWithDeepLambdaCall() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally5.kt")
|
||||
public void testTryFinally5() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_1.kt")
|
||||
public void testTryFinally6_1() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_2.kt")
|
||||
public void testTryFinally6_2() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally7.kt")
|
||||
public void testTryFinally7() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally8.kt")
|
||||
public void testTryFinally8() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally9.kt")
|
||||
public void testTryFinally9() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
|
||||
public void testUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/constructors")
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Constructors {
|
||||
@Test
|
||||
public void testAllFilesPresentInConstructors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
public class Completion {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompletion() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleConstructors.kt")
|
||||
public void testMultipleConstructors() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonStaticSimple.kt")
|
||||
public void testNonStaticSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentCustomComponentNs.kt")
|
||||
public void testAssignmentCustomComponentNs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
|
||||
public void testAssignmentCustomComponentNsMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentMultiline.kt")
|
||||
public void testAssignmentMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentUnderscoreNames.kt")
|
||||
public void testAssignmentUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
|
||||
public void testAssignmentUnderscoreNamesMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCustomComponentNs.kt")
|
||||
public void testLambdaCustomComponentNs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
|
||||
public void testLambdaCustomComponentNsMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaMultiline.kt")
|
||||
public void testLambdaMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaMultipleDestructs.kt")
|
||||
public void testLambdaMultipleDestructs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedThisField.kt")
|
||||
public void testCapturedThisField() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labeledThisParameterLabel.kt")
|
||||
public void testLabeledThisParameterLabel() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithExtensionReceiver.kt")
|
||||
public void testLambdaWithExtensionReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverParameter.kt")
|
||||
public void testReceiverParameter() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiver.kt")
|
||||
public void testSimpleCapturedReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
|
||||
public void testSimpleCapturedReceiverWithLabel() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
|
||||
public void testSimpleCapturedReceiverWithParenthesis() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suspend {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuspend() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineLocalsStateMachineTransform.kt")
|
||||
public void testInlineLocalsStateMachineTransform() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localsStateMachineTransform.kt")
|
||||
public void testLocalsStateMachineTransform() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mergeLvt.kt")
|
||||
public void testMergeLvt() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
|
||||
public void testNestedInsideSuspendUnintercepted() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedSuspendUnintercepted.kt")
|
||||
public void testNestedSuspendUnintercepted() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
|
||||
public void testNestedSuspendUninterceptedWithDeepLambdaCall() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Completion {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompletion() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonStaticSimple.kt")
|
||||
public void testNonStaticSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonStaticStateMachine.kt")
|
||||
public void testNonStaticStateMachine() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimple.kt")
|
||||
public void testStaticSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimpleReceiver.kt")
|
||||
public void testStaticSimpleReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachine.kt")
|
||||
public void testStaticStateMachine() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachineReceiver.kt")
|
||||
public void testStaticStateMachineReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonStaticStateMachine.kt")
|
||||
public void testNonStaticStateMachine() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimple.kt")
|
||||
public void testStaticSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimpleReceiver.kt")
|
||||
public void testStaticSimpleReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachine.kt")
|
||||
public void testStaticStateMachine() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachineReceiver.kt")
|
||||
public void testStaticStateMachineReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5655
-5655
File diff suppressed because it is too large
Load Diff
+676
-676
File diff suppressed because it is too large
Load Diff
+55043
-55043
File diff suppressed because it is too large
Load Diff
+5655
-5655
File diff suppressed because it is too large
Load Diff
+5655
-5655
File diff suppressed because it is too large
Load Diff
+721
-721
File diff suppressed because it is too large
Load Diff
+2322
-2322
File diff suppressed because it is too large
Load Diff
+5891
-5891
File diff suppressed because it is too large
Load Diff
+379
-379
@@ -20,478 +20,478 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/debug/localVariables")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiLocalVariableTestGenerated extends AbstractFirPsiLocalVariableTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocalVariables() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() {
|
||||
runTest("compiler/testData/debug/localVariables/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("catchClause.kt")
|
||||
public void testCatchClause() {
|
||||
runTest("compiler/testData/debug/localVariables/catchClause.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyFunction.kt")
|
||||
public void testCopyFunction() {
|
||||
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directInvoke.kt")
|
||||
public void testDirectInvoke() {
|
||||
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhile.kt")
|
||||
public void testDoWhile() {
|
||||
runTest("compiler/testData/debug/localVariables/doWhile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyFun.kt")
|
||||
public void testEmptyFun() {
|
||||
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInObject.kt")
|
||||
public void testInlineFunInObject() {
|
||||
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() {
|
||||
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() {
|
||||
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInObject.kt")
|
||||
public void testLambdaInObject() {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithLambdaParameter.kt")
|
||||
public void testLambdaWithLambdaParameter() {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() {
|
||||
runTest("compiler/testData/debug/localVariables/localFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunUnused.kt")
|
||||
public void testLocalFunUnused() {
|
||||
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally.kt")
|
||||
public void testTryFinally() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally10.kt")
|
||||
public void testTryFinally10() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally11.kt")
|
||||
public void testTryFinally11() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally12.kt")
|
||||
public void testTryFinally12() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally13.kt")
|
||||
public void testTryFinally13() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally14.kt")
|
||||
public void testTryFinally14() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally15.kt")
|
||||
public void testTryFinally15() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally16.kt")
|
||||
public void testTryFinally16() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally17.kt")
|
||||
public void testTryFinally17() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally3.kt")
|
||||
public void testTryFinally3() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally4.kt")
|
||||
public void testTryFinally4() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally5.kt")
|
||||
public void testTryFinally5() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_1.kt")
|
||||
public void testTryFinally6_1() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_2.kt")
|
||||
public void testTryFinally6_2() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally7.kt")
|
||||
public void testTryFinally7() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally8.kt")
|
||||
public void testTryFinally8() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally9.kt")
|
||||
public void testTryFinally9() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/constructors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Constructors {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocalVariables() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInConstructors() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleConstructors.kt")
|
||||
public void testMultipleConstructors() {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/assignment.kt");
|
||||
public void testAssignment() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("catchClause.kt")
|
||||
public void testCatchClause() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/catchClause.kt");
|
||||
@TestMetadata("assignmentCustomComponentNs.kt")
|
||||
public void testAssignmentCustomComponentNs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyFunction.kt")
|
||||
public void testCopyFunction() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
|
||||
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
|
||||
public void testAssignmentCustomComponentNsMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directInvoke.kt")
|
||||
public void testDirectInvoke() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
|
||||
@TestMetadata("assignmentMultiline.kt")
|
||||
public void testAssignmentMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhile.kt")
|
||||
public void testDoWhile() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/doWhile.kt");
|
||||
@TestMetadata("assignmentUnderscoreNames.kt")
|
||||
public void testAssignmentUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyFun.kt")
|
||||
public void testEmptyFun() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
|
||||
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
|
||||
public void testAssignmentUnderscoreNamesMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
|
||||
public void testForLoopMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInObject.kt")
|
||||
public void testInlineFunInObject() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
|
||||
@TestMetadata("lambdaCustomComponentNs.kt")
|
||||
public void testLambdaCustomComponentNs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
|
||||
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
|
||||
public void testLambdaCustomComponentNsMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInObject.kt")
|
||||
public void testLambdaInObject() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
|
||||
@TestMetadata("lambdaMultiline.kt")
|
||||
public void testLambdaMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithLambdaParameter.kt")
|
||||
public void testLambdaWithLambdaParameter() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
|
||||
@TestMetadata("lambdaMultipleDestructs.kt")
|
||||
public void testLambdaMultipleDestructs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/localFun.kt");
|
||||
@TestMetadata("capturedThisField.kt")
|
||||
public void testCapturedThisField() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunUnused.kt")
|
||||
public void testLocalFunUnused() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
|
||||
@TestMetadata("labeledThisParameterLabel.kt")
|
||||
public void testLabeledThisParameterLabel() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally.kt")
|
||||
public void testTryFinally() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
|
||||
@TestMetadata("lambdaWithExtensionReceiver.kt")
|
||||
public void testLambdaWithExtensionReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally10.kt")
|
||||
public void testTryFinally10() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
|
||||
@TestMetadata("receiverParameter.kt")
|
||||
public void testReceiverParameter() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally11.kt")
|
||||
public void testTryFinally11() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally12.kt")
|
||||
public void testTryFinally12() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
|
||||
@TestMetadata("simpleCapturedReceiver.kt")
|
||||
public void testSimpleCapturedReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally13.kt")
|
||||
public void testTryFinally13() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
|
||||
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
|
||||
public void testSimpleCapturedReceiverWithLabel() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally14.kt")
|
||||
public void testTryFinally14() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
|
||||
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
|
||||
public void testSimpleCapturedReceiverWithParenthesis() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suspend {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuspend() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally15.kt")
|
||||
public void testTryFinally15() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
|
||||
@TestMetadata("inlineLocalsStateMachineTransform.kt")
|
||||
public void testInlineLocalsStateMachineTransform() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally16.kt")
|
||||
public void testTryFinally16() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
|
||||
@TestMetadata("localsStateMachineTransform.kt")
|
||||
public void testLocalsStateMachineTransform() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally17.kt")
|
||||
public void testTryFinally17() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
|
||||
@TestMetadata("mergeLvt.kt")
|
||||
public void testMergeLvt() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
|
||||
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
|
||||
public void testNestedInsideSuspendUnintercepted() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally3.kt")
|
||||
public void testTryFinally3() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
|
||||
@TestMetadata("nestedSuspendUnintercepted.kt")
|
||||
public void testNestedSuspendUnintercepted() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally4.kt")
|
||||
public void testTryFinally4() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
|
||||
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
|
||||
public void testNestedSuspendUninterceptedWithDeepLambdaCall() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally5.kt")
|
||||
public void testTryFinally5() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_1.kt")
|
||||
public void testTryFinally6_1() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_2.kt")
|
||||
public void testTryFinally6_2() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally7.kt")
|
||||
public void testTryFinally7() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally8.kt")
|
||||
public void testTryFinally8() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally9.kt")
|
||||
public void testTryFinally9() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
|
||||
public void testUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/constructors")
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Constructors {
|
||||
@Test
|
||||
public void testAllFilesPresentInConstructors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
public class Completion {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompletion() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleConstructors.kt")
|
||||
public void testMultipleConstructors() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonStaticSimple.kt")
|
||||
public void testNonStaticSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentCustomComponentNs.kt")
|
||||
public void testAssignmentCustomComponentNs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
|
||||
public void testAssignmentCustomComponentNsMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentMultiline.kt")
|
||||
public void testAssignmentMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentUnderscoreNames.kt")
|
||||
public void testAssignmentUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
|
||||
public void testAssignmentUnderscoreNamesMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCustomComponentNs.kt")
|
||||
public void testLambdaCustomComponentNs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
|
||||
public void testLambdaCustomComponentNsMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaMultiline.kt")
|
||||
public void testLambdaMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaMultipleDestructs.kt")
|
||||
public void testLambdaMultipleDestructs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedThisField.kt")
|
||||
public void testCapturedThisField() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labeledThisParameterLabel.kt")
|
||||
public void testLabeledThisParameterLabel() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithExtensionReceiver.kt")
|
||||
public void testLambdaWithExtensionReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverParameter.kt")
|
||||
public void testReceiverParameter() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiver.kt")
|
||||
public void testSimpleCapturedReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
|
||||
public void testSimpleCapturedReceiverWithLabel() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
|
||||
public void testSimpleCapturedReceiverWithParenthesis() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suspend {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuspend() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineLocalsStateMachineTransform.kt")
|
||||
public void testInlineLocalsStateMachineTransform() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localsStateMachineTransform.kt")
|
||||
public void testLocalsStateMachineTransform() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mergeLvt.kt")
|
||||
public void testMergeLvt() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
|
||||
public void testNestedInsideSuspendUnintercepted() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedSuspendUnintercepted.kt")
|
||||
public void testNestedSuspendUnintercepted() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
|
||||
public void testNestedSuspendUninterceptedWithDeepLambdaCall() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Completion {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompletion() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonStaticSimple.kt")
|
||||
public void testNonStaticSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonStaticStateMachine.kt")
|
||||
public void testNonStaticStateMachine() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimple.kt")
|
||||
public void testStaticSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimpleReceiver.kt")
|
||||
public void testStaticSimpleReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachine.kt")
|
||||
public void testStaticStateMachine() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachineReceiver.kt")
|
||||
public void testStaticStateMachineReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonStaticStateMachine.kt")
|
||||
public void testNonStaticStateMachine() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimple.kt")
|
||||
public void testStaticSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimpleReceiver.kt")
|
||||
public void testStaticSimpleReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachine.kt")
|
||||
public void testStaticStateMachine() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachineReceiver.kt")
|
||||
public void testStaticStateMachineReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5655
-5655
File diff suppressed because it is too large
Load Diff
+676
-676
File diff suppressed because it is too large
Load Diff
+270
-270
@@ -20,336 +20,336 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/codegen/script")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirScriptCodegenTestGenerated extends AbstractFirScriptCodegenTest {
|
||||
@Test
|
||||
@TestMetadata("adder.kts")
|
||||
public void testAdder() {
|
||||
runTest("compiler/testData/codegen/script/adder.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInScript() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/script"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classLiteralInsideFunction.kts")
|
||||
public void testClassLiteralInsideFunction() {
|
||||
runTest("compiler/testData/codegen/script/classLiteralInsideFunction.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclaration.kts")
|
||||
public void testDestructuringDeclaration() {
|
||||
runTest("compiler/testData/codegen/script/destructuringDeclaration.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclarationUnderscore.kts")
|
||||
public void testDestructuringDeclarationUnderscore() {
|
||||
runTest("compiler/testData/codegen/script/destructuringDeclarationUnderscore.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("empty.kts")
|
||||
public void testEmpty() {
|
||||
runTest("compiler/testData/codegen/script/empty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("helloWorld.kts")
|
||||
public void testHelloWorld() {
|
||||
runTest("compiler/testData/codegen/script/helloWorld.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inline.kts")
|
||||
public void testInline() {
|
||||
runTest("compiler/testData/codegen/script/inline.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClass.kts")
|
||||
public void testInnerClass() {
|
||||
runTest("compiler/testData/codegen/script/innerClass.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt20707.kts")
|
||||
public void testKt20707() {
|
||||
runTest("compiler/testData/codegen/script/kt20707.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt22029.kts")
|
||||
public void testKt22029() {
|
||||
runTest("compiler/testData/codegen/script/kt22029.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48025.kts")
|
||||
public void testKt48025() {
|
||||
runTest("compiler/testData/codegen/script/kt48025.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedProperty.kts")
|
||||
public void testLocalDelegatedProperty() {
|
||||
runTest("compiler/testData/codegen/script/localDelegatedProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedPropertyInLambda.kts")
|
||||
public void testLocalDelegatedPropertyInLambda() {
|
||||
runTest("compiler/testData/codegen/script/localDelegatedPropertyInLambda.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedPropertyNoExplicitType.kts")
|
||||
public void testLocalDelegatedPropertyNoExplicitType() {
|
||||
runTest("compiler/testData/codegen/script/localDelegatedPropertyNoExplicitType.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunction.kts")
|
||||
public void testLocalFunction() {
|
||||
runTest("compiler/testData/codegen/script/localFunction.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerCapture.kts")
|
||||
public void testOuterCapture() {
|
||||
runTest("compiler/testData/codegen/script/outerCapture.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameter.kts")
|
||||
public void testParameter() {
|
||||
runTest("compiler/testData/codegen/script/parameter.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterArray.kts")
|
||||
public void testParameterArray() {
|
||||
runTest("compiler/testData/codegen/script/parameterArray.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterClosure.kts")
|
||||
public void testParameterClosure() {
|
||||
runTest("compiler/testData/codegen/script/parameterClosure.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterLong.kts")
|
||||
public void testParameterLong() {
|
||||
runTest("compiler/testData/codegen/script/parameterLong.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondLevelFunction.kts")
|
||||
public void testSecondLevelFunction() {
|
||||
runTest("compiler/testData/codegen/script/secondLevelFunction.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondLevelFunctionClosure.kts")
|
||||
public void testSecondLevelFunctionClosure() {
|
||||
runTest("compiler/testData/codegen/script/secondLevelFunctionClosure.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondLevelVal.kts")
|
||||
public void testSecondLevelVal() {
|
||||
runTest("compiler/testData/codegen/script/secondLevelVal.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClass.kts")
|
||||
public void testSimpleClass() {
|
||||
runTest("compiler/testData/codegen/script/simpleClass.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string.kts")
|
||||
public void testString() {
|
||||
runTest("compiler/testData/codegen/script/string.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunction.kts")
|
||||
public void testTopLevelFunction() {
|
||||
runTest("compiler/testData/codegen/script/topLevelFunction.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionClosure.kts")
|
||||
public void testTopLevelFunctionClosure() {
|
||||
runTest("compiler/testData/codegen/script/topLevelFunctionClosure.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelLocalDelegatedProperty.kts")
|
||||
public void testTopLevelLocalDelegatedProperty() {
|
||||
runTest("compiler/testData/codegen/script/topLevelLocalDelegatedProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertiesWithGetSet.kts")
|
||||
public void testTopLevelPropertiesWithGetSet() {
|
||||
runTest("compiler/testData/codegen/script/topLevelPropertiesWithGetSet.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperty.kts")
|
||||
public void testTopLevelProperty() {
|
||||
runTest("compiler/testData/codegen/script/topLevelProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithProvideDelegate.kts")
|
||||
public void testTopLevelPropertyWithProvideDelegate() {
|
||||
runTest("compiler/testData/codegen/script/topLevelPropertyWithProvideDelegate.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelTypealias.kts")
|
||||
public void testTopLevelTypealias() {
|
||||
runTest("compiler/testData/codegen/script/topLevelTypealias.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("twoDestructuringDeclarations.kts")
|
||||
public void testTwoDestructuringDeclarations() {
|
||||
runTest("compiler/testData/codegen/script/twoDestructuringDeclarations.kts");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/script/scriptInstanceCapturing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ScriptInstanceCapturing {
|
||||
@Test
|
||||
@TestMetadata("adder.kts")
|
||||
public void testAdder() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/adder.kts");
|
||||
public void testAllFilesPresentInScriptInstanceCapturing() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/script/scriptInstanceCapturing"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInScript() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/script"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
@TestMetadata("anonymousObjectCapturesProperty.kts")
|
||||
public void testAnonymousObjectCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/anonymousObjectCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classLiteralInsideFunction.kts")
|
||||
public void testClassLiteralInsideFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/classLiteralInsideFunction.kts");
|
||||
@TestMetadata("classCapturesExtensionIndirect.kts")
|
||||
public void testClassCapturesExtensionIndirect() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesExtensionIndirect.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclaration.kts")
|
||||
public void testDestructuringDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/destructuringDeclaration.kts");
|
||||
@TestMetadata("classCapturesExtensionIndirect2x.kts")
|
||||
public void testClassCapturesExtensionIndirect2x() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesExtensionIndirect2x.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("destructuringDeclarationUnderscore.kts")
|
||||
public void testDestructuringDeclarationUnderscore() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/destructuringDeclarationUnderscore.kts");
|
||||
@TestMetadata("classCapturesFunction.kts")
|
||||
public void testClassCapturesFunction() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesFunction.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("empty.kts")
|
||||
public void testEmpty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/empty.kts");
|
||||
@TestMetadata("classCapturesProperty.kts")
|
||||
public void testClassCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("helloWorld.kts")
|
||||
public void testHelloWorld() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/helloWorld.kts");
|
||||
@TestMetadata("classCapturesPropertyInStringTemplate.kts")
|
||||
public void testClassCapturesPropertyInStringTemplate() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesPropertyInStringTemplate.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inline.kts")
|
||||
public void testInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/inline.kts");
|
||||
@TestMetadata("classCapturesPropertyIndirect.kts")
|
||||
public void testClassCapturesPropertyIndirect() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesPropertyIndirect.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClass.kts")
|
||||
public void testInnerClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/innerClass.kts");
|
||||
@TestMetadata("classCapturesPropertyIndirect2x.kts")
|
||||
public void testClassCapturesPropertyIndirect2x() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesPropertyIndirect2x.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt20707.kts")
|
||||
public void testKt20707() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/kt20707.kts");
|
||||
@TestMetadata("companionCapturesProperty.kts")
|
||||
public void testCompanionCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/companionCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt22029.kts")
|
||||
public void testKt22029() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/kt22029.kts");
|
||||
@TestMetadata("enumCapturesProperty.kts")
|
||||
public void testEnumCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/enumCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48025.kts")
|
||||
public void testKt48025() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/kt48025.kts");
|
||||
@TestMetadata("enumEntryCapturesProperty.kts")
|
||||
public void testEnumEntryCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/enumEntryCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedProperty.kts")
|
||||
public void testLocalDelegatedProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/localDelegatedProperty.kts");
|
||||
@TestMetadata("innerClassesHierarchyCaptureProperty.kts")
|
||||
public void testInnerClassesHierarchyCaptureProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/innerClassesHierarchyCaptureProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedPropertyInLambda.kts")
|
||||
public void testLocalDelegatedPropertyInLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/localDelegatedPropertyInLambda.kts");
|
||||
@TestMetadata("interfaceCapturesProperty.kts")
|
||||
public void testInterfaceCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/interfaceCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localDelegatedPropertyNoExplicitType.kts")
|
||||
public void testLocalDelegatedPropertyNoExplicitType() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/localDelegatedPropertyNoExplicitType.kts");
|
||||
@TestMetadata("nestedAndOuterClassesCaptureProperty.kts")
|
||||
public void testNestedAndOuterClassesCaptureProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/nestedAndOuterClassesCaptureProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunction.kts")
|
||||
public void testLocalFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/localFunction.kts");
|
||||
@TestMetadata("nestedClassCapturesProperty.kts")
|
||||
public void testNestedClassCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/nestedClassCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerCapture.kts")
|
||||
public void testOuterCapture() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/outerCapture.kts");
|
||||
@TestMetadata("nestedInnerClassCapturesProperty.kts")
|
||||
public void testNestedInnerClassCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/nestedInnerClassCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameter.kts")
|
||||
public void testParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/parameter.kts");
|
||||
@TestMetadata("nestedToObjectClassCapturesProperty.kts")
|
||||
public void testNestedToObjectClassCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/nestedToObjectClassCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterArray.kts")
|
||||
public void testParameterArray() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/parameterArray.kts");
|
||||
@TestMetadata("objectCapturesProperty.kts")
|
||||
public void testObjectCapturesProperty() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/objectCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterClosure.kts")
|
||||
public void testParameterClosure() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/parameterClosure.kts");
|
||||
@TestMetadata("objectCapturesPropertyIndirect.kts")
|
||||
public void testObjectCapturesPropertyIndirect() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/objectCapturesPropertyIndirect.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("parameterLong.kts")
|
||||
public void testParameterLong() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/parameterLong.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondLevelFunction.kts")
|
||||
public void testSecondLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/secondLevelFunction.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondLevelFunctionClosure.kts")
|
||||
public void testSecondLevelFunctionClosure() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/secondLevelFunctionClosure.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondLevelVal.kts")
|
||||
public void testSecondLevelVal() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/secondLevelVal.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleClass.kts")
|
||||
public void testSimpleClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/simpleClass.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("string.kts")
|
||||
public void testString() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/string.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunction.kts")
|
||||
public void testTopLevelFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/topLevelFunction.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFunctionClosure.kts")
|
||||
public void testTopLevelFunctionClosure() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/topLevelFunctionClosure.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelLocalDelegatedProperty.kts")
|
||||
public void testTopLevelLocalDelegatedProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/topLevelLocalDelegatedProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertiesWithGetSet.kts")
|
||||
public void testTopLevelPropertiesWithGetSet() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/topLevelPropertiesWithGetSet.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperty.kts")
|
||||
public void testTopLevelProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/topLevelProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelPropertyWithProvideDelegate.kts")
|
||||
public void testTopLevelPropertyWithProvideDelegate() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/topLevelPropertyWithProvideDelegate.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelTypealias.kts")
|
||||
public void testTopLevelTypealias() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/topLevelTypealias.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("twoDestructuringDeclarations.kts")
|
||||
public void testTwoDestructuringDeclarations() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/twoDestructuringDeclarations.kts");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/script/scriptInstanceCapturing")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ScriptInstanceCapturing {
|
||||
@Test
|
||||
public void testAllFilesPresentInScriptInstanceCapturing() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/script/scriptInstanceCapturing"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObjectCapturesProperty.kts")
|
||||
public void testAnonymousObjectCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/anonymousObjectCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classCapturesExtensionIndirect.kts")
|
||||
public void testClassCapturesExtensionIndirect() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesExtensionIndirect.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classCapturesExtensionIndirect2x.kts")
|
||||
public void testClassCapturesExtensionIndirect2x() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesExtensionIndirect2x.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classCapturesFunction.kts")
|
||||
public void testClassCapturesFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesFunction.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classCapturesProperty.kts")
|
||||
public void testClassCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classCapturesPropertyInStringTemplate.kts")
|
||||
public void testClassCapturesPropertyInStringTemplate() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesPropertyInStringTemplate.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classCapturesPropertyIndirect.kts")
|
||||
public void testClassCapturesPropertyIndirect() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesPropertyIndirect.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classCapturesPropertyIndirect2x.kts")
|
||||
public void testClassCapturesPropertyIndirect2x() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/classCapturesPropertyIndirect2x.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionCapturesProperty.kts")
|
||||
public void testCompanionCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/companionCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumCapturesProperty.kts")
|
||||
public void testEnumCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/enumCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumEntryCapturesProperty.kts")
|
||||
public void testEnumEntryCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/enumEntryCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassesHierarchyCaptureProperty.kts")
|
||||
public void testInnerClassesHierarchyCaptureProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/innerClassesHierarchyCaptureProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interfaceCapturesProperty.kts")
|
||||
public void testInterfaceCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/interfaceCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedAndOuterClassesCaptureProperty.kts")
|
||||
public void testNestedAndOuterClassesCaptureProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/nestedAndOuterClassesCaptureProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassCapturesProperty.kts")
|
||||
public void testNestedClassCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/nestedClassCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInnerClassCapturesProperty.kts")
|
||||
public void testNestedInnerClassCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/nestedInnerClassCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedToObjectClassCapturesProperty.kts")
|
||||
public void testNestedToObjectClassCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/nestedToObjectClassCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectCapturesProperty.kts")
|
||||
public void testObjectCapturesProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/objectCapturesProperty.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectCapturesPropertyIndirect.kts")
|
||||
public void testObjectCapturesPropertyIndirect() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/objectCapturesPropertyIndirect.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objectCapturesPropertyViaExtension.kts")
|
||||
public void testObjectCapturesPropertyViaExtension() throws Exception {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/objectCapturesPropertyViaExtension.kts");
|
||||
}
|
||||
@TestMetadata("objectCapturesPropertyViaExtension.kts")
|
||||
public void testObjectCapturesPropertyViaExtension() {
|
||||
runTest("compiler/testData/codegen/script/scriptInstanceCapturing/objectCapturesPropertyViaExtension.kts");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+126
-126
@@ -20,168 +20,168 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeJvmIrSourceRangesTestGenerated extends AbstractFirLightTreeJvmIrSourceRangesTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInSourceRanges() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() {
|
||||
runTest("compiler/testData/ir/sourceRanges/annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("augmentedAssignmentWithExpression.kt")
|
||||
public void testAugmentedAssignmentWithExpression() {
|
||||
runTest("compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("comments.kt")
|
||||
public void testComments() {
|
||||
runTest("compiler/testData/ir/sourceRanges/comments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvis.kt")
|
||||
public void testElvis() {
|
||||
runTest("compiler/testData/ir/sourceRanges/elvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambdaCall.kt")
|
||||
public void testExtensionLambdaCall() {
|
||||
runTest("compiler/testData/ir/sourceRanges/extensionLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17108.kt")
|
||||
public void testKt17108() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt17108.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24258.kt")
|
||||
public void testKt24258() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt24258.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779.kt")
|
||||
public void testKt63779() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779_2.kt")
|
||||
public void testKt63779_2() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiLineCall.kt")
|
||||
public void testMultiLineCall() {
|
||||
runTest("compiler/testData/ir/sourceRanges/multiLineCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("operators.kt")
|
||||
public void testOperators() {
|
||||
runTest("compiler/testData/ir/sourceRanges/operators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixIncrementDecrement.kt")
|
||||
public void testPostfixIncrementDecrement() {
|
||||
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("this.kt")
|
||||
public void testThis() {
|
||||
runTest("compiler/testData/ir/sourceRanges/this.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Declarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInSourceRanges() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInDeclarations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/annotations.kt");
|
||||
@TestMetadata("classFuns.kt")
|
||||
public void testClassFuns() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("augmentedAssignmentWithExpression.kt")
|
||||
public void testAugmentedAssignmentWithExpression() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.kt");
|
||||
@TestMetadata("classProperties.kt")
|
||||
public void testClassProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("comments.kt")
|
||||
public void testComments() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/comments.kt");
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvis.kt")
|
||||
public void testElvis() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/elvis.kt");
|
||||
@TestMetadata("delegatedProperties.kt")
|
||||
public void testDelegatedProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambdaCall.kt")
|
||||
public void testExtensionLambdaCall() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/extensionLambdaCall.kt");
|
||||
@TestMetadata("fakeOverrides.kt")
|
||||
public void testFakeOverrides() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17108.kt")
|
||||
public void testKt17108() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt17108.kt");
|
||||
@TestMetadata("fakeOverrides2.kt")
|
||||
public void testFakeOverrides2() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24258.kt")
|
||||
public void testKt24258() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt24258.kt");
|
||||
@TestMetadata("kt29862.kt")
|
||||
public void testKt29862() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/kt29862.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779.kt")
|
||||
public void testKt63779() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779.kt");
|
||||
@TestMetadata("primaryConstructors.kt")
|
||||
public void testPrimaryConstructors() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779_2.kt")
|
||||
public void testKt63779_2() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779_2.kt");
|
||||
@TestMetadata("secondaryConstructors.kt")
|
||||
public void testSecondaryConstructors() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/secondaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiLineCall.kt")
|
||||
public void testMultiLineCall() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/multiLineCall.kt");
|
||||
@TestMetadata("synthesizedDataClassMembers.kt")
|
||||
public void testSynthesizedDataClassMembers() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/synthesizedDataClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("operators.kt")
|
||||
public void testOperators() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/operators.kt");
|
||||
@TestMetadata("topLevelFuns.kt")
|
||||
public void testTopLevelFuns() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixIncrementDecrement.kt")
|
||||
public void testPostfixIncrementDecrement() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("this.kt")
|
||||
public void testThis() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/this.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Declarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInDeclarations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classFuns.kt")
|
||||
public void testClassFuns() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classProperties.kt")
|
||||
public void testClassProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProperties.kt")
|
||||
public void testDelegatedProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrides.kt")
|
||||
public void testFakeOverrides() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrides2.kt")
|
||||
public void testFakeOverrides2() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt29862.kt")
|
||||
public void testKt29862() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/kt29862.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructors.kt")
|
||||
public void testPrimaryConstructors() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondaryConstructors.kt")
|
||||
public void testSecondaryConstructors() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/secondaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("synthesizedDataClassMembers.kt")
|
||||
public void testSynthesizedDataClassMembers() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/synthesizedDataClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFuns.kt")
|
||||
public void testTopLevelFuns() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperties.kt")
|
||||
public void testTopLevelProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelProperties.kt");
|
||||
}
|
||||
@TestMetadata("topLevelProperties.kt")
|
||||
public void testTopLevelProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelProperties.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+3645
-3645
File diff suppressed because it is too large
Load Diff
+14
-14
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/irInterpreter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirLightTreeWithInterpreterDiagnosticsTestGenerated extends AbstractFirLightTreeWithInterpreterDiagnosticsTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInIrInterpreter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/irInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIrInterpreter() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/irInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("exceptionFromInterpreter.kt")
|
||||
public void testExceptionFromInterpreter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/irInterpreter/exceptionFromInterpreter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("exceptionFromInterpreter.kt")
|
||||
public void testExceptionFromInterpreter() {
|
||||
runTest("compiler/testData/diagnostics/irInterpreter/exceptionFromInterpreter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recursionAccess.kt")
|
||||
public void testRecursionAccess() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/irInterpreter/recursionAccess.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("recursionAccess.kt")
|
||||
public void testRecursionAccess() {
|
||||
runTest("compiler/testData/diagnostics/irInterpreter/recursionAccess.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+126
-126
@@ -20,168 +20,168 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiJvmIrSourceRangesTestGenerated extends AbstractFirPsiJvmIrSourceRangesTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInSourceRanges() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() {
|
||||
runTest("compiler/testData/ir/sourceRanges/annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("augmentedAssignmentWithExpression.kt")
|
||||
public void testAugmentedAssignmentWithExpression() {
|
||||
runTest("compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("comments.kt")
|
||||
public void testComments() {
|
||||
runTest("compiler/testData/ir/sourceRanges/comments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvis.kt")
|
||||
public void testElvis() {
|
||||
runTest("compiler/testData/ir/sourceRanges/elvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambdaCall.kt")
|
||||
public void testExtensionLambdaCall() {
|
||||
runTest("compiler/testData/ir/sourceRanges/extensionLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17108.kt")
|
||||
public void testKt17108() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt17108.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24258.kt")
|
||||
public void testKt24258() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt24258.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779.kt")
|
||||
public void testKt63779() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779_2.kt")
|
||||
public void testKt63779_2() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiLineCall.kt")
|
||||
public void testMultiLineCall() {
|
||||
runTest("compiler/testData/ir/sourceRanges/multiLineCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("operators.kt")
|
||||
public void testOperators() {
|
||||
runTest("compiler/testData/ir/sourceRanges/operators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixIncrementDecrement.kt")
|
||||
public void testPostfixIncrementDecrement() {
|
||||
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("this.kt")
|
||||
public void testThis() {
|
||||
runTest("compiler/testData/ir/sourceRanges/this.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Declarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInSourceRanges() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInDeclarations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/annotations.kt");
|
||||
@TestMetadata("classFuns.kt")
|
||||
public void testClassFuns() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("augmentedAssignmentWithExpression.kt")
|
||||
public void testAugmentedAssignmentWithExpression() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.kt");
|
||||
@TestMetadata("classProperties.kt")
|
||||
public void testClassProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("comments.kt")
|
||||
public void testComments() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/comments.kt");
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvis.kt")
|
||||
public void testElvis() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/elvis.kt");
|
||||
@TestMetadata("delegatedProperties.kt")
|
||||
public void testDelegatedProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambdaCall.kt")
|
||||
public void testExtensionLambdaCall() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/extensionLambdaCall.kt");
|
||||
@TestMetadata("fakeOverrides.kt")
|
||||
public void testFakeOverrides() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17108.kt")
|
||||
public void testKt17108() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt17108.kt");
|
||||
@TestMetadata("fakeOverrides2.kt")
|
||||
public void testFakeOverrides2() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24258.kt")
|
||||
public void testKt24258() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt24258.kt");
|
||||
@TestMetadata("kt29862.kt")
|
||||
public void testKt29862() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/kt29862.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779.kt")
|
||||
public void testKt63779() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779.kt");
|
||||
@TestMetadata("primaryConstructors.kt")
|
||||
public void testPrimaryConstructors() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779_2.kt")
|
||||
public void testKt63779_2() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779_2.kt");
|
||||
@TestMetadata("secondaryConstructors.kt")
|
||||
public void testSecondaryConstructors() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/secondaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiLineCall.kt")
|
||||
public void testMultiLineCall() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/multiLineCall.kt");
|
||||
@TestMetadata("synthesizedDataClassMembers.kt")
|
||||
public void testSynthesizedDataClassMembers() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/synthesizedDataClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("operators.kt")
|
||||
public void testOperators() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/operators.kt");
|
||||
@TestMetadata("topLevelFuns.kt")
|
||||
public void testTopLevelFuns() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixIncrementDecrement.kt")
|
||||
public void testPostfixIncrementDecrement() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("this.kt")
|
||||
public void testThis() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/this.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Declarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInDeclarations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classFuns.kt")
|
||||
public void testClassFuns() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classProperties.kt")
|
||||
public void testClassProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProperties.kt")
|
||||
public void testDelegatedProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrides.kt")
|
||||
public void testFakeOverrides() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrides2.kt")
|
||||
public void testFakeOverrides2() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt29862.kt")
|
||||
public void testKt29862() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/kt29862.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructors.kt")
|
||||
public void testPrimaryConstructors() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondaryConstructors.kt")
|
||||
public void testSecondaryConstructors() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/secondaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("synthesizedDataClassMembers.kt")
|
||||
public void testSynthesizedDataClassMembers() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/synthesizedDataClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFuns.kt")
|
||||
public void testTopLevelFuns() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperties.kt")
|
||||
public void testTopLevelProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelProperties.kt");
|
||||
}
|
||||
@TestMetadata("topLevelProperties.kt")
|
||||
public void testTopLevelProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelProperties.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirPsiJvmIrTextTestGenerated.java
Generated
+3645
-3645
File diff suppressed because it is too large
Load Diff
+14
-14
@@ -20,20 +20,20 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/irInterpreter")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FirPsiWithInterpreterDiagnosticsTestGenerated extends AbstractFirPsiWithInterpreterDiagnosticsTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInIrInterpreter() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/irInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
@Test
|
||||
public void testAllFilesPresentInIrInterpreter() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/irInterpreter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("exceptionFromInterpreter.kt")
|
||||
public void testExceptionFromInterpreter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/irInterpreter/exceptionFromInterpreter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("exceptionFromInterpreter.kt")
|
||||
public void testExceptionFromInterpreter() {
|
||||
runTest("compiler/testData/diagnostics/irInterpreter/exceptionFromInterpreter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("recursionAccess.kt")
|
||||
public void testRecursionAccess() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/irInterpreter/recursionAccess.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("recursionAccess.kt")
|
||||
public void testRecursionAccess() {
|
||||
runTest("compiler/testData/diagnostics/irInterpreter/recursionAccess.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+692
-692
File diff suppressed because it is too large
Load Diff
+712
-712
File diff suppressed because it is too large
Load Diff
+712
-712
File diff suppressed because it is too large
Load Diff
+10
-10
@@ -21,16 +21,16 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class RawFirBuilderSourceElementMappingTestCaseGenerated extends AbstractRawFirBuilderSourceElementMappingTestCase {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doRawFirTest, this, testDataFilePath);
|
||||
}
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doRawFirTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSourceElementMapping() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/raw-fir/psi2fir/testData/sourceElementMapping"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInSourceElementMapping() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/raw-fir/psi2fir/testData/sourceElementMapping"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("qualifiedExpression.kt")
|
||||
public void testQualifiedExpression() throws Exception {
|
||||
runTest("compiler/fir/raw-fir/psi2fir/testData/sourceElementMapping/qualifiedExpression.kt");
|
||||
}
|
||||
@TestMetadata("qualifiedExpression.kt")
|
||||
public void testQualifiedExpression() {
|
||||
runTest("compiler/fir/raw-fir/psi2fir/testData/sourceElementMapping/qualifiedExpression.kt");
|
||||
}
|
||||
}
|
||||
|
||||
+712
-712
File diff suppressed because it is too large
Load Diff
+922
-922
File diff suppressed because it is too large
Load Diff
+10
-10
@@ -21,16 +21,16 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class IncrementalK1JsKlibCompilerRunnerWithFriendModulesDisabledTestGenerated extends AbstractIncrementalK1JsKlibCompilerRunnerWithFriendModulesDisabledTest {
|
||||
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 testAllFilesPresentInFriendsModuleDisabled() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/js/friendsModuleDisabled"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
public void testAllFilesPresentInFriendsModuleDisabled() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/js/friendsModuleDisabled"), Pattern.compile("^([^\\.]+)$"), null, false);
|
||||
}
|
||||
|
||||
@TestMetadata("internalInlineFunctionIsChanged")
|
||||
public void testInternalInlineFunctionIsChanged() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/js/friendsModuleDisabled/internalInlineFunctionIsChanged/");
|
||||
}
|
||||
@TestMetadata("internalInlineFunctionIsChanged")
|
||||
public void testInternalInlineFunctionIsChanged() {
|
||||
runTest("jps/jps-plugin/testData/incremental/js/friendsModuleDisabled/internalInlineFunctionIsChanged/");
|
||||
}
|
||||
}
|
||||
|
||||
+969
-969
File diff suppressed because it is too large
Load Diff
+390
-390
@@ -21,443 +21,443 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class IncrementalK1JsKlibMultiModuleCompilerRunnerTestGenerated extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
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 testAllFilesPresentInCommon() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("classAdded")
|
||||
public void testClassAdded() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/classAdded/");
|
||||
}
|
||||
|
||||
@TestMetadata("classRemoved")
|
||||
public void testClassRemoved() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("constantValueChanged")
|
||||
public void testConstantValueChanged() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("copyFileToAnotherModule")
|
||||
public void testCopyFileToAnotherModule() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultArgumentInConstructorRemoved")
|
||||
public void testDefaultArgumentInConstructorRemoved() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAdded")
|
||||
public void testDefaultParameterAdded() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAddedForTopLevelFun")
|
||||
public void testDefaultParameterAddedForTopLevelFun() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemoved")
|
||||
public void testDefaultParameterRemoved() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemovedForTopLevelFun")
|
||||
public void testDefaultParameterRemovedForTopLevelFun() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueInConstructorRemoved")
|
||||
public void testDefaultValueInConstructorRemoved() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicatedClass")
|
||||
public void testDuplicatedClass() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("exportedDependency")
|
||||
public void testExportedDependency() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("functionFromDifferentPackageChanged")
|
||||
public void testFunctionFromDifferentPackageChanged() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionInlined")
|
||||
public void testInlineFunctionInlined() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionTwoPackageParts")
|
||||
public void testInlineFunctionTwoPackageParts() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts/");
|
||||
}
|
||||
|
||||
@TestMetadata("moveFileToAnotherModule")
|
||||
public void testMoveFileToAnotherModule() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule/");
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simple/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependency")
|
||||
public void testSimpleDependency() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal1")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal1() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal2")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal2() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyUnchanged")
|
||||
public void testSimpleDependencyUnchanged() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveDependency")
|
||||
public void testTransitiveDependency() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveInlining")
|
||||
public void testTransitiveInlining() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining/");
|
||||
}
|
||||
|
||||
@TestMetadata("twoDependants")
|
||||
public void testTwoDependants() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/classAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassAdded extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCommon() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
public void testAllFilesPresentInClassAdded() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassRemoved extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("classAdded")
|
||||
public void testClassAdded() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/classAdded/");
|
||||
public void testAllFilesPresentInClassRemoved() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ConstantValueChanged extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("classRemoved")
|
||||
public void testClassRemoved() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved/");
|
||||
public void testAllFilesPresentInConstantValueChanged() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CopyFileToAnotherModule extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("constantValueChanged")
|
||||
public void testConstantValueChanged() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged/");
|
||||
public void testAllFilesPresentInCopyFileToAnotherModule() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultArgumentInConstructorRemoved extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("copyFileToAnotherModule")
|
||||
public void testCopyFileToAnotherModule() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule/");
|
||||
public void testAllFilesPresentInDefaultArgumentInConstructorRemoved() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAdded extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultArgumentInConstructorRemoved")
|
||||
public void testDefaultArgumentInConstructorRemoved() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved/");
|
||||
public void testAllFilesPresentInDefaultParameterAdded() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAddedForTopLevelFun extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAdded")
|
||||
public void testDefaultParameterAdded() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded/");
|
||||
public void testAllFilesPresentInDefaultParameterAddedForTopLevelFun() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemoved extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAddedForTopLevelFun")
|
||||
public void testDefaultParameterAddedForTopLevelFun() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun/");
|
||||
public void testAllFilesPresentInDefaultParameterRemoved() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemovedForTopLevelFun extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemoved")
|
||||
public void testDefaultParameterRemoved() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved/");
|
||||
public void testAllFilesPresentInDefaultParameterRemovedForTopLevelFun() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultValueInConstructorRemoved extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemovedForTopLevelFun")
|
||||
public void testDefaultParameterRemovedForTopLevelFun() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun/");
|
||||
public void testAllFilesPresentInDefaultValueInConstructorRemoved() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DuplicatedClass extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueInConstructorRemoved")
|
||||
public void testDefaultValueInConstructorRemoved() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved/");
|
||||
public void testAllFilesPresentInDuplicatedClass() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ExportedDependency extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("duplicatedClass")
|
||||
public void testDuplicatedClass() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass/");
|
||||
public void testAllFilesPresentInExportedDependency() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class FunctionFromDifferentPackageChanged extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("exportedDependency")
|
||||
public void testExportedDependency() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency/");
|
||||
public void testAllFilesPresentInFunctionFromDifferentPackageChanged() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionInlined extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("functionFromDifferentPackageChanged")
|
||||
public void testFunctionFromDifferentPackageChanged() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged/");
|
||||
public void testAllFilesPresentInInlineFunctionInlined() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionTwoPackageParts extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionInlined")
|
||||
public void testInlineFunctionInlined() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined/");
|
||||
public void testAllFilesPresentInInlineFunctionTwoPackageParts() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MoveFileToAnotherModule extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionTwoPackageParts")
|
||||
public void testInlineFunctionTwoPackageParts() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts/");
|
||||
public void testAllFilesPresentInMoveFileToAnotherModule() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simple")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Simple extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("moveFileToAnotherModule")
|
||||
public void testMoveFileToAnotherModule() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule/");
|
||||
public void testAllFilesPresentInSimple() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependency extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simple/");
|
||||
public void testAllFilesPresentInSimpleDependency() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal1 extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependency")
|
||||
public void testSimpleDependency() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency/");
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal1() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal2 extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal1")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal1() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1/");
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal2() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyUnchanged extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal2")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal2() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2/");
|
||||
public void testAllFilesPresentInSimpleDependencyUnchanged() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveDependency extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyUnchanged")
|
||||
public void testSimpleDependencyUnchanged() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged/");
|
||||
public void testAllFilesPresentInTransitiveDependency() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveInlining extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveDependency")
|
||||
public void testTransitiveDependency() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency/");
|
||||
public void testAllFilesPresentInTransitiveInlining() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TwoDependants extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveInlining")
|
||||
public void testTransitiveInlining() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining/");
|
||||
}
|
||||
|
||||
@TestMetadata("twoDependants")
|
||||
public void testTwoDependants() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/classAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassAdded extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInClassAdded() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassRemoved extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInClassRemoved() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ConstantValueChanged extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInConstantValueChanged() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CopyFileToAnotherModule extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCopyFileToAnotherModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultArgumentInConstructorRemoved extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultArgumentInConstructorRemoved() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAdded extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterAdded() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAddedForTopLevelFun extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterAddedForTopLevelFun() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemoved extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterRemoved() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemovedForTopLevelFun extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterRemovedForTopLevelFun() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultValueInConstructorRemoved extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultValueInConstructorRemoved() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DuplicatedClass extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDuplicatedClass() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ExportedDependency extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInExportedDependency() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class FunctionFromDifferentPackageChanged extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInFunctionFromDifferentPackageChanged() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionInlined extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineFunctionInlined() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionTwoPackageParts extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineFunctionTwoPackageParts() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MoveFileToAnotherModule extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMoveFileToAnotherModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simple")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Simple extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimple() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependency extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependency() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal1 extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal1() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal2 extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal2() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyUnchanged extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyUnchanged() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveDependency extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTransitiveDependency() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveInlining extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTransitiveInlining() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TwoDependants extends AbstractIncrementalK1JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTwoDependants() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInTwoDependants() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+38
-38
@@ -21,47 +21,47 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class IncrementalK1JsKlibMultiplatformJsCompilerRunnerTestGenerated extends AbstractIncrementalK1JsKlibMultiplatformJsCompilerRunnerTest {
|
||||
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 testAllFilesPresentInAllPlatforms() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("touchActual")
|
||||
public void testTouchActual() {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual/");
|
||||
}
|
||||
|
||||
@TestMetadata("touchExpect")
|
||||
public void testTouchExpect() {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TouchActual extends AbstractIncrementalK1JsKlibMultiplatformJsCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInAllPlatforms() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
public void testAllFilesPresentInTouchActual() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TouchExpect extends AbstractIncrementalK1JsKlibMultiplatformJsCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("touchActual")
|
||||
public void testTouchActual() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual/");
|
||||
}
|
||||
|
||||
@TestMetadata("touchExpect")
|
||||
public void testTouchExpect() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TouchActual extends AbstractIncrementalK1JsKlibMultiplatformJsCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTouchActual() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TouchExpect extends AbstractIncrementalK1JsKlibMultiplatformJsCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTouchExpect() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInTouchExpect() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2594
-2594
File diff suppressed because it is too large
Load Diff
+2599
-2599
File diff suppressed because it is too large
Load Diff
+897
-897
File diff suppressed because it is too large
Load Diff
+390
-390
@@ -21,443 +21,443 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class IncrementalK2JsKlibMultiModuleCompilerRunnerTestGenerated extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
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 testAllFilesPresentInCommon() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("classAdded")
|
||||
public void testClassAdded() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/classAdded/");
|
||||
}
|
||||
|
||||
@TestMetadata("classRemoved")
|
||||
public void testClassRemoved() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("constantValueChanged")
|
||||
public void testConstantValueChanged() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("copyFileToAnotherModule")
|
||||
public void testCopyFileToAnotherModule() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultArgumentInConstructorRemoved")
|
||||
public void testDefaultArgumentInConstructorRemoved() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAdded")
|
||||
public void testDefaultParameterAdded() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAddedForTopLevelFun")
|
||||
public void testDefaultParameterAddedForTopLevelFun() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemoved")
|
||||
public void testDefaultParameterRemoved() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemovedForTopLevelFun")
|
||||
public void testDefaultParameterRemovedForTopLevelFun() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueInConstructorRemoved")
|
||||
public void testDefaultValueInConstructorRemoved() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicatedClass")
|
||||
public void testDuplicatedClass() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("exportedDependency")
|
||||
public void testExportedDependency() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("functionFromDifferentPackageChanged")
|
||||
public void testFunctionFromDifferentPackageChanged() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionInlined")
|
||||
public void testInlineFunctionInlined() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionTwoPackageParts")
|
||||
public void testInlineFunctionTwoPackageParts() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts/");
|
||||
}
|
||||
|
||||
@TestMetadata("moveFileToAnotherModule")
|
||||
public void testMoveFileToAnotherModule() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule/");
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simple/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependency")
|
||||
public void testSimpleDependency() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal1")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal1() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal2")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal2() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyUnchanged")
|
||||
public void testSimpleDependencyUnchanged() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveDependency")
|
||||
public void testTransitiveDependency() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveInlining")
|
||||
public void testTransitiveInlining() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining/");
|
||||
}
|
||||
|
||||
@TestMetadata("twoDependants")
|
||||
public void testTwoDependants() {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/classAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassAdded extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCommon() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
public void testAllFilesPresentInClassAdded() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassRemoved extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("classAdded")
|
||||
public void testClassAdded() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/classAdded/");
|
||||
public void testAllFilesPresentInClassRemoved() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ConstantValueChanged extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("classRemoved")
|
||||
public void testClassRemoved() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved/");
|
||||
public void testAllFilesPresentInConstantValueChanged() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CopyFileToAnotherModule extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("constantValueChanged")
|
||||
public void testConstantValueChanged() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged/");
|
||||
public void testAllFilesPresentInCopyFileToAnotherModule() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultArgumentInConstructorRemoved extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("copyFileToAnotherModule")
|
||||
public void testCopyFileToAnotherModule() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule/");
|
||||
public void testAllFilesPresentInDefaultArgumentInConstructorRemoved() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAdded extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultArgumentInConstructorRemoved")
|
||||
public void testDefaultArgumentInConstructorRemoved() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved/");
|
||||
public void testAllFilesPresentInDefaultParameterAdded() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAddedForTopLevelFun extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAdded")
|
||||
public void testDefaultParameterAdded() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded/");
|
||||
public void testAllFilesPresentInDefaultParameterAddedForTopLevelFun() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemoved extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAddedForTopLevelFun")
|
||||
public void testDefaultParameterAddedForTopLevelFun() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun/");
|
||||
public void testAllFilesPresentInDefaultParameterRemoved() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemovedForTopLevelFun extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemoved")
|
||||
public void testDefaultParameterRemoved() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved/");
|
||||
public void testAllFilesPresentInDefaultParameterRemovedForTopLevelFun() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultValueInConstructorRemoved extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemovedForTopLevelFun")
|
||||
public void testDefaultParameterRemovedForTopLevelFun() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun/");
|
||||
public void testAllFilesPresentInDefaultValueInConstructorRemoved() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DuplicatedClass extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueInConstructorRemoved")
|
||||
public void testDefaultValueInConstructorRemoved() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved/");
|
||||
public void testAllFilesPresentInDuplicatedClass() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ExportedDependency extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("duplicatedClass")
|
||||
public void testDuplicatedClass() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass/");
|
||||
public void testAllFilesPresentInExportedDependency() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class FunctionFromDifferentPackageChanged extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("exportedDependency")
|
||||
public void testExportedDependency() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency/");
|
||||
public void testAllFilesPresentInFunctionFromDifferentPackageChanged() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionInlined extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("functionFromDifferentPackageChanged")
|
||||
public void testFunctionFromDifferentPackageChanged() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged/");
|
||||
public void testAllFilesPresentInInlineFunctionInlined() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionTwoPackageParts extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionInlined")
|
||||
public void testInlineFunctionInlined() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined/");
|
||||
public void testAllFilesPresentInInlineFunctionTwoPackageParts() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MoveFileToAnotherModule extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionTwoPackageParts")
|
||||
public void testInlineFunctionTwoPackageParts() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts/");
|
||||
public void testAllFilesPresentInMoveFileToAnotherModule() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simple")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Simple extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("moveFileToAnotherModule")
|
||||
public void testMoveFileToAnotherModule() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule/");
|
||||
public void testAllFilesPresentInSimple() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependency extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simple/");
|
||||
public void testAllFilesPresentInSimpleDependency() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal1 extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependency")
|
||||
public void testSimpleDependency() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency/");
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal1() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal2 extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal1")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal1() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1/");
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal2() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyUnchanged extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal2")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal2() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2/");
|
||||
public void testAllFilesPresentInSimpleDependencyUnchanged() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveDependency extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyUnchanged")
|
||||
public void testSimpleDependencyUnchanged() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged/");
|
||||
public void testAllFilesPresentInTransitiveDependency() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveInlining extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveDependency")
|
||||
public void testTransitiveDependency() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency/");
|
||||
public void testAllFilesPresentInTransitiveInlining() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TwoDependants extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveInlining")
|
||||
public void testTransitiveInlining() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining/");
|
||||
}
|
||||
|
||||
@TestMetadata("twoDependants")
|
||||
public void testTwoDependants() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/classAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassAdded extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInClassAdded() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassRemoved extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInClassRemoved() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ConstantValueChanged extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInConstantValueChanged() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CopyFileToAnotherModule extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCopyFileToAnotherModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultArgumentInConstructorRemoved extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultArgumentInConstructorRemoved() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAdded extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterAdded() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAddedForTopLevelFun extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterAddedForTopLevelFun() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemoved extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterRemoved() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemovedForTopLevelFun extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterRemovedForTopLevelFun() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultValueInConstructorRemoved extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultValueInConstructorRemoved() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DuplicatedClass extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDuplicatedClass() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ExportedDependency extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInExportedDependency() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class FunctionFromDifferentPackageChanged extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInFunctionFromDifferentPackageChanged() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionInlined extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineFunctionInlined() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionTwoPackageParts extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineFunctionTwoPackageParts() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MoveFileToAnotherModule extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMoveFileToAnotherModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simple")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Simple extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimple() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependency extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependency() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal1 extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal1() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal2 extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal2() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyUnchanged extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyUnchanged() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveDependency extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTransitiveDependency() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveInlining extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTransitiveInlining() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TwoDependants extends AbstractIncrementalK2JsKlibMultiModuleCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTwoDependants() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInTwoDependants() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2604
-2604
File diff suppressed because it is too large
Load Diff
+2604
-2604
File diff suppressed because it is too large
Load Diff
+91
-91
@@ -19,101 +19,101 @@ import java.util.regex.Pattern;
|
||||
@SuppressWarnings("all")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class IncrementalMultiplatformJvmCompilerRunnerTestGenerated extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class AllPlatforms extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInAllPlatforms() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("touchActual")
|
||||
public void testTouchActual() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual/");
|
||||
}
|
||||
|
||||
@TestMetadata("touchExpect")
|
||||
public void testTouchExpect() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TouchActual extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTouchActual() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TouchExpect extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTouchExpect() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class AllPlatforms extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1")
|
||||
public void testAllFilesPresentInAllPlatforms() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("touchActual")
|
||||
public void testTouchActual() {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual/");
|
||||
}
|
||||
|
||||
@TestMetadata("touchExpect")
|
||||
public void testTouchExpect() {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class JvmOnlyK1 extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
public static class TouchActual extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInJvmOnlyK1() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("multifilePartChanged")
|
||||
public void testMultifilePartChanged() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/multifilePartChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalExpectationWithActual")
|
||||
public void testOptionalExpectationWithActual() throws Exception {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/optionalExpectationWithActual/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/multifilePartChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MultifilePartChanged extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMultifilePartChanged() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/multifilePartChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/optionalExpectationWithActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class OptionalExpectationWithActual extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInOptionalExpectationWithActual() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/optionalExpectationWithActual"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
public void testAllFilesPresentInTouchActual() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchActual"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TouchExpect extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTouchExpect() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/allPlatforms/touchExpect"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class JvmOnlyK1 extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInJvmOnlyK1() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("multifilePartChanged")
|
||||
public void testMultifilePartChanged() {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/multifilePartChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("optionalExpectationWithActual")
|
||||
public void testOptionalExpectationWithActual() {
|
||||
runTest("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/optionalExpectationWithActual/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/multifilePartChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MultifilePartChanged extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMultifilePartChanged() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/multifilePartChanged"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/optionalExpectationWithActual")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class OptionalExpectationWithActual extends AbstractIncrementalMultiplatformJvmCompilerRunnerTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInOptionalExpectationWithActual() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/mpp/jvmOnlyK1/optionalExpectationWithActual"), Pattern.compile("^([^\\.]+)$"), null, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -22,21 +22,21 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class CompileKotlinAgainstKlibTestGenerated extends AbstractCompileKotlinAgainstKlibTest {
|
||||
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 testAllFilesPresentInBoxKlib() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxKlib"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
public void testAllFilesPresentInBoxKlib() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxKlib"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("properties.kt")
|
||||
public void testProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxKlib/properties.kt");
|
||||
}
|
||||
@TestMetadata("properties.kt")
|
||||
public void testProperties() {
|
||||
runTest("compiler/testData/codegen/boxKlib/properties.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxKlib/simple.kt");
|
||||
}
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/codegen/boxKlib/simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+46079
-46079
File diff suppressed because it is too large
Load Diff
+452
-452
@@ -19,482 +19,482 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticUsingJavacTestGenerated extends AbstractDiagnosticUsingJavacTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInJavac() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Annotations.kt")
|
||||
public void testAnnotations() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/Annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Lambda.kt")
|
||||
public void testLambda() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/Lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaNonGeneric.kt")
|
||||
public void testLambdaNonGeneric() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGeneric.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaNonGenericForbidden.kt")
|
||||
public void testLambdaNonGenericForbidden() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGenericForbidden.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/fieldsResolution")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FieldsResolution {
|
||||
@Test
|
||||
public void testAllFilesPresentInJavac() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
public void testAllFilesPresentInFieldsResolution() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/Annotations.kt");
|
||||
@TestMetadata("AsteriskStaticImportsAmbiguity.kt")
|
||||
public void testAsteriskStaticImportsAmbiguity() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/AsteriskStaticImportsAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/Lambda.kt");
|
||||
@TestMetadata("BinaryInitializers.kt")
|
||||
public void testBinaryInitializers() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/BinaryInitializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaNonGeneric.kt")
|
||||
public void testLambdaNonGeneric() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGeneric.kt");
|
||||
@TestMetadata("ConstantByFqName.kt")
|
||||
public void testConstantByFqName() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantByFqName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("LambdaNonGenericForbidden.kt")
|
||||
public void testLambdaNonGenericForbidden() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGenericForbidden.kt");
|
||||
@TestMetadata("ConstantValues.kt")
|
||||
public void testConstantValues() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantValues.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/fieldsResolution")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class FieldsResolution {
|
||||
@Test
|
||||
public void testAllFilesPresentInFieldsResolution() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/fieldsResolution"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AsteriskStaticImportsAmbiguity.kt")
|
||||
public void testAsteriskStaticImportsAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/AsteriskStaticImportsAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("BinaryInitializers.kt")
|
||||
public void testBinaryInitializers() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/BinaryInitializers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConstantByFqName.kt")
|
||||
public void testConstantByFqName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantByFqName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConstantValues.kt")
|
||||
public void testConstantValues() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ConstantValuesFromKtFile.kt")
|
||||
public void testConstantValuesFromKtFile() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantValuesFromKtFile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("FieldFromOuterClass.kt")
|
||||
public void testFieldFromOuterClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/FieldFromOuterClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedField.kt")
|
||||
public void testInheritedField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/InheritedField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MultipleOuters.kt")
|
||||
public void testMultipleOuters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/MultipleOuters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ResolutionPriority.kt")
|
||||
public void testResolutionPriority() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ResolutionPriority.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SameFieldInSupertypes.kt")
|
||||
public void testSameFieldInSupertypes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/SameFieldInSupertypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("StaticImport.kt")
|
||||
public void testStaticImport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/StaticImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("StaticImportsAmbiguity.kt")
|
||||
public void testStaticImportsAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/StaticImportsAmbiguity.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ConstantValuesFromKtFile.kt")
|
||||
public void testConstantValuesFromKtFile() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ConstantValuesFromKtFile.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/imports")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Imports {
|
||||
@Test
|
||||
public void testAllFilesPresentInImports() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AllUnderImportsAmbiguity.kt")
|
||||
public void testAllUnderImportsAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/AllUnderImportsAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AllUnderImportsLessPriority.kt")
|
||||
public void testAllUnderImportsLessPriority() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/AllUnderImportsLessPriority.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ClassImportsConflicting.kt")
|
||||
public void testClassImportsConflicting() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ClassImportsConflicting.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndAllUnderImport.kt")
|
||||
public void testCurrentPackageAndAllUnderImport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndAllUnderImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndExplicitImport.kt")
|
||||
public void testCurrentPackageAndExplicitImport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndExplicitImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndExplicitNestedImport.kt")
|
||||
public void testCurrentPackageAndExplicitNestedImport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndExplicitNestedImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndNestedAsteriskImport.kt")
|
||||
public void testCurrentPackageAndNestedAsteriskImport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndNestedAsteriskImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportGenericVsPackage.kt")
|
||||
public void testImportGenericVsPackage() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportGenericVsPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportProtectedClass.kt")
|
||||
public void testImportProtectedClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportProtectedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportTwoTimes.kt")
|
||||
public void testImportTwoTimes() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportTwoTimes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportTwoTimesStar.kt")
|
||||
public void testImportTwoTimesStar() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportTwoTimesStar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedAndTopLevelClassClash.kt")
|
||||
public void testNestedAndTopLevelClassClash() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/NestedAndTopLevelClassClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedClassClash.kt")
|
||||
public void testNestedClassClash() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/NestedClassClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackageExplicitAndStartImport.kt")
|
||||
public void testPackageExplicitAndStartImport() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/PackageExplicitAndStartImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackagePrivateAndPublicNested.kt")
|
||||
public void testPackagePrivateAndPublicNested() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/PackagePrivateAndPublicNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelClassVsPackage.kt")
|
||||
public void testTopLevelClassVsPackage() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/TopLevelClassVsPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelClassVsPackage2.kt")
|
||||
public void testTopLevelClassVsPackage2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/TopLevelClassVsPackage2.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("FieldFromOuterClass.kt")
|
||||
public void testFieldFromOuterClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/FieldFromOuterClass.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/inheritance")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Inheritance {
|
||||
@Test
|
||||
public void testAllFilesPresentInInheritance() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IheritanceOfInner.kt")
|
||||
public void testIheritanceOfInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/IheritanceOfInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceAmbiguity.kt")
|
||||
public void testInheritanceAmbiguity() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceAmbiguity2.kt")
|
||||
public void testInheritanceAmbiguity2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceAmbiguity3.kt")
|
||||
public void testInheritanceAmbiguity3() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceAmbiguity4.kt")
|
||||
public void testInheritanceAmbiguity4() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceWithKotlin.kt")
|
||||
public void testInheritanceWithKotlin() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceWithKotlin.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceWithKotlinClasses.kt")
|
||||
public void testInheritanceWithKotlinClasses() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceWithKotlinClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInner.kt")
|
||||
public void testInheritedInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInner2.kt")
|
||||
public void testInheritedInner2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInner2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInnerAndSupertypeWithSameName.kt")
|
||||
public void testInheritedInnerAndSupertypeWithSameName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInnerAndSupertypeWithSameName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInnerUsageInInner.kt")
|
||||
public void testInheritedInnerUsageInInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInnerUsageInInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedKotlinInner.kt")
|
||||
public void testInheritedKotlinInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedKotlinInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InnerAndInheritedInner.kt")
|
||||
public void testInnerAndInheritedInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InnerAndInheritedInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ManyInheritedClasses.kt")
|
||||
public void testManyInheritedClasses() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/ManyInheritedClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SameInnersInSupertypeAndSupertypesSupertype.kt")
|
||||
public void testSameInnersInSupertypeAndSupertypesSupertype() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SameInnersInSupertypeAndSupertypesSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SuperTypeWithSameInner.kt")
|
||||
public void testSuperTypeWithSameInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SuperTypeWithSameInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SupertypeInnerAndTypeParameterWithSameNames.kt")
|
||||
public void testSupertypeInnerAndTypeParameterWithSameNames() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SupertypeInnerAndTypeParameterWithSameNames.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("InheritedField.kt")
|
||||
public void testInheritedField() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/InheritedField.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/inners")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Inners {
|
||||
@Test
|
||||
public void testAllFilesPresentInInners() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexCase.kt")
|
||||
public void testComplexCase() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/ComplexCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexCase2.kt")
|
||||
public void testComplexCase2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/ComplexCase2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndInner.kt")
|
||||
public void testCurrentPackageAndInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/CurrentPackageAndInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportThriceNestedClass.kt")
|
||||
public void testImportThriceNestedClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/ImportThriceNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InnerInInner.kt")
|
||||
public void testInnerInInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/InnerInInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Nested.kt")
|
||||
public void testNested() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/Nested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ThriceNestedClass.kt")
|
||||
public void testThriceNestedClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/ThriceNestedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("MultipleOuters.kt")
|
||||
public void testMultipleOuters() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/MultipleOuters.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/qualifiedExpression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class QualifiedExpression {
|
||||
@Test
|
||||
public void testAllFilesPresentInQualifiedExpression() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("GenericClassVsPackage.kt")
|
||||
public void testGenericClassVsPackage() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/GenericClassVsPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackageVsClass.kt")
|
||||
public void testPackageVsClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackageVsClass2.kt")
|
||||
public void testPackageVsClass2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackageVsRootClass.kt")
|
||||
public void testPackageVsRootClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsRootClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibleClassVsQualifiedClass.kt")
|
||||
public void testVisibleClassVsQualifiedClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/visibleClassVsQualifiedClass.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("ResolutionPriority.kt")
|
||||
public void testResolutionPriority() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/ResolutionPriority.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/typeParameters")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeParameters {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeParameters() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Clash.kt")
|
||||
public void testClash() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/Clash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexCase.kt")
|
||||
public void testComplexCase() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/ComplexCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInnerAndTypeParameterWithSameNames.kt")
|
||||
public void testInheritedInnerAndTypeParameterWithSameNames() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/InheritedInnerAndTypeParameterWithSameNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InnerWithTypeParameter.kt")
|
||||
public void testInnerWithTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/InnerWithTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedWithInner.kt")
|
||||
public void testNestedWithInner() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/NestedWithInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SeveralInnersWithTypeParameters.kt")
|
||||
public void testSeveralInnersWithTypeParameters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/SeveralInnersWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParametersInInnerAndOuterWithSameNames.kt")
|
||||
public void testTypeParametersInInnerAndOuterWithSameNames() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/TypeParametersInInnerAndOuterWithSameNames.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("SameFieldInSupertypes.kt")
|
||||
public void testSameFieldInSupertypes() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/SameFieldInSupertypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("StaticImport.kt")
|
||||
public void testStaticImport() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/StaticImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("StaticImportsAmbiguity.kt")
|
||||
public void testStaticImportsAmbiguity() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/fieldsResolution/StaticImportsAmbiguity.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/imports")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Imports {
|
||||
@Test
|
||||
public void testAllFilesPresentInImports() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/imports"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AllUnderImportsAmbiguity.kt")
|
||||
public void testAllUnderImportsAmbiguity() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/AllUnderImportsAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("AllUnderImportsLessPriority.kt")
|
||||
public void testAllUnderImportsLessPriority() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/AllUnderImportsLessPriority.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ClassImportsConflicting.kt")
|
||||
public void testClassImportsConflicting() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ClassImportsConflicting.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndAllUnderImport.kt")
|
||||
public void testCurrentPackageAndAllUnderImport() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndAllUnderImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndExplicitImport.kt")
|
||||
public void testCurrentPackageAndExplicitImport() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndExplicitImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndExplicitNestedImport.kt")
|
||||
public void testCurrentPackageAndExplicitNestedImport() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndExplicitNestedImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndNestedAsteriskImport.kt")
|
||||
public void testCurrentPackageAndNestedAsteriskImport() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/CurrentPackageAndNestedAsteriskImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportGenericVsPackage.kt")
|
||||
public void testImportGenericVsPackage() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportGenericVsPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportProtectedClass.kt")
|
||||
public void testImportProtectedClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportProtectedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportTwoTimes.kt")
|
||||
public void testImportTwoTimes() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportTwoTimes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportTwoTimesStar.kt")
|
||||
public void testImportTwoTimesStar() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/ImportTwoTimesStar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedAndTopLevelClassClash.kt")
|
||||
public void testNestedAndTopLevelClassClash() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/NestedAndTopLevelClassClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedClassClash.kt")
|
||||
public void testNestedClassClash() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/NestedClassClash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackageExplicitAndStartImport.kt")
|
||||
public void testPackageExplicitAndStartImport() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/PackageExplicitAndStartImport.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackagePrivateAndPublicNested.kt")
|
||||
public void testPackagePrivateAndPublicNested() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/PackagePrivateAndPublicNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelClassVsPackage.kt")
|
||||
public void testTopLevelClassVsPackage() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/TopLevelClassVsPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TopLevelClassVsPackage2.kt")
|
||||
public void testTopLevelClassVsPackage2() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/imports/TopLevelClassVsPackage2.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/inheritance")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Inheritance {
|
||||
@Test
|
||||
public void testAllFilesPresentInInheritance() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inheritance"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IheritanceOfInner.kt")
|
||||
public void testIheritanceOfInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/IheritanceOfInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceAmbiguity.kt")
|
||||
public void testInheritanceAmbiguity() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceAmbiguity2.kt")
|
||||
public void testInheritanceAmbiguity2() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceAmbiguity3.kt")
|
||||
public void testInheritanceAmbiguity3() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceAmbiguity4.kt")
|
||||
public void testInheritanceAmbiguity4() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceAmbiguity4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceWithKotlin.kt")
|
||||
public void testInheritanceWithKotlin() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceWithKotlin.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritanceWithKotlinClasses.kt")
|
||||
public void testInheritanceWithKotlinClasses() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritanceWithKotlinClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInner.kt")
|
||||
public void testInheritedInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInner2.kt")
|
||||
public void testInheritedInner2() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInner2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInnerAndSupertypeWithSameName.kt")
|
||||
public void testInheritedInnerAndSupertypeWithSameName() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInnerAndSupertypeWithSameName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInnerUsageInInner.kt")
|
||||
public void testInheritedInnerUsageInInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedInnerUsageInInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedKotlinInner.kt")
|
||||
public void testInheritedKotlinInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InheritedKotlinInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InnerAndInheritedInner.kt")
|
||||
public void testInnerAndInheritedInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/InnerAndInheritedInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ManyInheritedClasses.kt")
|
||||
public void testManyInheritedClasses() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/ManyInheritedClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SameInnersInSupertypeAndSupertypesSupertype.kt")
|
||||
public void testSameInnersInSupertypeAndSupertypesSupertype() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SameInnersInSupertypeAndSupertypesSupertype.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SuperTypeWithSameInner.kt")
|
||||
public void testSuperTypeWithSameInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SuperTypeWithSameInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SupertypeInnerAndTypeParameterWithSameNames.kt")
|
||||
public void testSupertypeInnerAndTypeParameterWithSameNames() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inheritance/SupertypeInnerAndTypeParameterWithSameNames.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/inners")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Inners {
|
||||
@Test
|
||||
public void testAllFilesPresentInInners() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/inners"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexCase.kt")
|
||||
public void testComplexCase() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/ComplexCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexCase2.kt")
|
||||
public void testComplexCase2() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/ComplexCase2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("CurrentPackageAndInner.kt")
|
||||
public void testCurrentPackageAndInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/CurrentPackageAndInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImportThriceNestedClass.kt")
|
||||
public void testImportThriceNestedClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/ImportThriceNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InnerInInner.kt")
|
||||
public void testInnerInInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/InnerInInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Nested.kt")
|
||||
public void testNested() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/Nested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ThriceNestedClass.kt")
|
||||
public void testThriceNestedClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/inners/ThriceNestedClass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/qualifiedExpression")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class QualifiedExpression {
|
||||
@Test
|
||||
public void testAllFilesPresentInQualifiedExpression() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/qualifiedExpression"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("GenericClassVsPackage.kt")
|
||||
public void testGenericClassVsPackage() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/GenericClassVsPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackageVsClass.kt")
|
||||
public void testPackageVsClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackageVsClass2.kt")
|
||||
public void testPackageVsClass2() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("PackageVsRootClass.kt")
|
||||
public void testPackageVsRootClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/PackageVsRootClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("visibleClassVsQualifiedClass.kt")
|
||||
public void testVisibleClassVsQualifiedClass() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/qualifiedExpression/visibleClassVsQualifiedClass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/javac/typeParameters")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeParameters {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeParameters() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/javac/typeParameters"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Clash.kt")
|
||||
public void testClash() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/Clash.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ComplexCase.kt")
|
||||
public void testComplexCase() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/ComplexCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InheritedInnerAndTypeParameterWithSameNames.kt")
|
||||
public void testInheritedInnerAndTypeParameterWithSameNames() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/InheritedInnerAndTypeParameterWithSameNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InnerWithTypeParameter.kt")
|
||||
public void testInnerWithTypeParameter() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/InnerWithTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("NestedWithInner.kt")
|
||||
public void testNestedWithInner() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/NestedWithInner.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("SeveralInnersWithTypeParameters.kt")
|
||||
public void testSeveralInnersWithTypeParameters() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/SeveralInnersWithTypeParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParametersInInnerAndOuterWithSameNames.kt")
|
||||
public void testTypeParametersInInnerAndOuterWithSameNames() {
|
||||
runTest("compiler/testData/diagnostics/tests/javac/typeParameters/TypeParametersInInnerAndOuterWithSameNames.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+766
-766
File diff suppressed because it is too large
Load Diff
+35
-35
@@ -19,46 +19,46 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DiagnosticsWithMultiplatformCompositeAnalysisTestGenerated extends AbstractDiagnosticsWithMultiplatformCompositeAnalysisTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithMultiplatformCompositeAnalysis() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ConstVals {
|
||||
@Test
|
||||
public void testAllFilesPresentInTestsWithMultiplatformCompositeAnalysis() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
public void testAllFilesPresentInConstVals() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ConstVals {
|
||||
@Test
|
||||
public void testAllFilesPresentInConstVals() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonConstExpectConstActual.kt")
|
||||
public void testNonConstExpectConstActual() {
|
||||
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals/nonConstExpectConstActual.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonConstExpectConstActual.kt")
|
||||
public void testNonConstExpectConstActual() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/constVals/nonConstExpectConstActual.kt");
|
||||
}
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DefaultArguments {
|
||||
@Test
|
||||
public void testAllFilesPresentInDefaultArguments() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class DefaultArguments {
|
||||
@Test
|
||||
public void testAllFilesPresentInDefaultArguments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments/function.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() {
|
||||
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() {
|
||||
runTest("compiler/testData/diagnostics/testsWithMultiplatformCompositeAnalysis/defaultArguments/function.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1536
-1536
File diff suppressed because it is too large
Load Diff
+1606
-1606
File diff suppressed because it is too large
Load Diff
+1606
-1606
File diff suppressed because it is too large
Load Diff
+54303
-54303
File diff suppressed because it is too large
Load Diff
+15832
-15832
File diff suppressed because it is too large
Load Diff
+186
-186
@@ -20,196 +20,196 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/codegen/asmLike")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class AsmLikeInstructionListingTestGenerated extends AbstractAsmLikeInstructionListingTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInAsmLike() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/asmLike/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInAsmLike() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
public void testAllFilesPresentInReceiverMangling() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/asmLike/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepInline.kt")
|
||||
public void testDeepInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepInlineWithLabels.kt")
|
||||
public void testDeepInlineWithLabels() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinlineWithLabels_after.kt")
|
||||
public void testDeepNoinlineWithLabels_after() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinlineWithLabels_before.kt")
|
||||
public void testDeepNoinlineWithLabels_before() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinline_after.kt")
|
||||
public void testDeepNoinline_after() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinline_before.kt")
|
||||
public void testDeepNoinline_before() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassCapture.kt")
|
||||
public void testInlineClassCapture() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineClassCapture.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineReceivers.kt")
|
||||
public void testInlineReceivers() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctions.kt")
|
||||
public void testLocalFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/localFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mangledNames.kt")
|
||||
public void testMangledNames() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/mangledNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonInlineReceivers_after.kt")
|
||||
public void testNonInlineReceivers_after() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonInlineReceivers_before.kt")
|
||||
public void testNonInlineReceivers_before() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_before.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deepInline.kt")
|
||||
public void testDeepInline() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInline.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/asmLike/typeAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeAnnotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complex.kt")
|
||||
public void testComplex() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultArgs.kt")
|
||||
public void testDefaultArgs() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/defaultArgs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontEmit.kt")
|
||||
public void testDontEmit() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/dontEmit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClassConstructor.kt")
|
||||
public void testEnumClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/enumClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extension.kt")
|
||||
public void testExtension() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/extension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicit.kt")
|
||||
public void testImplicit() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/implicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverload.kt")
|
||||
public void testJvmOverload() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmOverload.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmStatic.kt")
|
||||
public void testJvmStatic() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notYetSupported.kt")
|
||||
public void testNotYetSupported() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/notYetSupported.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/property.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple2Params.kt")
|
||||
public void testSimple2Params() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple2Params.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticNested.kt")
|
||||
public void testStaticNested() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/staticNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessors.kt")
|
||||
public void testSyntheticAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/syntheticAccessors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deepInlineWithLabels.kt")
|
||||
public void testDeepInlineWithLabels() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinlineWithLabels_after.kt")
|
||||
public void testDeepNoinlineWithLabels_after() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinlineWithLabels_before.kt")
|
||||
public void testDeepNoinlineWithLabels_before() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinline_after.kt")
|
||||
public void testDeepNoinline_after() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinline_before.kt")
|
||||
public void testDeepNoinline_before() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassCapture.kt")
|
||||
public void testInlineClassCapture() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineClassCapture.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineReceivers.kt")
|
||||
public void testInlineReceivers() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctions.kt")
|
||||
public void testLocalFunctions() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/localFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mangledNames.kt")
|
||||
public void testMangledNames() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/mangledNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonInlineReceivers_after.kt")
|
||||
public void testNonInlineReceivers_after() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonInlineReceivers_before.kt")
|
||||
public void testNonInlineReceivers_before() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_before.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/asmLike/typeAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeAnnotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complex.kt")
|
||||
public void testComplex() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultArgs.kt")
|
||||
public void testDefaultArgs() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/defaultArgs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontEmit.kt")
|
||||
public void testDontEmit() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/dontEmit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClassConstructor.kt")
|
||||
public void testEnumClassConstructor() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/enumClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extension.kt")
|
||||
public void testExtension() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/extension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicit.kt")
|
||||
public void testImplicit() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/implicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverload.kt")
|
||||
public void testJvmOverload() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmOverload.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmStatic.kt")
|
||||
public void testJvmStatic() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notYetSupported.kt")
|
||||
public void testNotYetSupported() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/notYetSupported.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/property.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple2Params.kt")
|
||||
public void testSimple2Params() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple2Params.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticNested.kt")
|
||||
public void testStaticNested() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/staticNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessors.kt")
|
||||
public void testSyntheticAccessors() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/syntheticAccessors.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+51139
-51139
File diff suppressed because it is too large
Load Diff
+5567
-5567
File diff suppressed because it is too large
Load Diff
+691
-691
File diff suppressed because it is too large
Load Diff
+5479
-5479
File diff suppressed because it is too large
Load Diff
+5567
-5567
File diff suppressed because it is too large
Load Diff
+210
-210
@@ -20,220 +20,220 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/codegen/asmLike")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrAsmLikeInstructionListingTestGenerated extends AbstractIrAsmLikeInstructionListingTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInAsmLike() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/asmLike/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInAsmLike() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInReceiverMangling() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/asmLike/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepInline.kt")
|
||||
public void testDeepInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepInlineWithLabels.kt")
|
||||
public void testDeepInlineWithLabels() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinlineWithLabels_after.kt")
|
||||
public void testDeepNoinlineWithLabels_after() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinlineWithLabels_before.kt")
|
||||
public void testDeepNoinlineWithLabels_before() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinline_after.kt")
|
||||
public void testDeepNoinline_after() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinline_before.kt")
|
||||
public void testDeepNoinline_before() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassCapture.kt")
|
||||
public void testInlineClassCapture() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineClassCapture.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineReceivers.kt")
|
||||
public void testInlineReceivers() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctions.kt")
|
||||
public void testLocalFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/localFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mangledNames.kt")
|
||||
public void testMangledNames() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/mangledNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonInlineReceivers_after.kt")
|
||||
public void testNonInlineReceivers_after() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonInlineReceivers_before.kt")
|
||||
public void testNonInlineReceivers_before() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_before.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deepInline.kt")
|
||||
public void testDeepInline() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInline.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/asmLike/typeAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeAnnotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeAnnotations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameter.kt")
|
||||
public void testClassTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/classTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complex.kt")
|
||||
public void testComplex() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultArgs.kt")
|
||||
public void testDefaultArgs() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/defaultArgs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontEmit.kt")
|
||||
public void testDontEmit() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/dontEmit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClassConstructor.kt")
|
||||
public void testEnumClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/enumClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extension.kt")
|
||||
public void testExtension() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/extension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTypeParameter.kt")
|
||||
public void testFunctionTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/functionTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicit.kt")
|
||||
public void testImplicit() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/implicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverload.kt")
|
||||
public void testJvmOverload() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmOverload.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmStatic.kt")
|
||||
public void testJvmStatic() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notYetSupported.kt")
|
||||
public void testNotYetSupported() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/notYetSupported.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/property.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyTypeParameter.kt")
|
||||
public void testPropertyTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/propertyTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple2Params.kt")
|
||||
public void testSimple2Params() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple2Params.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticNested.kt")
|
||||
public void testStaticNested() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/staticNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessors.kt")
|
||||
public void testSyntheticAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/syntheticAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameter.kt")
|
||||
public void testTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/typeParameter.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("deepInlineWithLabels.kt")
|
||||
public void testDeepInlineWithLabels() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinlineWithLabels_after.kt")
|
||||
public void testDeepNoinlineWithLabels_after() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinlineWithLabels_before.kt")
|
||||
public void testDeepNoinlineWithLabels_before() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinlineWithLabels_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinline_after.kt")
|
||||
public void testDeepNoinline_after() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deepNoinline_before.kt")
|
||||
public void testDeepNoinline_before() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/deepNoinline_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassCapture.kt")
|
||||
public void testInlineClassCapture() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineClassCapture.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineReceivers.kt")
|
||||
public void testInlineReceivers() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/inlineReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunctions.kt")
|
||||
public void testLocalFunctions() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/localFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mangledNames.kt")
|
||||
public void testMangledNames() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/mangledNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonInlineReceivers_after.kt")
|
||||
public void testNonInlineReceivers_after() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonInlineReceivers_before.kt")
|
||||
public void testNonInlineReceivers_before() {
|
||||
runTest("compiler/testData/codegen/asmLike/receiverMangling/nonInlineReceivers_before.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/asmLike/typeAnnotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class TypeAnnotations {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeAnnotations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classTypeParameter.kt")
|
||||
public void testClassTypeParameter() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/classTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("complex.kt")
|
||||
public void testComplex() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructor.kt")
|
||||
public void testConstructor() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/constructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("defaultArgs.kt")
|
||||
public void testDefaultArgs() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/defaultArgs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontEmit.kt")
|
||||
public void testDontEmit() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/dontEmit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumClassConstructor.kt")
|
||||
public void testEnumClassConstructor() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/enumClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extension.kt")
|
||||
public void testExtension() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/extension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionTypeParameter.kt")
|
||||
public void testFunctionTypeParameter() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/functionTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("implicit.kt")
|
||||
public void testImplicit() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/implicit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerClassConstructor.kt")
|
||||
public void testInnerClassConstructor() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/innerClassConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverload.kt")
|
||||
public void testJvmOverload() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmOverload.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmStatic.kt")
|
||||
public void testJvmStatic() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/jvmStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notYetSupported.kt")
|
||||
public void testNotYetSupported() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/notYetSupported.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/property.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyTypeParameter.kt")
|
||||
public void testPropertyTypeParameter() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/propertyTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple2Params.kt")
|
||||
public void testSimple2Params() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/simple2Params.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticNested.kt")
|
||||
public void testStaticNested() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/staticNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticAccessors.kt")
|
||||
public void testSyntheticAccessors() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/syntheticAccessors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameter.kt")
|
||||
public void testTypeParameter() {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/typeParameter.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+54355
-54355
File diff suppressed because it is too large
Load Diff
+54355
-54355
File diff suppressed because it is too large
Load Diff
+5655
-5655
File diff suppressed because it is too large
Load Diff
+5655
-5655
File diff suppressed because it is too large
Load Diff
+721
-721
File diff suppressed because it is too large
Load Diff
+2322
-2322
File diff suppressed because it is too large
Load Diff
+5891
-5891
File diff suppressed because it is too large
Load Diff
+5655
-5655
File diff suppressed because it is too large
Load Diff
+379
-379
@@ -20,478 +20,478 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/debug/localVariables")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrLocalVariableBytecodeInlinerTestGenerated extends AbstractIrLocalVariableBytecodeInlinerTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocalVariables() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() {
|
||||
runTest("compiler/testData/debug/localVariables/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("catchClause.kt")
|
||||
public void testCatchClause() {
|
||||
runTest("compiler/testData/debug/localVariables/catchClause.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyFunction.kt")
|
||||
public void testCopyFunction() {
|
||||
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directInvoke.kt")
|
||||
public void testDirectInvoke() {
|
||||
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhile.kt")
|
||||
public void testDoWhile() {
|
||||
runTest("compiler/testData/debug/localVariables/doWhile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyFun.kt")
|
||||
public void testEmptyFun() {
|
||||
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInObject.kt")
|
||||
public void testInlineFunInObject() {
|
||||
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() {
|
||||
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() {
|
||||
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInObject.kt")
|
||||
public void testLambdaInObject() {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithLambdaParameter.kt")
|
||||
public void testLambdaWithLambdaParameter() {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() {
|
||||
runTest("compiler/testData/debug/localVariables/localFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunUnused.kt")
|
||||
public void testLocalFunUnused() {
|
||||
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally.kt")
|
||||
public void testTryFinally() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally10.kt")
|
||||
public void testTryFinally10() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally11.kt")
|
||||
public void testTryFinally11() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally12.kt")
|
||||
public void testTryFinally12() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally13.kt")
|
||||
public void testTryFinally13() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally14.kt")
|
||||
public void testTryFinally14() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally15.kt")
|
||||
public void testTryFinally15() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally16.kt")
|
||||
public void testTryFinally16() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally17.kt")
|
||||
public void testTryFinally17() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally3.kt")
|
||||
public void testTryFinally3() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally4.kt")
|
||||
public void testTryFinally4() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally5.kt")
|
||||
public void testTryFinally5() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_1.kt")
|
||||
public void testTryFinally6_1() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_2.kt")
|
||||
public void testTryFinally6_2() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally7.kt")
|
||||
public void testTryFinally7() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally8.kt")
|
||||
public void testTryFinally8() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally9.kt")
|
||||
public void testTryFinally9() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/constructors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Constructors {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocalVariables() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInConstructors() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleConstructors.kt")
|
||||
public void testMultipleConstructors() {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/assignment.kt");
|
||||
public void testAssignment() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("catchClause.kt")
|
||||
public void testCatchClause() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/catchClause.kt");
|
||||
@TestMetadata("assignmentCustomComponentNs.kt")
|
||||
public void testAssignmentCustomComponentNs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyFunction.kt")
|
||||
public void testCopyFunction() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
|
||||
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
|
||||
public void testAssignmentCustomComponentNsMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directInvoke.kt")
|
||||
public void testDirectInvoke() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
|
||||
@TestMetadata("assignmentMultiline.kt")
|
||||
public void testAssignmentMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhile.kt")
|
||||
public void testDoWhile() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/doWhile.kt");
|
||||
@TestMetadata("assignmentUnderscoreNames.kt")
|
||||
public void testAssignmentUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyFun.kt")
|
||||
public void testEmptyFun() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
|
||||
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
|
||||
public void testAssignmentUnderscoreNamesMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
|
||||
public void testForLoopMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInObject.kt")
|
||||
public void testInlineFunInObject() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
|
||||
@TestMetadata("lambdaCustomComponentNs.kt")
|
||||
public void testLambdaCustomComponentNs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
|
||||
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
|
||||
public void testLambdaCustomComponentNsMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInObject.kt")
|
||||
public void testLambdaInObject() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
|
||||
@TestMetadata("lambdaMultiline.kt")
|
||||
public void testLambdaMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithLambdaParameter.kt")
|
||||
public void testLambdaWithLambdaParameter() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
|
||||
@TestMetadata("lambdaMultipleDestructs.kt")
|
||||
public void testLambdaMultipleDestructs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/localFun.kt");
|
||||
@TestMetadata("capturedThisField.kt")
|
||||
public void testCapturedThisField() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunUnused.kt")
|
||||
public void testLocalFunUnused() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
|
||||
@TestMetadata("labeledThisParameterLabel.kt")
|
||||
public void testLabeledThisParameterLabel() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally.kt")
|
||||
public void testTryFinally() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
|
||||
@TestMetadata("lambdaWithExtensionReceiver.kt")
|
||||
public void testLambdaWithExtensionReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally10.kt")
|
||||
public void testTryFinally10() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
|
||||
@TestMetadata("receiverParameter.kt")
|
||||
public void testReceiverParameter() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally11.kt")
|
||||
public void testTryFinally11() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally12.kt")
|
||||
public void testTryFinally12() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
|
||||
@TestMetadata("simpleCapturedReceiver.kt")
|
||||
public void testSimpleCapturedReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally13.kt")
|
||||
public void testTryFinally13() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
|
||||
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
|
||||
public void testSimpleCapturedReceiverWithLabel() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally14.kt")
|
||||
public void testTryFinally14() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
|
||||
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
|
||||
public void testSimpleCapturedReceiverWithParenthesis() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suspend {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuspend() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally15.kt")
|
||||
public void testTryFinally15() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
|
||||
@TestMetadata("inlineLocalsStateMachineTransform.kt")
|
||||
public void testInlineLocalsStateMachineTransform() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally16.kt")
|
||||
public void testTryFinally16() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
|
||||
@TestMetadata("localsStateMachineTransform.kt")
|
||||
public void testLocalsStateMachineTransform() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally17.kt")
|
||||
public void testTryFinally17() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
|
||||
@TestMetadata("mergeLvt.kt")
|
||||
public void testMergeLvt() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
|
||||
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
|
||||
public void testNestedInsideSuspendUnintercepted() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally3.kt")
|
||||
public void testTryFinally3() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
|
||||
@TestMetadata("nestedSuspendUnintercepted.kt")
|
||||
public void testNestedSuspendUnintercepted() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally4.kt")
|
||||
public void testTryFinally4() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
|
||||
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
|
||||
public void testNestedSuspendUninterceptedWithDeepLambdaCall() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally5.kt")
|
||||
public void testTryFinally5() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_1.kt")
|
||||
public void testTryFinally6_1() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_2.kt")
|
||||
public void testTryFinally6_2() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally7.kt")
|
||||
public void testTryFinally7() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally8.kt")
|
||||
public void testTryFinally8() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally9.kt")
|
||||
public void testTryFinally9() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
|
||||
public void testUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/constructors")
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Constructors {
|
||||
@Test
|
||||
public void testAllFilesPresentInConstructors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
public class Completion {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompletion() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleConstructors.kt")
|
||||
public void testMultipleConstructors() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonStaticSimple.kt")
|
||||
public void testNonStaticSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentCustomComponentNs.kt")
|
||||
public void testAssignmentCustomComponentNs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
|
||||
public void testAssignmentCustomComponentNsMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentMultiline.kt")
|
||||
public void testAssignmentMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentUnderscoreNames.kt")
|
||||
public void testAssignmentUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
|
||||
public void testAssignmentUnderscoreNamesMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCustomComponentNs.kt")
|
||||
public void testLambdaCustomComponentNs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
|
||||
public void testLambdaCustomComponentNsMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaMultiline.kt")
|
||||
public void testLambdaMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaMultipleDestructs.kt")
|
||||
public void testLambdaMultipleDestructs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedThisField.kt")
|
||||
public void testCapturedThisField() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labeledThisParameterLabel.kt")
|
||||
public void testLabeledThisParameterLabel() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithExtensionReceiver.kt")
|
||||
public void testLambdaWithExtensionReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverParameter.kt")
|
||||
public void testReceiverParameter() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiver.kt")
|
||||
public void testSimpleCapturedReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
|
||||
public void testSimpleCapturedReceiverWithLabel() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
|
||||
public void testSimpleCapturedReceiverWithParenthesis() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suspend {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuspend() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineLocalsStateMachineTransform.kt")
|
||||
public void testInlineLocalsStateMachineTransform() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localsStateMachineTransform.kt")
|
||||
public void testLocalsStateMachineTransform() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mergeLvt.kt")
|
||||
public void testMergeLvt() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
|
||||
public void testNestedInsideSuspendUnintercepted() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedSuspendUnintercepted.kt")
|
||||
public void testNestedSuspendUnintercepted() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
|
||||
public void testNestedSuspendUninterceptedWithDeepLambdaCall() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Completion {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompletion() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonStaticSimple.kt")
|
||||
public void testNonStaticSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonStaticStateMachine.kt")
|
||||
public void testNonStaticStateMachine() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimple.kt")
|
||||
public void testStaticSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimpleReceiver.kt")
|
||||
public void testStaticSimpleReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachine.kt")
|
||||
public void testStaticStateMachine() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachineReceiver.kt")
|
||||
public void testStaticStateMachineReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonStaticStateMachine.kt")
|
||||
public void testNonStaticStateMachine() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimple.kt")
|
||||
public void testStaticSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimpleReceiver.kt")
|
||||
public void testStaticSimpleReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachine.kt")
|
||||
public void testStaticStateMachine() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachineReceiver.kt")
|
||||
public void testStaticStateMachineReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+379
-379
@@ -20,478 +20,478 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/debug/localVariables")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class IrLocalVariableIrInlinerTestGenerated extends AbstractIrLocalVariableIrInlinerTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocalVariables() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() {
|
||||
runTest("compiler/testData/debug/localVariables/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("catchClause.kt")
|
||||
public void testCatchClause() {
|
||||
runTest("compiler/testData/debug/localVariables/catchClause.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyFunction.kt")
|
||||
public void testCopyFunction() {
|
||||
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directInvoke.kt")
|
||||
public void testDirectInvoke() {
|
||||
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhile.kt")
|
||||
public void testDoWhile() {
|
||||
runTest("compiler/testData/debug/localVariables/doWhile.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyFun.kt")
|
||||
public void testEmptyFun() {
|
||||
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInObject.kt")
|
||||
public void testInlineFunInObject() {
|
||||
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() {
|
||||
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() {
|
||||
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInObject.kt")
|
||||
public void testLambdaInObject() {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithLambdaParameter.kt")
|
||||
public void testLambdaWithLambdaParameter() {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() {
|
||||
runTest("compiler/testData/debug/localVariables/localFun.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunUnused.kt")
|
||||
public void testLocalFunUnused() {
|
||||
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally.kt")
|
||||
public void testTryFinally() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally10.kt")
|
||||
public void testTryFinally10() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally11.kt")
|
||||
public void testTryFinally11() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally12.kt")
|
||||
public void testTryFinally12() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally13.kt")
|
||||
public void testTryFinally13() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally14.kt")
|
||||
public void testTryFinally14() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally15.kt")
|
||||
public void testTryFinally15() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally16.kt")
|
||||
public void testTryFinally16() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally17.kt")
|
||||
public void testTryFinally17() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally3.kt")
|
||||
public void testTryFinally3() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally4.kt")
|
||||
public void testTryFinally4() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally5.kt")
|
||||
public void testTryFinally5() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_1.kt")
|
||||
public void testTryFinally6_1() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_2.kt")
|
||||
public void testTryFinally6_2() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally7.kt")
|
||||
public void testTryFinally7() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally8.kt")
|
||||
public void testTryFinally8() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally9.kt")
|
||||
public void testTryFinally9() {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/constructors")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Constructors {
|
||||
@Test
|
||||
public void testAllFilesPresentInLocalVariables() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInConstructors() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleConstructors.kt")
|
||||
public void testMultipleConstructors() {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/assignment.kt");
|
||||
public void testAssignment() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("catchClause.kt")
|
||||
public void testCatchClause() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/catchClause.kt");
|
||||
@TestMetadata("assignmentCustomComponentNs.kt")
|
||||
public void testAssignmentCustomComponentNs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("copyFunction.kt")
|
||||
public void testCopyFunction() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/copyFunction.kt");
|
||||
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
|
||||
public void testAssignmentCustomComponentNsMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("directInvoke.kt")
|
||||
public void testDirectInvoke() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/directInvoke.kt");
|
||||
@TestMetadata("assignmentMultiline.kt")
|
||||
public void testAssignmentMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhile.kt")
|
||||
public void testDoWhile() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/doWhile.kt");
|
||||
@TestMetadata("assignmentUnderscoreNames.kt")
|
||||
public void testAssignmentUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("emptyFun.kt")
|
||||
public void testEmptyFun() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/emptyFun.kt");
|
||||
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
|
||||
public void testAssignmentUnderscoreNamesMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
|
||||
public void testForLoopMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineFunInObject.kt")
|
||||
public void testInlineFunInObject() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/inlineProperty.kt");
|
||||
@TestMetadata("lambdaCustomComponentNs.kt")
|
||||
public void testLambdaCustomComponentNs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmOverloads.kt")
|
||||
public void testJvmOverloads() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/jvmOverloads.kt");
|
||||
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
|
||||
public void testLambdaCustomComponentNsMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInObject.kt")
|
||||
public void testLambdaInObject() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
|
||||
@TestMetadata("lambdaMultiline.kt")
|
||||
public void testLambdaMultiline() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithLambdaParameter.kt")
|
||||
public void testLambdaWithLambdaParameter() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/lambdaWithLambdaParameter.kt");
|
||||
@TestMetadata("lambdaMultipleDestructs.kt")
|
||||
public void testLambdaMultipleDestructs() {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFun.kt")
|
||||
public void testLocalFun() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/localFun.kt");
|
||||
@TestMetadata("capturedThisField.kt")
|
||||
public void testCapturedThisField() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunUnused.kt")
|
||||
public void testLocalFunUnused() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/localFunUnused.kt");
|
||||
@TestMetadata("labeledThisParameterLabel.kt")
|
||||
public void testLabeledThisParameterLabel() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally.kt")
|
||||
public void testTryFinally() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally.kt");
|
||||
@TestMetadata("lambdaWithExtensionReceiver.kt")
|
||||
public void testLambdaWithExtensionReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally10.kt")
|
||||
public void testTryFinally10() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally10.kt");
|
||||
@TestMetadata("receiverParameter.kt")
|
||||
public void testReceiverParameter() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally11.kt")
|
||||
public void testTryFinally11() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally11.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally12.kt")
|
||||
public void testTryFinally12() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally12.kt");
|
||||
@TestMetadata("simpleCapturedReceiver.kt")
|
||||
public void testSimpleCapturedReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally13.kt")
|
||||
public void testTryFinally13() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally13.kt");
|
||||
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
|
||||
public void testSimpleCapturedReceiverWithLabel() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally14.kt")
|
||||
public void testTryFinally14() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally14.kt");
|
||||
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
|
||||
public void testSimpleCapturedReceiverWithParenthesis() {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suspend {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuspend() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally15.kt")
|
||||
public void testTryFinally15() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally15.kt");
|
||||
@TestMetadata("inlineLocalsStateMachineTransform.kt")
|
||||
public void testInlineLocalsStateMachineTransform() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally16.kt")
|
||||
public void testTryFinally16() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally16.kt");
|
||||
@TestMetadata("localsStateMachineTransform.kt")
|
||||
public void testLocalsStateMachineTransform() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally17.kt")
|
||||
public void testTryFinally17() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally17.kt");
|
||||
@TestMetadata("mergeLvt.kt")
|
||||
public void testMergeLvt() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally2.kt");
|
||||
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
|
||||
public void testNestedInsideSuspendUnintercepted() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally3.kt")
|
||||
public void testTryFinally3() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally3.kt");
|
||||
@TestMetadata("nestedSuspendUnintercepted.kt")
|
||||
public void testNestedSuspendUnintercepted() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally4.kt")
|
||||
public void testTryFinally4() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally4.kt");
|
||||
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
|
||||
public void testNestedSuspendUninterceptedWithDeepLambdaCall() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally5.kt")
|
||||
public void testTryFinally5() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_1.kt")
|
||||
public void testTryFinally6_1() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally6_2.kt")
|
||||
public void testTryFinally6_2() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally6_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally7.kt")
|
||||
public void testTryFinally7() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally7.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally8.kt")
|
||||
public void testTryFinally8() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally8.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally9.kt")
|
||||
public void testTryFinally9() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/tryFinally9.kt");
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/underscoreNames.kt");
|
||||
public void testUnderscoreNames() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/constructors")
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Constructors {
|
||||
@Test
|
||||
public void testAllFilesPresentInConstructors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/constructors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
public class Completion {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompletion() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleConstructors.kt")
|
||||
public void testMultipleConstructors() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/multipleConstructors.kt");
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonStaticSimple.kt")
|
||||
public void testNonStaticSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("property.kt")
|
||||
public void testProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/constructors/property.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/destructuring")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Destructuring {
|
||||
@Test
|
||||
public void testAllFilesPresentInDestructuring() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/destructuring"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignment.kt")
|
||||
public void testAssignment() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignment.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentCustomComponentNs.kt")
|
||||
public void testAssignmentCustomComponentNs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentCustomComponentNsMultiline.kt")
|
||||
public void testAssignmentCustomComponentNsMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentMultiline.kt")
|
||||
public void testAssignmentMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentUnderscoreNames.kt")
|
||||
public void testAssignmentUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("assignmentUnderscoreNamesMultiline.kt")
|
||||
public void testAssignmentUnderscoreNamesMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/assignmentUnderscoreNamesMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoop.kt")
|
||||
public void testForLoop() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoop.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forLoopMultiline.kt")
|
||||
public void testForLoopMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/forLoopMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda.kt")
|
||||
public void testLambda() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCustomComponentNs.kt")
|
||||
public void testLambdaCustomComponentNs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaCustomComponentNsMultiline.kt")
|
||||
public void testLambdaCustomComponentNsMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaCustomComponentNsMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaMultiline.kt")
|
||||
public void testLambdaMultiline() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultiline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaMultipleDestructs.kt")
|
||||
public void testLambdaMultipleDestructs() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/destructuring/lambdaMultipleDestructs.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/receiverMangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ReceiverMangling {
|
||||
@Test
|
||||
public void testAllFilesPresentInReceiverMangling() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/receiverMangling"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedThisField.kt")
|
||||
public void testCapturedThisField() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/capturedThisField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labeledThisParameterLabel.kt")
|
||||
public void testLabeledThisParameterLabel() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/labeledThisParameterLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithExtensionReceiver.kt")
|
||||
public void testLambdaWithExtensionReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/lambdaWithExtensionReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverParameter.kt")
|
||||
public void testReceiverParameter() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/receiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiver.kt")
|
||||
public void testSimpleCapturedReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiverWithLabel.kt")
|
||||
public void testSimpleCapturedReceiverWithLabel() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithLabel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleCapturedReceiverWithParenthesis.kt")
|
||||
public void testSimpleCapturedReceiverWithParenthesis() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/receiverMangling/simpleCapturedReceiverWithParenthesis.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Suspend {
|
||||
@Test
|
||||
public void testAllFilesPresentInSuspend() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineLocalsStateMachineTransform.kt")
|
||||
public void testInlineLocalsStateMachineTransform() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/inlineLocalsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localsStateMachineTransform.kt")
|
||||
public void testLocalsStateMachineTransform() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/localsStateMachineTransform.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("mergeLvt.kt")
|
||||
public void testMergeLvt() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/mergeLvt.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInsideSuspendUnintercepted.kt")
|
||||
public void testNestedInsideSuspendUnintercepted() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedInsideSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedSuspendUnintercepted.kt")
|
||||
public void testNestedSuspendUnintercepted() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUnintercepted.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedSuspendUninterceptedWithDeepLambdaCall.kt")
|
||||
public void testNestedSuspendUninterceptedWithDeepLambdaCall() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/nestedSuspendUninterceptedWithDeepLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/simple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("underscoreNames.kt")
|
||||
public void testUnderscoreNames() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/underscoreNames.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/debug/localVariables/suspend/completion")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Completion {
|
||||
@Test
|
||||
public void testAllFilesPresentInCompletion() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/debug/localVariables/suspend/completion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonStaticSimple.kt")
|
||||
public void testNonStaticSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonStaticStateMachine.kt")
|
||||
public void testNonStaticStateMachine() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimple.kt")
|
||||
public void testStaticSimple() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimpleReceiver.kt")
|
||||
public void testStaticSimpleReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachine.kt")
|
||||
public void testStaticStateMachine() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachineReceiver.kt")
|
||||
public void testStaticStateMachineReceiver() throws Exception {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
|
||||
}
|
||||
}
|
||||
@Test
|
||||
@TestMetadata("nonStaticStateMachine.kt")
|
||||
public void testNonStaticStateMachine() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/nonStaticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimple.kt")
|
||||
public void testStaticSimple() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticSimpleReceiver.kt")
|
||||
public void testStaticSimpleReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticSimpleReceiver.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachine.kt")
|
||||
public void testStaticStateMachine() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachine.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("staticStateMachineReceiver.kt")
|
||||
public void testStaticStateMachineReceiver() {
|
||||
runTest("compiler/testData/debug/localVariables/suspend/completion/staticStateMachineReceiver.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5655
-5655
File diff suppressed because it is too large
Load Diff
+676
-676
File diff suppressed because it is too large
Load Diff
+676
-676
File diff suppressed because it is too large
Load Diff
+5655
-5655
File diff suppressed because it is too large
Load Diff
+845
-845
File diff suppressed because it is too large
Load Diff
+5567
-5567
File diff suppressed because it is too large
Load Diff
+839
-839
File diff suppressed because it is too large
Load Diff
+126
-126
@@ -20,168 +20,168 @@ import java.util.regex.Pattern;
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ClassicJvmIrSourceRangesTestGenerated extends AbstractClassicJvmIrSourceRangesTest {
|
||||
@Test
|
||||
public void testAllFilesPresentInSourceRanges() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() {
|
||||
runTest("compiler/testData/ir/sourceRanges/annotations.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("augmentedAssignmentWithExpression.kt")
|
||||
public void testAugmentedAssignmentWithExpression() {
|
||||
runTest("compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("comments.kt")
|
||||
public void testComments() {
|
||||
runTest("compiler/testData/ir/sourceRanges/comments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvis.kt")
|
||||
public void testElvis() {
|
||||
runTest("compiler/testData/ir/sourceRanges/elvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambdaCall.kt")
|
||||
public void testExtensionLambdaCall() {
|
||||
runTest("compiler/testData/ir/sourceRanges/extensionLambdaCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17108.kt")
|
||||
public void testKt17108() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt17108.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24258.kt")
|
||||
public void testKt24258() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt24258.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779.kt")
|
||||
public void testKt63779() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779_2.kt")
|
||||
public void testKt63779_2() {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiLineCall.kt")
|
||||
public void testMultiLineCall() {
|
||||
runTest("compiler/testData/ir/sourceRanges/multiLineCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("operators.kt")
|
||||
public void testOperators() {
|
||||
runTest("compiler/testData/ir/sourceRanges/operators.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixIncrementDecrement.kt")
|
||||
public void testPostfixIncrementDecrement() {
|
||||
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("this.kt")
|
||||
public void testThis() {
|
||||
runTest("compiler/testData/ir/sourceRanges/this.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Declarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInSourceRanges() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
public void testAllFilesPresentInDeclarations() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotations.kt")
|
||||
public void testAnnotations() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/annotations.kt");
|
||||
@TestMetadata("classFuns.kt")
|
||||
public void testClassFuns() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("augmentedAssignmentWithExpression.kt")
|
||||
public void testAugmentedAssignmentWithExpression() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/augmentedAssignmentWithExpression.kt");
|
||||
@TestMetadata("classProperties.kt")
|
||||
public void testClassProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("comments.kt")
|
||||
public void testComments() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/comments.kt");
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("elvis.kt")
|
||||
public void testElvis() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/elvis.kt");
|
||||
@TestMetadata("delegatedProperties.kt")
|
||||
public void testDelegatedProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extensionLambdaCall.kt")
|
||||
public void testExtensionLambdaCall() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/extensionLambdaCall.kt");
|
||||
@TestMetadata("fakeOverrides.kt")
|
||||
public void testFakeOverrides() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17108.kt")
|
||||
public void testKt17108() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt17108.kt");
|
||||
@TestMetadata("fakeOverrides2.kt")
|
||||
public void testFakeOverrides2() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt24258.kt")
|
||||
public void testKt24258() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt24258.kt");
|
||||
@TestMetadata("kt29862.kt")
|
||||
public void testKt29862() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/kt29862.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779.kt")
|
||||
public void testKt63779() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779.kt");
|
||||
@TestMetadata("primaryConstructors.kt")
|
||||
public void testPrimaryConstructors() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63779_2.kt")
|
||||
public void testKt63779_2() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/kt63779_2.kt");
|
||||
@TestMetadata("secondaryConstructors.kt")
|
||||
public void testSecondaryConstructors() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/secondaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiLineCall.kt")
|
||||
public void testMultiLineCall() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/multiLineCall.kt");
|
||||
@TestMetadata("synthesizedDataClassMembers.kt")
|
||||
public void testSynthesizedDataClassMembers() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/synthesizedDataClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("operators.kt")
|
||||
public void testOperators() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/operators.kt");
|
||||
@TestMetadata("topLevelFuns.kt")
|
||||
public void testTopLevelFuns() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("postfixIncrementDecrement.kt")
|
||||
public void testPostfixIncrementDecrement() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("this.kt")
|
||||
public void testThis() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/this.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class Declarations {
|
||||
@Test
|
||||
public void testAllFilesPresentInDeclarations() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/sourceRanges/declarations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classFuns.kt")
|
||||
public void testClassFuns() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classProperties.kt")
|
||||
public void testClassProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/classes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedProperties.kt")
|
||||
public void testDelegatedProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/delegatedProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrides.kt")
|
||||
public void testFakeOverrides() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fakeOverrides2.kt")
|
||||
public void testFakeOverrides2() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/fakeOverrides2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt29862.kt")
|
||||
public void testKt29862() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/kt29862.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructors.kt")
|
||||
public void testPrimaryConstructors() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/primaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("secondaryConstructors.kt")
|
||||
public void testSecondaryConstructors() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/secondaryConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("synthesizedDataClassMembers.kt")
|
||||
public void testSynthesizedDataClassMembers() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/synthesizedDataClassMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelFuns.kt")
|
||||
public void testTopLevelFuns() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelFuns.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("topLevelProperties.kt")
|
||||
public void testTopLevelProperties() throws Exception {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelProperties.kt");
|
||||
}
|
||||
@TestMetadata("topLevelProperties.kt")
|
||||
public void testTopLevelProperties() {
|
||||
runTest("compiler/testData/ir/sourceRanges/declarations/topLevelProperties.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+3645
-3645
File diff suppressed because it is too large
Load Diff
+555
-555
File diff suppressed because it is too large
Load Diff
+555
-555
File diff suppressed because it is too large
Load Diff
+580
-580
File diff suppressed because it is too large
Load Diff
+810
-810
File diff suppressed because it is too large
Load Diff
+264
-264
@@ -19,281 +19,281 @@ import java.util.regex.Pattern;
|
||||
@SuppressWarnings("all")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class DataFlowTestGenerated extends AbstractDataFlowTest {
|
||||
@TestMetadata("compiler/testData/cfg-variables")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Cfg_variables extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCfg_variables() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfg-variables"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfg-variables/basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Basic extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBasic() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfg-variables/basic"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("ExhaustiveInitialization.kt")
|
||||
public void testExhaustiveInitialization() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/basic/ExhaustiveInitialization.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("IfWithUninitialized.kt")
|
||||
public void testIfWithUninitialized() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/basic/IfWithUninitialized.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("InitializedNotDeclared.kt")
|
||||
public void testInitializedNotDeclared() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/basic/InitializedNotDeclared.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UsageInFunctionLiteral.kt")
|
||||
public void testUsageInFunctionLiteral() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/basic/UsageInFunctionLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("UseUninitializedInLambda.kt")
|
||||
public void testUseUninitializedInLambda() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/basic/UseUninitializedInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VariablesInitialization.kt")
|
||||
public void testVariablesInitialization() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/basic/VariablesInitialization.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("VariablesUsage.kt")
|
||||
public void testVariablesUsage() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/basic/VariablesUsage.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfg-variables/bugs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Bugs extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBugs() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfg-variables/bugs"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileAssignment.kt")
|
||||
public void testDoWhileAssignment() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/doWhileAssignment.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileNotDefined.kt")
|
||||
public void testDoWhileNotDefined() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/doWhileNotDefined.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("initializationInLocalClass.kt")
|
||||
public void testInitializationInLocalClass() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/initializationInLocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt10243.kt")
|
||||
public void testKt10243() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/kt10243.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4764.kt")
|
||||
public void testKt4764() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/kt4764.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt5469.kt")
|
||||
public void testKt5469() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/kt5469.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt9825.kt")
|
||||
public void testKt9825() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/kt9825.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localObjectInConstructor.kt")
|
||||
public void testLocalObjectInConstructor() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/localObjectInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToPropertyInitializer.kt")
|
||||
public void testReferenceToPropertyInitializer() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/referenceToPropertyInitializer.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("varInitializationInIf.kt")
|
||||
public void testVarInitializationInIf() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/varInitializationInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("varInitializationInIfInCycle.kt")
|
||||
public void testVarInitializationInIfInCycle() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/bugs/varInitializationInIfInCycle.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfg-variables/lexicalScopes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class LexicalScopes extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInLexicalScopes() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfg-variables/lexicalScopes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileScope.kt")
|
||||
public void testDoWhileScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/doWhileScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forScope.kt")
|
||||
public void testForScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/forScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionLiteralScope.kt")
|
||||
public void testFunctionLiteralScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/functionLiteralScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ifScope.kt")
|
||||
public void testIfScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/ifScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/localClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionScope.kt")
|
||||
public void testLocalFunctionScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/localFunctionScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionScopeWithoutBody.kt")
|
||||
public void testLocalFunctionScopeWithoutBody() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/localFunctionScopeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localObject.kt")
|
||||
public void testLocalObject() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/localObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objectLiteralScope.kt")
|
||||
public void testObjectLiteralScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/objectLiteralScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyAccessorScope.kt")
|
||||
public void testPropertyAccessorScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/propertyAccessorScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryScope.kt")
|
||||
public void testTryScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/tryScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whileScope.kt")
|
||||
public void testWhileScope() throws Exception {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/whileScope.kt");
|
||||
}
|
||||
}
|
||||
@TestMetadata("compiler/testData/cfg-variables")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Cfg_variables extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfgVariablesWithStdLib")
|
||||
public void testAllFilesPresentInCfg_variables() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfg-variables"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfg-variables/basic")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CfgVariablesWithStdLib extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTestWithStdLib, this, testDataFilePath);
|
||||
}
|
||||
public static class Basic extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCfgVariablesWithStdLib() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfgVariablesWithStdLib"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
public void testAllFilesPresentInBasic() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfg-variables/basic"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfgVariablesWithStdLib/contracts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Contracts extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTestWithStdLib, this, testDataFilePath);
|
||||
}
|
||||
@TestMetadata("ExhaustiveInitialization.kt")
|
||||
public void testExhaustiveInitialization() {
|
||||
runTest("compiler/testData/cfg-variables/basic/ExhaustiveInitialization.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInContracts() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfgVariablesWithStdLib/contracts"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
@TestMetadata("IfWithUninitialized.kt")
|
||||
public void testIfWithUninitialized() {
|
||||
runTest("compiler/testData/cfg-variables/basic/IfWithUninitialized.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("breakContinuesInInlinedLambda.kt")
|
||||
public void testBreakContinuesInInlinedLambda() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/breakContinuesInInlinedLambda.kt");
|
||||
}
|
||||
@TestMetadata("InitializedNotDeclared.kt")
|
||||
public void testInitializedNotDeclared() {
|
||||
runTest("compiler/testData/cfg-variables/basic/InitializedNotDeclared.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlinedLambdaAlwaysThrows.kt")
|
||||
public void testInlinedLambdaAlwaysThrows() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/inlinedLambdaAlwaysThrows.kt");
|
||||
}
|
||||
@TestMetadata("UsageInFunctionLiteral.kt")
|
||||
public void testUsageInFunctionLiteral() {
|
||||
runTest("compiler/testData/cfg-variables/basic/UsageInFunctionLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("irrelevantUnknownClosure.kt")
|
||||
public void testIrrelevantUnknownClosure() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/irrelevantUnknownClosure.kt");
|
||||
}
|
||||
@TestMetadata("UseUninitializedInLambda.kt")
|
||||
public void testUseUninitializedInLambda() {
|
||||
runTest("compiler/testData/cfg-variables/basic/UseUninitializedInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedTryCatchFinally.kt")
|
||||
public void testNestedTryCatchFinally() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/nestedTryCatchFinally.kt");
|
||||
}
|
||||
@TestMetadata("VariablesInitialization.kt")
|
||||
public void testVariablesInitialization() {
|
||||
runTest("compiler/testData/cfg-variables/basic/VariablesInitialization.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedTryCatchs.kt")
|
||||
public void testNestedTryCatchs() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/nestedTryCatchs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nonReturningInlinedLambda.kt")
|
||||
public void testNonReturningInlinedLambda() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/nonReturningInlinedLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnsAndCalls.kt")
|
||||
public void testReturnsAndCalls() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/returnsAndCalls.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("throwIfNotCalled.kt")
|
||||
public void testThrowIfNotCalled() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/throwIfNotCalled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryCatch.kt")
|
||||
public void testTryCatch() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/tryCatch.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryCatchFinally.kt")
|
||||
public void testTryCatchFinally() throws Exception {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/tryCatchFinally.kt");
|
||||
}
|
||||
}
|
||||
@TestMetadata("VariablesUsage.kt")
|
||||
public void testVariablesUsage() {
|
||||
runTest("compiler/testData/cfg-variables/basic/VariablesUsage.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfg-variables/bugs")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Bugs extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBugs() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfg-variables/bugs"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileAssignment.kt")
|
||||
public void testDoWhileAssignment() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/doWhileAssignment.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileNotDefined.kt")
|
||||
public void testDoWhileNotDefined() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/doWhileNotDefined.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("initializationInLocalClass.kt")
|
||||
public void testInitializationInLocalClass() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/initializationInLocalClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt10243.kt")
|
||||
public void testKt10243() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/kt10243.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4764.kt")
|
||||
public void testKt4764() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/kt4764.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt5469.kt")
|
||||
public void testKt5469() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/kt5469.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt9825.kt")
|
||||
public void testKt9825() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/kt9825.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localObjectInConstructor.kt")
|
||||
public void testLocalObjectInConstructor() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/localObjectInConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToPropertyInitializer.kt")
|
||||
public void testReferenceToPropertyInitializer() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/referenceToPropertyInitializer.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("varInitializationInIf.kt")
|
||||
public void testVarInitializationInIf() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/varInitializationInIf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("varInitializationInIfInCycle.kt")
|
||||
public void testVarInitializationInIfInCycle() {
|
||||
runTest("compiler/testData/cfg-variables/bugs/varInitializationInIfInCycle.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfg-variables/lexicalScopes")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class LexicalScopes extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInLexicalScopes() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfg-variables/lexicalScopes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("doWhileScope.kt")
|
||||
public void testDoWhileScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/doWhileScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forScope.kt")
|
||||
public void testForScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/forScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionLiteralScope.kt")
|
||||
public void testFunctionLiteralScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/functionLiteralScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ifScope.kt")
|
||||
public void testIfScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/ifScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localClass.kt")
|
||||
public void testLocalClass() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/localClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionScope.kt")
|
||||
public void testLocalFunctionScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/localFunctionScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionScopeWithoutBody.kt")
|
||||
public void testLocalFunctionScopeWithoutBody() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/localFunctionScopeWithoutBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localObject.kt")
|
||||
public void testLocalObject() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/localObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objectLiteralScope.kt")
|
||||
public void testObjectLiteralScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/objectLiteralScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyAccessorScope.kt")
|
||||
public void testPropertyAccessorScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/propertyAccessorScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryScope.kt")
|
||||
public void testTryScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/tryScope.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whileScope.kt")
|
||||
public void testWhileScope() {
|
||||
runTest("compiler/testData/cfg-variables/lexicalScopes/whileScope.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfgVariablesWithStdLib")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CfgVariablesWithStdLib extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTestWithStdLib, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCfgVariablesWithStdLib() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfgVariablesWithStdLib"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/cfgVariablesWithStdLib/contracts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Contracts extends AbstractDataFlowTest {
|
||||
private void runTest(String testDataFilePath) {
|
||||
KotlinTestUtils.runTest(this::doTestWithStdLib, this, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInContracts() {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cfgVariablesWithStdLib/contracts"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("breakContinuesInInlinedLambda.kt")
|
||||
public void testBreakContinuesInInlinedLambda() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/breakContinuesInInlinedLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlinedLambdaAlwaysThrows.kt")
|
||||
public void testInlinedLambdaAlwaysThrows() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/inlinedLambdaAlwaysThrows.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("irrelevantUnknownClosure.kt")
|
||||
public void testIrrelevantUnknownClosure() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/irrelevantUnknownClosure.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedTryCatchFinally.kt")
|
||||
public void testNestedTryCatchFinally() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/nestedTryCatchFinally.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedTryCatchs.kt")
|
||||
public void testNestedTryCatchs() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/nestedTryCatchs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nonReturningInlinedLambda.kt")
|
||||
public void testNonReturningInlinedLambda() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/nonReturningInlinedLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnsAndCalls.kt")
|
||||
public void testReturnsAndCalls() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/returnsAndCalls.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("throwIfNotCalled.kt")
|
||||
public void testThrowIfNotCalled() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/throwIfNotCalled.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryCatch.kt")
|
||||
public void testTryCatch() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/tryCatch.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryCatchFinally.kt")
|
||||
public void testTryCatchFinally() {
|
||||
runTest("compiler/testData/cfgVariablesWithStdLib/contracts/tryCatchFinally.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user