diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/DataContainerVersionChangedTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/DataContainerVersionChangedTestGenerated.java index ae1d366c5c6..a69ec699b09 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/DataContainerVersionChangedTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/DataContainerVersionChangedTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.build; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -22,11 +21,11 @@ import java.util.regex.Pattern; @RunWith(JUnit3RunnerWithInners.class) public class DataContainerVersionChangedTestGenerated extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCacheVersionChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("clearedHasKotlin") @@ -89,11 +88,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class ClearedHasKotlin extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClearedHasKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/clearedHasKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/clearedHasKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -102,11 +101,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class ExportedModule extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInExportedModule() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/exportedModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/exportedModule"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -115,11 +114,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class JavaOnlyModulesAreNotAffected extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaOnlyModulesAreNotAffected() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/javaOnlyModulesAreNotAffected"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/javaOnlyModulesAreNotAffected"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -128,11 +127,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class Module1Modified extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInModule1Modified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/module1Modified"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/module1Modified"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -141,11 +140,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class Module2Modified extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInModule2Modified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/module2Modified"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/module2Modified"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -154,11 +153,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class ModuleWithConstantModified extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInModuleWithConstantModified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/moduleWithConstantModified"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/moduleWithConstantModified"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -167,11 +166,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class ModuleWithInlineModified extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInModuleWithInlineModified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/moduleWithInlineModified"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/moduleWithInlineModified"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -180,11 +179,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class TouchedFile extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTouchedFile() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/touchedFile"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/touchedFile"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -193,11 +192,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class TouchedOnlyJavaFile extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTouchedOnlyJavaFile() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/touchedOnlyJavaFile"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/touchedOnlyJavaFile"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -206,11 +205,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class UntouchedFiles extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUntouchedFiles() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/untouchedFiles"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/untouchedFiles"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -219,11 +218,11 @@ public class DataContainerVersionChangedTestGenerated extends AbstractDataContai @RunWith(JUnit3RunnerWithInners.class) public static class WithError extends AbstractDataContainerVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInWithError() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/withError"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/withError"), Pattern.compile("^([^\\.]+)$"), true); } } } diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalCacheVersionChangedTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalCacheVersionChangedTestGenerated.java index 47fce9102d3..3c0576385f3 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalCacheVersionChangedTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalCacheVersionChangedTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.build; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -22,11 +21,11 @@ import java.util.regex.Pattern; @RunWith(JUnit3RunnerWithInners.class) public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCacheVersionChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("clearedHasKotlin") @@ -89,11 +88,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class ClearedHasKotlin extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClearedHasKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/clearedHasKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/clearedHasKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -102,11 +101,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class ExportedModule extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInExportedModule() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/exportedModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/exportedModule"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -115,11 +114,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class JavaOnlyModulesAreNotAffected extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaOnlyModulesAreNotAffected() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/javaOnlyModulesAreNotAffected"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/javaOnlyModulesAreNotAffected"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -128,11 +127,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class Module1Modified extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInModule1Modified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/module1Modified"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/module1Modified"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -141,11 +140,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class Module2Modified extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInModule2Modified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/module2Modified"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/module2Modified"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -154,11 +153,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class ModuleWithConstantModified extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInModuleWithConstantModified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/moduleWithConstantModified"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/moduleWithConstantModified"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -167,11 +166,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class ModuleWithInlineModified extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInModuleWithInlineModified() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/moduleWithInlineModified"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/moduleWithInlineModified"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -180,11 +179,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class TouchedFile extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTouchedFile() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/touchedFile"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/touchedFile"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -193,11 +192,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class TouchedOnlyJavaFile extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTouchedOnlyJavaFile() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/touchedOnlyJavaFile"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/touchedOnlyJavaFile"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -206,11 +205,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class UntouchedFiles extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUntouchedFiles() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/untouchedFiles"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/untouchedFiles"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -219,11 +218,11 @@ public class IncrementalCacheVersionChangedTestGenerated extends AbstractIncreme @RunWith(JUnit3RunnerWithInners.class) public static class WithError extends AbstractIncrementalCacheVersionChangedTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInWithError() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/withError"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/cacheVersionChanged/withError"), Pattern.compile("^([^\\.]+)$"), true); } } } diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJsJpsTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJsJpsTestGenerated.java index 77dd2dde07e..eeacfbbfa9d 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJsJpsTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJsJpsTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.build; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -22,11 +21,11 @@ import java.util.regex.Pattern; @RunWith(JUnit3RunnerWithInners.class) public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCommon() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classAdded") @@ -154,11 +153,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class ClassAdded extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -167,11 +166,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class ClassRemoved extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -180,11 +179,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class ConstantValueChanged extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConstantValueChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -193,11 +192,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class CopyFileToAnotherModule extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCopyFileToAnotherModule() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -206,11 +205,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class DefaultArgumentInConstructorRemoved extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultArgumentInConstructorRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -219,11 +218,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class DefaultParameterAdded extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultParameterAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -232,11 +231,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class DefaultParameterAddedForTopLevelFun extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultParameterAddedForTopLevelFun() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -245,11 +244,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class DefaultParameterRemoved extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultParameterRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -258,11 +257,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class DefaultParameterRemovedForTopLevelFun extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultParameterRemovedForTopLevelFun() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -271,11 +270,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class DefaultValueInConstructorRemoved extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultValueInConstructorRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -284,11 +283,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class DuplicatedClass extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDuplicatedClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -297,11 +296,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class ExportedDependency extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInExportedDependency() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -310,11 +309,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class FunctionFromDifferentPackageChanged extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInFunctionFromDifferentPackageChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -323,11 +322,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class InlineFunctionInlined extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineFunctionInlined() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -336,11 +335,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class InlineFunctionTwoPackageParts extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineFunctionTwoPackageParts() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -349,11 +348,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class MoveFileToAnotherModule extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMoveFileToAnotherModule() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -362,11 +361,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class Simple extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimple() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -375,11 +374,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class SimpleDependency extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleDependency() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -388,11 +387,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class SimpleDependencyErrorOnAccessToInternal1 extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal1() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -401,11 +400,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class SimpleDependencyErrorOnAccessToInternal2 extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal2() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -414,11 +413,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class SimpleDependencyUnchanged extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleDependencyUnchanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -427,11 +426,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class TransitiveDependency extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTransitiveDependency() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -440,11 +439,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class TransitiveInlining extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTransitiveInlining() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -453,11 +452,11 @@ public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest @RunWith(JUnit3RunnerWithInners.class) public static class TwoDependants extends AbstractIncrementalJsJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTwoDependants() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), true); } } } diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJvmJpsTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJvmJpsTestGenerated.java index 5cfcddd4959..b2d530fe871 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJvmJpsTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJvmJpsTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.build; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -24,11 +23,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Common extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCommon() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classAdded") @@ -156,11 +155,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -169,11 +168,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -182,11 +181,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ConstantValueChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConstantValueChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -195,11 +194,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CopyFileToAnotherModule extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCopyFileToAnotherModule() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -208,11 +207,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultArgumentInConstructorRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultArgumentInConstructorRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -221,11 +220,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultParameterAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultParameterAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -234,11 +233,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultParameterAddedForTopLevelFun extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultParameterAddedForTopLevelFun() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -247,11 +246,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultParameterRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultParameterRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -260,11 +259,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultParameterRemovedForTopLevelFun extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultParameterRemovedForTopLevelFun() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -273,11 +272,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultValueInConstructorRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultValueInConstructorRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -286,11 +285,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class DuplicatedClass extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDuplicatedClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -299,11 +298,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ExportedDependency extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInExportedDependency() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -312,11 +311,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class FunctionFromDifferentPackageChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInFunctionFromDifferentPackageChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/functionFromDifferentPackageChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -325,11 +324,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class InlineFunctionInlined extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineFunctionInlined() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -338,11 +337,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class InlineFunctionTwoPackageParts extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineFunctionTwoPackageParts() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -351,11 +350,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MoveFileToAnotherModule extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMoveFileToAnotherModule() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -364,11 +363,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Simple extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimple() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -377,11 +376,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SimpleDependency extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleDependency() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -390,11 +389,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SimpleDependencyErrorOnAccessToInternal1 extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal1() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -403,11 +402,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SimpleDependencyErrorOnAccessToInternal2 extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal2() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -416,11 +415,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SimpleDependencyUnchanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleDependencyUnchanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -429,11 +428,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class TransitiveDependency extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTransitiveDependency() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -442,11 +441,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class TransitiveInlining extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTransitiveInlining() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -455,11 +454,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class TwoDependants extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTwoDependants() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -469,11 +468,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Jvm extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJvm() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("circular") @@ -506,11 +505,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Circular extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCircular() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circular"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circular"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -519,11 +518,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CircularDependencyClasses extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCircularDependencyClasses() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyClasses"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyClasses"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -532,11 +531,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CircularDependencySamePackageUnchanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCircularDependencySamePackageUnchanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencySamePackageUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencySamePackageUnchanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -545,11 +544,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CircularDependencyTopLevelFunctions extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCircularDependencyTopLevelFunctions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyTopLevelFunctions"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyTopLevelFunctions"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -558,11 +557,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CircularDependencyWithAccessToInternal extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCircularDependencyWithAccessToInternal() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyWithAccessToInternal"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyWithAccessToInternal"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -572,11 +571,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Custom extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCustom() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("buildError") @@ -609,11 +608,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class BuildError extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInBuildError() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/buildError"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/buildError"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -622,11 +621,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class BuildError2Levels extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInBuildError2Levels() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/buildError2Levels"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/buildError2Levels"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -635,11 +634,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CommonSourcesCompilerArg extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCommonSourcesCompilerArg() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/commonSourcesCompilerArg"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/commonSourcesCompilerArg"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -648,11 +647,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ComplementaryFiles extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInComplementaryFiles() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/complementaryFiles"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/complementaryFiles"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -661,11 +660,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class NotSameCompiler extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInNotSameCompiler() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/notSameCompiler"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/custom/notSameCompiler"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -675,7 +674,7 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PureKotlin extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } @TestMetadata("accessingFunctionsViaPackagePart") @@ -714,7 +713,7 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes } public void testAllFilesPresentInPureKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, false); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), false); } @TestMetadata("annotations") @@ -1278,11 +1277,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class WithJava extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInWithJava() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin") @@ -1290,11 +1289,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ConvertBetweenJavaAndKotlin extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConvertBetweenJavaAndKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("javaToKotlin") @@ -1322,11 +1321,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JavaToKotlin extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaToKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1335,11 +1334,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JavaToKotlinAndBack extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaToKotlinAndBack() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndBack"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndBack"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1348,11 +1347,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JavaToKotlinAndRemove extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaToKotlinAndRemove() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndRemove"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndRemove"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1361,11 +1360,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class KotlinToJava extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInKotlinToJava() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/kotlinToJava"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/kotlinToJava"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -1375,11 +1374,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JavaUsedInKotlin extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaUsedInKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("changeFieldType") @@ -1482,11 +1481,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangeFieldType extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeFieldType() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeFieldType"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeFieldType"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1495,11 +1494,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangeNotUsedSignature extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeNotUsedSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1508,11 +1507,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangePropertyOverrideType extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangePropertyOverrideType() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changePropertyOverrideType"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changePropertyOverrideType"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1521,11 +1520,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangeSignature extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignature"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignature"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1534,11 +1533,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangeSignaturePackagePrivate extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeSignaturePackagePrivate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivate"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivate"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1547,11 +1546,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangeSignaturePackagePrivateNonRoot extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeSignaturePackagePrivateNonRoot() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivateNonRoot"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivateNonRoot"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1560,11 +1559,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangeSignatureStatic extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeSignatureStatic() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignatureStatic"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignatureStatic"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1573,11 +1572,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ConstantChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConstantChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1586,11 +1585,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ConstantUnchanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConstantUnchanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1599,11 +1598,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class EnumEntryAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEnumEntryAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1612,11 +1611,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class EnumEntryRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEnumEntryRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1625,11 +1624,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JavaAndKotlinChangedSimultaneously extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaAndKotlinChangedSimultaneously() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaAndKotlinChangedSimultaneously"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaAndKotlinChangedSimultaneously"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1638,11 +1637,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JavaFieldNullabilityChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaFieldNullabilityChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaFieldNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaFieldNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1651,11 +1650,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JavaMethodParamNullabilityChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaMethodParamNullabilityChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodParamNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodParamNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1664,11 +1663,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JavaMethodReturnTypeNullabilityChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJavaMethodReturnTypeNullabilityChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodReturnTypeNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodReturnTypeNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1677,11 +1676,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodAddedInSuper extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodAddedInSuper() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1690,11 +1689,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodRenamed extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodRenamed() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodRenamed"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodRenamed"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1703,11 +1702,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MixedInheritance extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMixedInheritance() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/mixedInheritance"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/mixedInheritance"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1716,11 +1715,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class NotChangeSignature extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInNotChangeSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1729,11 +1728,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SamConversions extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSamConversions() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("methodAdded") @@ -1761,11 +1760,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1774,11 +1773,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodAddedSamAdapter extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodAddedSamAdapter() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddedSamAdapter"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddedSamAdapter"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1787,11 +1786,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodSignatureChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodSignatureChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1800,11 +1799,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodSignatureChangedSamAdapter extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodSignatureChangedSamAdapter() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChangedSamAdapter"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChangedSamAdapter"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -1815,7 +1814,7 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class KotlinUsedInJava extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } @TestMetadata("addOptionalParameter") @@ -1824,7 +1823,7 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes } public void testAllFilesPresentInKotlinUsedInJava() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("changeNotUsedSignature") @@ -1897,11 +1896,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class AddOptionalParameter extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInAddOptionalParameter() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/addOptionalParameter"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/addOptionalParameter"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1910,11 +1909,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangeNotUsedSignature extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeNotUsedSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1923,11 +1922,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ChangeSignature extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeSignature"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeSignature"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1936,11 +1935,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ConstantChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConstantChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1949,11 +1948,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ConstantUnchanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConstantUnchanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1962,11 +1961,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class FunRenamed extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInFunRenamed() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/funRenamed"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/funRenamed"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1975,11 +1974,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JvmFieldChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJvmFieldChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -1988,11 +1987,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JvmFieldUnchanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJvmFieldUnchanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldUnchanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2001,11 +2000,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodAddedInSuper extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodAddedInSuper() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2014,11 +2013,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class NotChangeSignature extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInNotChangeSignature() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2027,11 +2026,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class OnlyTopLevelFunctionInFileRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInOnlyTopLevelFunctionInFileRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/onlyTopLevelFunctionInFileRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/onlyTopLevelFunctionInFileRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2040,11 +2039,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PackageFileAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageFileAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/packageFileAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/packageFileAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2053,11 +2052,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PrivateChanges extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPrivateChanges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/privateChanges"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/privateChanges"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2066,11 +2065,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PropertyRenamed extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPropertyRenamed() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/propertyRenamed"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/kotlinUsedInJava/propertyRenamed"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -2080,7 +2079,7 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Other extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } @TestMetadata("accessingFunctionsViaRenamedFileClass") @@ -2089,7 +2088,7 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes } public void testAllFilesPresentInOther() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("allKotlinFilesRemovedThenNewAdded") @@ -2237,11 +2236,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class AccessingFunctionsViaRenamedFileClass extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInAccessingFunctionsViaRenamedFileClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/accessingFunctionsViaRenamedFileClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/accessingFunctionsViaRenamedFileClass"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2250,11 +2249,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class AllKotlinFilesRemovedThenNewAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInAllKotlinFilesRemovedThenNewAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/allKotlinFilesRemovedThenNewAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/allKotlinFilesRemovedThenNewAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2263,11 +2262,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassRedeclaration extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassRedeclaration() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/classRedeclaration"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/classRedeclaration"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2276,11 +2275,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassToPackageFacade extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassToPackageFacade() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/classToPackageFacade"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/classToPackageFacade"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2289,11 +2288,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ConflictingPlatformDeclarations extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConflictingPlatformDeclarations() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/conflictingPlatformDeclarations"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/conflictingPlatformDeclarations"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2302,11 +2301,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultValueInConstructorAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultValueInConstructorAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/defaultValueInConstructorAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/defaultValueInConstructorAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2315,11 +2314,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class InlineTopLevelFunctionWithJvmName extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineTopLevelFunctionWithJvmName() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/inlineTopLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/inlineTopLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2328,11 +2327,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class InlineTopLevelValPropertyWithJvmName extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineTopLevelValPropertyWithJvmName() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/inlineTopLevelValPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/inlineTopLevelValPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2341,11 +2340,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class InnerClassNotGeneratedWhenRebuilding extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInnerClassNotGeneratedWhenRebuilding() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2354,11 +2353,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class JvmNameChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJvmNameChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/jvmNameChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/jvmNameChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2367,11 +2366,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MainRedeclaration extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMainRedeclaration() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/mainRedeclaration"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/mainRedeclaration"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2380,11 +2379,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassAddTopLevelFunWithDefault extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassAddTopLevelFunWithDefault() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassAddTopLevelFunWithDefault"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassAddTopLevelFunWithDefault"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2393,11 +2392,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassFileAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassFileAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassFileAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassFileAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2406,11 +2405,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassFileChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassFileChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassFileChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassFileChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2419,11 +2418,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassFileMovedToAnotherMultifileClass extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassFileMovedToAnotherMultifileClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassFileMovedToAnotherMultifileClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassFileMovedToAnotherMultifileClass"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2432,11 +2431,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassInlineFunction extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassInlineFunction() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunction"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunction"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2445,11 +2444,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassInlineFunctionAccessingField extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassInlineFunctionAccessingField() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunctionAccessingField"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunctionAccessingField"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2458,11 +2457,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassRecreated extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassRecreated() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassRecreated"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassRecreated"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2471,11 +2470,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassRecreatedAfterRenaming extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassRecreatedAfterRenaming() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassRecreatedAfterRenaming"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassRecreatedAfterRenaming"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2484,11 +2483,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifileClassRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifileClassRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifileClassRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2497,11 +2496,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifilePackagePartMethodAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifilePackagePartMethodAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifilePackagePartMethodAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifilePackagePartMethodAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2510,11 +2509,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MultifilePartsWithProperties extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultifilePartsWithProperties() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifilePartsWithProperties"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/multifilePartsWithProperties"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2523,11 +2522,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class OptionalParameter extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInOptionalParameter() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/optionalParameter"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/optionalParameter"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2536,11 +2535,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PackageFacadeToClass extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageFacadeToClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/packageFacadeToClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/packageFacadeToClass"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2549,11 +2548,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PackageMultifileClassOneFileWithPublicChanges extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageMultifileClassOneFileWithPublicChanges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/packageMultifileClassOneFileWithPublicChanges"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/packageMultifileClassOneFileWithPublicChanges"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2562,11 +2561,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PackageMultifileClassPrivateOnlyChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageMultifileClassPrivateOnlyChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/packageMultifileClassPrivateOnlyChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/packageMultifileClassPrivateOnlyChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2575,11 +2574,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PublicPropertyWithPrivateSetterMultiFileFacade extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPublicPropertyWithPrivateSetterMultiFileFacade() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/publicPropertyWithPrivateSetterMultiFileFacade"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/publicPropertyWithPrivateSetterMultiFileFacade"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2588,11 +2587,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class TopLevelFunctionWithJvmName extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTopLevelFunctionWithJvmName() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/topLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/topLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2601,11 +2600,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class TopLevelPropertyWithJvmName extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTopLevelPropertyWithJvmName() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/topLevelPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/withJava/other/topLevelPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -2616,11 +2615,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class InlineFunCallSite extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineFunCallSite() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classProperty") @@ -2698,11 +2697,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassProperty extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassProperty() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/classProperty"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/classProperty"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2711,11 +2710,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CompanionObjectProperty extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCompanionObjectProperty() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/companionObjectProperty"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/companionObjectProperty"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2724,11 +2723,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Coroutine extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCoroutine() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/coroutine"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/coroutine"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2737,11 +2736,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Function extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInFunction() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/function"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/function"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2750,11 +2749,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Getter extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInGetter() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/getter"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/getter"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2763,11 +2762,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Lambda extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInLambda() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/lambda"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/lambda"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2776,11 +2775,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class LocalFun extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInLocalFun() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/localFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/localFun"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2789,11 +2788,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class Method extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethod() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/method"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/method"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2802,11 +2801,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ParameterDefaultValue extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInParameterDefaultValue() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/parameterDefaultValue"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/parameterDefaultValue"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2815,11 +2814,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PrimaryConstructorParameterDefaultValue extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPrimaryConstructorParameterDefaultValue() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/primaryConstructorParameterDefaultValue"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/primaryConstructorParameterDefaultValue"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2828,11 +2827,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SuperCall extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSuperCall() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/superCall"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/superCall"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2841,11 +2840,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ThisCall extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInThisCall() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/thisCall"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/thisCall"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2854,11 +2853,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class TopLevelObjectProperty extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTopLevelObjectProperty() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/topLevelObjectProperty"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/topLevelObjectProperty"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -2867,11 +2866,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class TopLevelProperty extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTopLevelProperty() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/topLevelProperty"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/inlineFunCallSite/topLevelProperty"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -2881,11 +2880,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassHierarchyAffected extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassHierarchyAffected() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("annotationFlagRemoved") @@ -3088,11 +3087,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class AnnotationFlagRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInAnnotationFlagRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/annotationFlagRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/annotationFlagRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3101,11 +3100,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class AnnotationListChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInAnnotationListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/annotationListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/annotationListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3114,11 +3113,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class BridgeGenerated extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInBridgeGenerated() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/bridgeGenerated"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/bridgeGenerated"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3127,11 +3126,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassBecameFinal extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassBecameFinal() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classBecameFinal"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classBecameFinal"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3140,11 +3139,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassBecameInterface extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassBecameInterface() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classBecameInterface"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classBecameInterface"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3153,11 +3152,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassBecamePrivate extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassBecamePrivate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classBecamePrivate"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classBecamePrivate"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3166,11 +3165,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassMovedIntoOtherClass extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassMovedIntoOtherClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classMovedIntoOtherClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classMovedIntoOtherClass"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3179,11 +3178,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3192,11 +3191,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassRemovedAndRestored extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassRemovedAndRestored() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classRemovedAndRestored"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/classRemovedAndRestored"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3205,11 +3204,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CompanionObjectInheritedMemberChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCompanionObjectInheritedMemberChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/companionObjectInheritedMemberChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/companionObjectInheritedMemberChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3218,11 +3217,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CompanionObjectMemberChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCompanionObjectMemberChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/companionObjectMemberChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/companionObjectMemberChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3231,11 +3230,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CompanionObjectNameChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCompanionObjectNameChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/companionObjectNameChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/companionObjectNameChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3244,11 +3243,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class CompanionObjectToSimpleObject extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInCompanionObjectToSimpleObject() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/companionObjectToSimpleObject"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/companionObjectToSimpleObject"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3257,11 +3256,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ConstructorVisibilityChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConstructorVisibilityChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/constructorVisibilityChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/constructorVisibilityChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3270,11 +3269,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class EnumEntryAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEnumEntryAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/enumEntryAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/enumEntryAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3283,11 +3282,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class EnumEntryRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEnumEntryRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/enumEntryRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/enumEntryRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3296,11 +3295,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class EnumMemberChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEnumMemberChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/enumMemberChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/enumMemberChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3309,11 +3308,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class FlagsAndMemberInDifferentClassesChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInFlagsAndMemberInDifferentClassesChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/flagsAndMemberInDifferentClassesChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/flagsAndMemberInDifferentClassesChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3322,11 +3321,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class FlagsAndMemberInSameClassChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInFlagsAndMemberInSameClassChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/flagsAndMemberInSameClassChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/flagsAndMemberInSameClassChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3335,11 +3334,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class ImplcitUpcast extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInImplcitUpcast() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/implcitUpcast"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/implcitUpcast"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3348,11 +3347,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class InferredTypeArgumentChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInferredTypeArgumentChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/inferredTypeArgumentChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/inferredTypeArgumentChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3361,11 +3360,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class InferredTypeChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInferredTypeChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/inferredTypeChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/inferredTypeChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3374,11 +3373,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class LambdaParameterAffected extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInLambdaParameterAffected() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/lambdaParameterAffected"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/lambdaParameterAffected"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3387,11 +3386,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3400,11 +3399,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodAnnotationAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodAnnotationAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodAnnotationAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodAnnotationAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3413,11 +3412,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodNullabilityChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodNullabilityChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3426,11 +3425,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodParameterWithDefaultValueAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodParameterWithDefaultValueAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodParameterWithDefaultValueAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodParameterWithDefaultValueAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3439,11 +3438,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class MethodRemoved extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMethodRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/methodRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3452,11 +3451,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class OverrideExplicit extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInOverrideExplicit() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/overrideExplicit"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/overrideExplicit"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3465,11 +3464,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class OverrideImplicit extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInOverrideImplicit() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/overrideImplicit"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/overrideImplicit"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3478,11 +3477,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class PropertyNullabilityChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPropertyNullabilityChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/propertyNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/propertyNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3491,11 +3490,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassImplAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3504,11 +3503,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassIndirectImplAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassIndirectImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/sealedClassIndirectImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/sealedClassIndirectImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3517,11 +3516,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassNestedImplAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassNestedImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/sealedClassNestedImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/sealedClassNestedImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3530,11 +3529,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SecondaryConstructorAdded extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSecondaryConstructorAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/secondaryConstructorAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/secondaryConstructorAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3543,11 +3542,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class StarProjectionUpperBoundChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInStarProjectionUpperBoundChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/starProjectionUpperBoundChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/starProjectionUpperBoundChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3556,11 +3555,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class SupertypesListChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSupertypesListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/supertypesListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/supertypesListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3569,11 +3568,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class TypeParameterListChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTypeParameterListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/typeParameterListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -3582,11 +3581,11 @@ public class IncrementalJvmJpsTestGenerated extends AbstractIncrementalJvmJpsTes @RunWith(JUnit3RunnerWithInners.class) public static class VarianceChanged extends AbstractIncrementalJvmJpsTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInVarianceChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/varianceChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/classHierarchyAffected/varianceChanged"), Pattern.compile("^([^\\.]+)$"), true); } } } diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalLazyCachesTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalLazyCachesTestGenerated.java index a75092dc835..02e791a612e 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalLazyCachesTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalLazyCachesTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.build; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -24,11 +23,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class LazyKotlinCaches extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInLazyKotlinCaches() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("class") @@ -76,11 +75,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class Class extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/class"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/class"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -89,11 +88,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class ClassInheritance extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassInheritance() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/classInheritance"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/classInheritance"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -102,11 +101,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class Constant extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInConstant() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/constant"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/constant"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -115,11 +114,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class Function extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInFunction() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/function"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/function"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -128,11 +127,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class InlineFunctionWithUsage extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineFunctionWithUsage() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/inlineFunctionWithUsage"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/inlineFunctionWithUsage"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -141,11 +140,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class InlineFunctionWithoutUsage extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInInlineFunctionWithoutUsage() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/inlineFunctionWithoutUsage"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/inlineFunctionWithoutUsage"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -154,11 +153,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class NoKotlin extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInNoKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/noKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/noKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -167,11 +166,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class TopLevelPropertyAccess extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInTopLevelPropertyAccess() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/topLevelPropertyAccess"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lazyKotlinCaches/topLevelPropertyAccess"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -181,11 +180,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class ChangeIncrementalOption extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInChangeIncrementalOption() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("incrementalOff") @@ -213,11 +212,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class IncrementalOff extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInIncrementalOff() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption/incrementalOff"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption/incrementalOff"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -226,11 +225,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class IncrementalOffOn extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInIncrementalOffOn() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption/incrementalOffOn"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption/incrementalOffOn"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -239,11 +238,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class IncrementalOffOnJavaChanged extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInIncrementalOffOnJavaChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption/incrementalOffOnJavaChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption/incrementalOffOnJavaChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -252,11 +251,11 @@ public class IncrementalLazyCachesTestGenerated extends AbstractIncrementalLazyC @RunWith(JUnit3RunnerWithInners.class) public static class IncrementalOffOnJavaOnly extends AbstractIncrementalLazyCachesTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInIncrementalOffOnJavaOnly() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption/incrementalOffOnJavaOnly"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/changeIncrementalOption/incrementalOffOnJavaOnly"), Pattern.compile("^([^\\.]+)$"), true); } } } diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/JsLookupTrackerTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/JsLookupTrackerTestGenerated.java index 948d64763a9..537fb01ca70 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/JsLookupTrackerTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/JsLookupTrackerTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.build; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -22,11 +21,11 @@ import java.util.regex.Pattern; @RunWith(JUnit3RunnerWithInners.class) public class JsLookupTrackerTestGenerated extends AbstractJsLookupTrackerTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJs() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lookupTracker/js"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, false); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lookupTracker/js"), Pattern.compile("^([^\\.]+)$"), false); } @TestMetadata("classifierMembers") diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/JvmLookupTrackerTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/JvmLookupTrackerTestGenerated.java index d26e9ed98b3..9857a19ee03 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/JvmLookupTrackerTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/JvmLookupTrackerTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.build; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -22,11 +21,11 @@ import java.util.regex.Pattern; @RunWith(JUnit3RunnerWithInners.class) public class JvmLookupTrackerTestGenerated extends AbstractJvmLookupTrackerTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJvm() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lookupTracker/jvm"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, false); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/lookupTracker/jvm"), Pattern.compile("^([^\\.]+)$"), false); } @TestMetadata("classifierMembers") diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/MultiplatformJpsTestWithGeneratedContentGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/MultiplatformJpsTestWithGeneratedContentGenerated.java index ed37a318689..2a62af7fd94 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/MultiplatformJpsTestWithGeneratedContentGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/MultiplatformJpsTestWithGeneratedContentGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.build; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -22,11 +21,11 @@ import java.util.regex.Pattern; @RunWith(JUnit3RunnerWithInners.class) public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMultiplatformMultiModule() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ignoreAndWarnAboutNative") @@ -34,11 +33,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class IgnoreAndWarnAboutNative extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInIgnoreAndWarnAboutNative() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ignoreAndWarnAboutNative"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ignoreAndWarnAboutNative"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("editingCKotlin") @@ -51,11 +50,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingCKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingCKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ignoreAndWarnAboutNative/editingCKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ignoreAndWarnAboutNative/editingCKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -65,11 +64,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class Simple extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimple() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("editingCKotlin") @@ -97,11 +96,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingCKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingCKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple/editingCKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple/editingCKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -110,11 +109,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingPJsKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingPJsKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple/editingPJsKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple/editingPJsKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -123,11 +122,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingPJvmJava extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingPJvmJava() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple/editingPJvmJava"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple/editingPJvmJava"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -136,11 +135,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingPJvmKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingPJvmKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple/editingPJvmKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simple/editingPJvmKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -150,11 +149,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class SimpleJsJvmProjectWithTests extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleJsJvmProjectWithTests() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleJsJvmProjectWithTests"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleJsJvmProjectWithTests"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("editingCMainExpectActual") @@ -172,11 +171,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingCMainExpectActual extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingCMainExpectActual() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleJsJvmProjectWithTests/editingCMainExpectActual"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleJsJvmProjectWithTests/editingCMainExpectActual"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -185,11 +184,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingCTestsExpectActual extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingCTestsExpectActual() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleJsJvmProjectWithTests/editingCTestsExpectActual"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleJsJvmProjectWithTests/editingCTestsExpectActual"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -199,11 +198,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class SimpleNewMpp extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSimpleNewMpp() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("editingCKotlin") @@ -231,11 +230,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingCKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingCKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp/editingCKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp/editingCKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -244,11 +243,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingPJsKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingPJsKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp/editingPJsKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp/editingPJsKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -257,11 +256,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingPJvmJava extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingPJvmJava() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp/editingPJvmJava"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp/editingPJvmJava"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -270,11 +269,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingPJvmKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingPJvmKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp/editingPJvmKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/simpleNewMpp/editingPJvmKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -284,11 +283,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class Ultimate extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUltimate() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("editingACommonExpectActual") @@ -341,11 +340,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingACommonExpectActual extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingACommonExpectActual() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingACommonExpectActual"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingACommonExpectActual"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -354,11 +353,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingAJsClientKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingAJsClientKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingAJsClientKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingAJsClientKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -367,11 +366,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingAJvmClientJava extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingAJvmClientJava() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingAJvmClientJava"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingAJvmClientJava"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -380,11 +379,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingAJvmClientKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingAJvmClientKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingAJvmClientKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingAJvmClientKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -393,11 +392,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingBCommonExpectActual extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingBCommonExpectActual() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingBCommonExpectActual"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingBCommonExpectActual"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -406,11 +405,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingRJsKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingRJsKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingRJsKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingRJsKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -419,11 +418,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingRJvmKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingRJvmKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingRJvmKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingRJvmKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -432,11 +431,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingRaJsKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingRaJsKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingRaJsKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingRaJsKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -445,11 +444,11 @@ public class MultiplatformJpsTestWithGeneratedContentGenerated extends AbstractM @RunWith(JUnit3RunnerWithInners.class) public static class EditingRaJvmKotlin extends AbstractMultiplatformJpsTestWithGeneratedContent { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInEditingRaJvmKotlin() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingRaJvmKotlin"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/multiplatform/withGeneratedContent/ultimate/editingRaJvmKotlin"), Pattern.compile("^([^\\.]+)$"), true); } } } diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/JsProtoComparisonTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/JsProtoComparisonTestGenerated.java index 16902f33cfe..4ddb2ed732d 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/JsProtoComparisonTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/JsProtoComparisonTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.incremental; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -24,11 +23,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassSignatureChange extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassSignatureChange() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classAnnotationListChanged") @@ -91,11 +90,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassAnnotationListChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassAnnotationListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -104,11 +103,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassFlagsAndMembersChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassFlagsAndMembersChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classFlagsAndMembersChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classFlagsAndMembersChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -117,11 +116,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassFlagsChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassFlagsChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classFlagsChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classFlagsChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -130,11 +129,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassTypeParameterListChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassTypeParameterListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classTypeParameterListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classTypeParameterListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -143,11 +142,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithSuperTypeListChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithSuperTypeListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classWithSuperTypeListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classWithSuperTypeListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -156,11 +155,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class NestedClassSignatureChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInNestedClassSignatureChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/nestedClassSignatureChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/nestedClassSignatureChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -169,11 +168,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassImplAdded extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -182,11 +181,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassImplRemoved extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassImplRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassImplRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassImplRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -195,11 +194,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassNestedImplAdded extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassNestedImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -208,11 +207,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassNestedImplAddedDeep extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassNestedImplAddedDeep() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAddedDeep"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAddedDeep"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -221,11 +220,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassNestedImplRemoved extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassNestedImplRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -235,11 +234,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassPrivateOnlyChange extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassPrivateOnlyChange() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classWithPrivateFunChanged") @@ -272,11 +271,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivateFunChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivateFunChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateFunChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateFunChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -285,11 +284,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivatePrimaryConstructorChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivatePrimaryConstructorChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivatePrimaryConstructorChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivatePrimaryConstructorChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -298,11 +297,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivateSecondaryConstructorChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivateSecondaryConstructorChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateSecondaryConstructorChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateSecondaryConstructorChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -311,11 +310,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivateValChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivateValChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateValChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateValChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -324,11 +323,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivateVarChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivateVarChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateVarChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateVarChanged"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -338,11 +337,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassMembersOnlyChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassMembersOnlyChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classWithCompanionObjectChanged") @@ -400,11 +399,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithCompanionObjectChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithCompanionObjectChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithCompanionObjectChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithCompanionObjectChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -413,11 +412,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithConstructorChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithConstructorChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithConstructorChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithConstructorChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -426,11 +425,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithFunAndValChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithFunAndValChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithFunAndValChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithFunAndValChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -439,11 +438,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithNestedClassesChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithNestedClassesChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithNestedClassesChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithNestedClassesChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -452,11 +451,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class ClassWitnEnumChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWitnEnumChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWitnEnumChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWitnEnumChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -465,11 +464,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultValues extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultValues() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/defaultValues"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/defaultValues"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -478,11 +477,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class MembersAnnotationListChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersAnnotationListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/membersAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/membersAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -491,11 +490,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class MembersFlagsChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersFlagsChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -504,11 +503,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class NestedClassMembersChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInNestedClassMembersChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/nestedClassMembersChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/nestedClassMembersChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -517,11 +516,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassImplAdded extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -531,11 +530,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class PackageMembers extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageMembers() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("defaultValues") @@ -568,11 +567,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class DefaultValues extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultValues() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/defaultValues"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/defaultValues"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -581,11 +580,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class MembersAnnotationListChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersAnnotationListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/membersAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/membersAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -594,11 +593,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class MembersFlagsChanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersFlagsChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -607,11 +606,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class PackageFacadePrivateOnlyChanges extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageFacadePrivateOnlyChanges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/packageFacadePrivateOnlyChanges"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/packageFacadePrivateOnlyChanges"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -620,11 +619,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class PackageFacadePublicChanges extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageFacadePublicChanges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/packageFacadePublicChanges"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/packageFacadePublicChanges"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -634,11 +633,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class Unchanged extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUnchanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("unchangedClass") @@ -656,11 +655,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class UnchangedClass extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUnchangedClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged/unchangedClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged/unchangedClass"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -669,11 +668,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class UnchangedPackageFacade extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUnchangedPackageFacade() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged/unchangedPackageFacade"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged/unchangedPackageFacade"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -683,11 +682,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class JsOnly extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJsOnly() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jsOnly"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jsOnly"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("externals") @@ -700,11 +699,11 @@ public class JsProtoComparisonTestGenerated extends AbstractJsProtoComparisonTes @RunWith(JUnit3RunnerWithInners.class) public static class Externals extends AbstractJsProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInExternals() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jsOnly/externals"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jsOnly/externals"), Pattern.compile("^([^\\.]+)$"), true); } } } diff --git a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/JvmProtoComparisonTestGenerated.java b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/JvmProtoComparisonTestGenerated.java index 78e197f27d1..faf6cabfba1 100644 --- a/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/JvmProtoComparisonTestGenerated.java +++ b/jps/jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/incremental/JvmProtoComparisonTestGenerated.java @@ -8,7 +8,6 @@ package org.jetbrains.kotlin.jps.incremental; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; -import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -24,11 +23,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassSignatureChange extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassSignatureChange() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classAnnotationListChanged") @@ -91,11 +90,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassAnnotationListChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassAnnotationListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -104,11 +103,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassFlagsAndMembersChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassFlagsAndMembersChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classFlagsAndMembersChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classFlagsAndMembersChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -117,11 +116,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassFlagsChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassFlagsChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classFlagsChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classFlagsChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -130,11 +129,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassTypeParameterListChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassTypeParameterListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classTypeParameterListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classTypeParameterListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -143,11 +142,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithSuperTypeListChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithSuperTypeListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classWithSuperTypeListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/classWithSuperTypeListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -156,11 +155,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class NestedClassSignatureChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInNestedClassSignatureChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/nestedClassSignatureChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/nestedClassSignatureChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -169,11 +168,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassImplAdded extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -182,11 +181,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassImplRemoved extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassImplRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassImplRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassImplRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -195,11 +194,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassNestedImplAdded extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassNestedImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -208,11 +207,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassNestedImplAddedDeep extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassNestedImplAddedDeep() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAddedDeep"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplAddedDeep"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -221,11 +220,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassNestedImplRemoved extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassNestedImplRemoved() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classSignatureChange/sealedClassNestedImplRemoved"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -235,11 +234,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassPrivateOnlyChange extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassPrivateOnlyChange() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classWithPrivateFunChanged") @@ -272,11 +271,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivateFunChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivateFunChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateFunChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateFunChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -285,11 +284,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivatePrimaryConstructorChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivatePrimaryConstructorChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivatePrimaryConstructorChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivatePrimaryConstructorChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -298,11 +297,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivateSecondaryConstructorChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivateSecondaryConstructorChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateSecondaryConstructorChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateSecondaryConstructorChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -311,11 +310,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivateValChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivateValChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateValChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateValChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -324,11 +323,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithPrivateVarChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithPrivateVarChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateVarChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classPrivateOnlyChange/classWithPrivateVarChanged"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -338,11 +337,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassMembersOnlyChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassMembersOnlyChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classWithCompanionObjectChanged") @@ -400,11 +399,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithCompanionObjectChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithCompanionObjectChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithCompanionObjectChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithCompanionObjectChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -413,11 +412,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithConstructorChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithConstructorChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithConstructorChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithConstructorChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -426,11 +425,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithFunAndValChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithFunAndValChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithFunAndValChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithFunAndValChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -439,11 +438,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWithNestedClassesChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWithNestedClassesChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithNestedClassesChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWithNestedClassesChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -452,11 +451,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassWitnEnumChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassWitnEnumChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWitnEnumChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/classWitnEnumChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -465,11 +464,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class DefaultValues extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultValues() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/defaultValues"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/defaultValues"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -478,11 +477,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class MembersAnnotationListChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersAnnotationListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/membersAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/membersAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -491,11 +490,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class MembersFlagsChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersFlagsChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -504,11 +503,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class NestedClassMembersChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInNestedClassMembersChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/nestedClassMembersChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/nestedClassMembersChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -517,11 +516,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class SealedClassImplAdded extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInSealedClassImplAdded() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/classMembersOnlyChanged/sealedClassImplAdded"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -531,11 +530,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class PackageMembers extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageMembers() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("defaultValues") @@ -568,11 +567,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class DefaultValues extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInDefaultValues() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/defaultValues"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/defaultValues"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -581,11 +580,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class MembersAnnotationListChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersAnnotationListChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/membersAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/membersAnnotationListChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -594,11 +593,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class MembersFlagsChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersFlagsChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -607,11 +606,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class PackageFacadePrivateOnlyChanges extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageFacadePrivateOnlyChanges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/packageFacadePrivateOnlyChanges"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/packageFacadePrivateOnlyChanges"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -620,11 +619,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class PackageFacadePublicChanges extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageFacadePublicChanges() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/packageFacadePublicChanges"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/packageMembers/packageFacadePublicChanges"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -634,11 +633,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class Unchanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUnchanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("unchangedClass") @@ -656,11 +655,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class UnchangedClass extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUnchangedClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged/unchangedClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged/unchangedClass"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -669,11 +668,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class UnchangedPackageFacade extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInUnchangedPackageFacade() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged/unchangedPackageFacade"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/unchanged/unchangedPackageFacade"), Pattern.compile("^([^\\.]+)$"), true); } } } @@ -683,11 +682,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class JvmOnly extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInJvmOnly() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly"), Pattern.compile("^([^\\.]+)$"), true); } @TestMetadata("classToFileFacade") @@ -715,11 +714,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class ClassToFileFacade extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInClassToFileFacade() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly/classToFileFacade"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly/classToFileFacade"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -728,11 +727,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class MembersFlagsChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInMembersFlagsChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly/membersFlagsChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -741,11 +740,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class PackageFacadeMultifileClassChanged extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageFacadeMultifileClassChanged() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly/packageFacadeMultifileClassChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly/packageFacadeMultifileClassChanged"), Pattern.compile("^([^\\.]+)$"), true); } } @@ -754,11 +753,11 @@ public class JvmProtoComparisonTestGenerated extends AbstractJvmProtoComparisonT @RunWith(JUnit3RunnerWithInners.class) public static class PackageFacadeToClass extends AbstractJvmProtoComparisonTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + KotlinTestUtils.runTest(this::doTest, this, testDataFilePath); } public void testAllFilesPresentInPackageFacadeToClass() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly/packageFacadeToClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true); + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/comparison/jvmOnly/packageFacadeToClass"), Pattern.compile("^([^\\.]+)$"), true); } } }