Regenerate and mute JPS+K2 Tests
#KT-55195 Related
This commit is contained in:
@@ -54,7 +54,12 @@ fun main(args: Array<String>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// K2
|
// K2
|
||||||
testClass<AbstractIncrementalK2JvmJpsTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR, excludePattern = "^.*Expect.*"))
|
testClass<AbstractIncrementalK2JvmJpsTest>(
|
||||||
|
init = incrementalJvmTestData(
|
||||||
|
TargetBackend.JVM_IR,
|
||||||
|
excludePattern = "(^.*Expect.*)|(^classMovedIntoOtherClass)|(^companionConstantChanged)"
|
||||||
|
)
|
||||||
|
)
|
||||||
testClass<AbstractIncrementalK2LightTreeJvmJpsTest>(
|
testClass<AbstractIncrementalK2LightTreeJvmJpsTest>(
|
||||||
init = incrementalJvmTestData(
|
init = incrementalJvmTestData(
|
||||||
TargetBackend.JVM_IR,
|
TargetBackend.JVM_IR,
|
||||||
|
|||||||
Generated
+2
-12
@@ -64,7 +64,7 @@ public class IncrementalK2JvmJpsTestGenerated extends AbstractIncrementalK2JvmJp
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPureKotlin() throws Exception {
|
public void testAllFilesPresentInPureKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("^.*Expect.*"), TargetBackend.JVM_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^.*Expect.*)|(^classMovedIntoOtherClass)|(^companionConstantChanged)"), TargetBackend.JVM_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("annotations")
|
@TestMetadata("annotations")
|
||||||
@@ -117,11 +117,6 @@ public class IncrementalK2JvmJpsTestGenerated extends AbstractIncrementalK2JvmJp
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("companionConstantChanged")
|
|
||||||
public void testCompanionConstantChanged() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||||
@@ -697,7 +692,7 @@ public class IncrementalK2JvmJpsTestGenerated extends AbstractIncrementalK2JvmJp
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInClassHierarchyAffected() throws Exception {
|
public void testAllFilesPresentInClassHierarchyAffected() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/classHierarchyAffected"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("^.*Expect.*"), TargetBackend.JVM_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/classHierarchyAffected"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^.*Expect.*)|(^classMovedIntoOtherClass)|(^companionConstantChanged)"), TargetBackend.JVM_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("annotationFlagRemoved")
|
@TestMetadata("annotationFlagRemoved")
|
||||||
@@ -730,11 +725,6 @@ public class IncrementalK2JvmJpsTestGenerated extends AbstractIncrementalK2JvmJp
|
|||||||
runTest("jps/jps-plugin/testData/incremental/classHierarchyAffected/classBecamePrivate/");
|
runTest("jps/jps-plugin/testData/incremental/classHierarchyAffected/classBecamePrivate/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("classMovedIntoOtherClass")
|
|
||||||
public void testClassMovedIntoOtherClass() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/classHierarchyAffected/classMovedIntoOtherClass/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("classRemoved")
|
@TestMetadata("classRemoved")
|
||||||
public void testClassRemoved() throws Exception {
|
public void testClassRemoved() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/classHierarchyAffected/classRemoved/");
|
runTest("jps/jps-plugin/testData/incremental/classHierarchyAffected/classRemoved/");
|
||||||
|
|||||||
Reference in New Issue
Block a user