Generate tests for companion constant changes
This commit is contained in:
+5
@@ -117,6 +117,11 @@ public class IncrementalFirJvmCompilerRunnerTestGenerated extends AbstractIncrem
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("companionConstantChanged")
|
||||
public void testCompanionConstantChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||
|
||||
+5
@@ -116,6 +116,11 @@ public class IncrementalJsCompilerRunnerTestGenerated extends AbstractIncrementa
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("companionConstantChanged")
|
||||
public void testCompanionConstantChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||
|
||||
+5
@@ -116,6 +116,11 @@ public class IncrementalJsCompilerRunnerWithMetadataOnlyTestGenerated extends Ab
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("companionConstantChanged")
|
||||
public void testCompanionConstantChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||
|
||||
+5
@@ -116,6 +116,11 @@ public class IncrementalJsKlibCompilerRunnerTestGenerated extends AbstractIncrem
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("companionConstantChanged")
|
||||
public void testCompanionConstantChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||
|
||||
+5
@@ -116,6 +116,11 @@ public class IncrementalJsKlibCompilerWithScopeExpansionRunnerTestGenerated exte
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("companionConstantChanged")
|
||||
public void testCompanionConstantChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||
|
||||
+5
-5
@@ -28,11 +28,6 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("companionConstantChanged")
|
||||
public void testCompanionConstantChanges() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("accessingFunctionsViaPackagePart")
|
||||
public void testAccessingFunctionsViaPackagePart() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/accessingFunctionsViaPackagePart/");
|
||||
@@ -122,6 +117,11 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("companionConstantChanged")
|
||||
public void testCompanionConstantChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||
|
||||
+5
@@ -117,6 +117,11 @@ public class IncrementalJvmOldBackendCompilerRunnerTestGenerated extends Abstrac
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("companionConstantChanged")
|
||||
public void testCompanionConstantChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||
|
||||
Reference in New Issue
Block a user