Minor. Merge multiplatformTypeRefinement testdata with multiplatform testdata
This commit is contained in:
@@ -675,7 +675,6 @@ fun main(args: Array<String>) {
|
||||
|
||||
testClass<AbstractMultiplatformAnalysisTest> {
|
||||
model("multiplatform", recursive = false, extension = null)
|
||||
model("multiplatformTypeRefinement", recursive = false, extension = null)
|
||||
}
|
||||
|
||||
testClass<AbstractQuickFixMultiModuleTest> {
|
||||
|
||||
Generated
+93
-109
@@ -17,136 +17,120 @@ import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("idea/testData/multiplatform")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class MultiplatformAnalysisTestGenerated extends AbstractMultiplatformAnalysisTest {
|
||||
@TestMetadata("idea/testData/multiplatform")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Multiplatform extends AbstractMultiplatformAnalysisTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMultiplatform() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/multiplatform"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, false);
|
||||
}
|
||||
|
||||
@TestMetadata("internalFromDependsOn")
|
||||
public void testInternalFromDependsOn() throws Exception {
|
||||
runTest("idea/testData/multiplatform/internalFromDependsOn/");
|
||||
}
|
||||
|
||||
@TestMetadata("internalFromDependsOnOfProduction")
|
||||
public void testInternalFromDependsOnOfProduction() throws Exception {
|
||||
runTest("idea/testData/multiplatform/internalFromDependsOnOfProduction/");
|
||||
}
|
||||
|
||||
@TestMetadata("internalFromProduction")
|
||||
public void testInternalFromProduction() throws Exception {
|
||||
runTest("idea/testData/multiplatform/internalFromProduction/");
|
||||
}
|
||||
|
||||
@TestMetadata("useCorrectBuiltIns")
|
||||
public void testUseCorrectBuiltIns() throws Exception {
|
||||
runTest("idea/testData/multiplatform/useCorrectBuiltIns/");
|
||||
}
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("idea/testData/multiplatformTypeRefinement")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MultiplatformTypeRefinement extends AbstractMultiplatformAnalysisTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
@TestMetadata("aliasesTypeMismatch")
|
||||
public void testAliasesTypeMismatch() throws Exception {
|
||||
runTest("idea/testData/multiplatform/aliasesTypeMismatch/");
|
||||
}
|
||||
|
||||
@TestMetadata("aliasesTypeMismatch")
|
||||
public void testAliasesTypeMismatch() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/aliasesTypeMismatch/");
|
||||
}
|
||||
public void testAllFilesPresentInMultiplatform() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/multiplatform"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, false);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMultiplatformTypeRefinement() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/multiplatformTypeRefinement"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, false);
|
||||
}
|
||||
@TestMetadata("callableReferences")
|
||||
public void testCallableReferences() throws Exception {
|
||||
runTest("idea/testData/multiplatform/callableReferences/");
|
||||
}
|
||||
|
||||
@TestMetadata("callableReferences")
|
||||
public void testCallableReferences() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/callableReferences/");
|
||||
}
|
||||
@TestMetadata("constructorsOfExpect")
|
||||
public void testConstructorsOfExpect() throws Exception {
|
||||
runTest("idea/testData/multiplatform/constructorsOfExpect/");
|
||||
}
|
||||
|
||||
@TestMetadata("constructorsOfExpect")
|
||||
public void testConstructorsOfExpect() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/constructorsOfExpect/");
|
||||
}
|
||||
@TestMetadata("diamondModuleDependency1")
|
||||
public void testDiamondModuleDependency1() throws Exception {
|
||||
runTest("idea/testData/multiplatform/diamondModuleDependency1/");
|
||||
}
|
||||
|
||||
@TestMetadata("diamondModuleDependency1")
|
||||
public void testDiamondModuleDependency1() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/diamondModuleDependency1/");
|
||||
}
|
||||
@TestMetadata("diamondModuleDependency2")
|
||||
public void testDiamondModuleDependency2() throws Exception {
|
||||
runTest("idea/testData/multiplatform/diamondModuleDependency2/");
|
||||
}
|
||||
|
||||
@TestMetadata("diamondModuleDependency2")
|
||||
public void testDiamondModuleDependency2() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/diamondModuleDependency2/");
|
||||
}
|
||||
@TestMetadata("extensionOnExpect")
|
||||
public void testExtensionOnExpect() throws Exception {
|
||||
runTest("idea/testData/multiplatform/extensionOnExpect/");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionOnExpect")
|
||||
public void testExtensionOnExpect() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/extensionOnExpect/");
|
||||
}
|
||||
@TestMetadata("internalFromDependsOn")
|
||||
public void testInternalFromDependsOn() throws Exception {
|
||||
runTest("idea/testData/multiplatform/internalFromDependsOn/");
|
||||
}
|
||||
|
||||
@TestMetadata("jsNameClash")
|
||||
public void testJsNameClash() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/jsNameClash/");
|
||||
}
|
||||
@TestMetadata("internalFromDependsOnOfProduction")
|
||||
public void testInternalFromDependsOnOfProduction() throws Exception {
|
||||
runTest("idea/testData/multiplatform/internalFromDependsOnOfProduction/");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/lambdas/");
|
||||
}
|
||||
@TestMetadata("internalFromProduction")
|
||||
public void testInternalFromProduction() throws Exception {
|
||||
runTest("idea/testData/multiplatform/internalFromProduction/");
|
||||
}
|
||||
|
||||
@TestMetadata("languageConstructions")
|
||||
public void testLanguageConstructions() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/languageConstructions/");
|
||||
}
|
||||
@TestMetadata("jsNameClash")
|
||||
public void testJsNameClash() throws Exception {
|
||||
runTest("idea/testData/multiplatform/jsNameClash/");
|
||||
}
|
||||
|
||||
@TestMetadata("multilevelParents")
|
||||
public void testMultilevelParents() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/multilevelParents/");
|
||||
}
|
||||
@TestMetadata("lambdas")
|
||||
public void testLambdas() throws Exception {
|
||||
runTest("idea/testData/multiplatform/lambdas/");
|
||||
}
|
||||
|
||||
@TestMetadata("qualifiedReceiver")
|
||||
public void testQualifiedReceiver() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/qualifiedReceiver/");
|
||||
}
|
||||
@TestMetadata("languageConstructions")
|
||||
public void testLanguageConstructions() throws Exception {
|
||||
runTest("idea/testData/multiplatform/languageConstructions/");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveTypes")
|
||||
public void testRecursiveTypes() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/recursiveTypes/");
|
||||
}
|
||||
@TestMetadata("multilevelParents")
|
||||
public void testMultilevelParents() throws Exception {
|
||||
runTest("idea/testData/multiplatform/multilevelParents/");
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/simple/");
|
||||
}
|
||||
@TestMetadata("qualifiedReceiver")
|
||||
public void testQualifiedReceiver() throws Exception {
|
||||
runTest("idea/testData/multiplatform/qualifiedReceiver/");
|
||||
}
|
||||
|
||||
@TestMetadata("supertypes")
|
||||
public void testSupertypes() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/supertypes/");
|
||||
}
|
||||
@TestMetadata("recursiveTypes")
|
||||
public void testRecursiveTypes() throws Exception {
|
||||
runTest("idea/testData/multiplatform/recursiveTypes/");
|
||||
}
|
||||
|
||||
@TestMetadata("typeAliasToExpectClassExplicitReference")
|
||||
public void testTypeAliasToExpectClassExplicitReference() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/typeAliasToExpectClassExplicitReference/");
|
||||
}
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("idea/testData/multiplatform/simple/");
|
||||
}
|
||||
|
||||
@TestMetadata("typeAliases")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/typeAliases/");
|
||||
}
|
||||
@TestMetadata("supertypes")
|
||||
public void testSupertypes() throws Exception {
|
||||
runTest("idea/testData/multiplatform/supertypes/");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParameters")
|
||||
public void testTypeParameters() throws Exception {
|
||||
runTest("idea/testData/multiplatformTypeRefinement/typeParameters/");
|
||||
}
|
||||
@TestMetadata("typeAliasToExpectClassExplicitReference")
|
||||
public void testTypeAliasToExpectClassExplicitReference() throws Exception {
|
||||
runTest("idea/testData/multiplatform/typeAliasToExpectClassExplicitReference/");
|
||||
}
|
||||
|
||||
@TestMetadata("typeAliases")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("idea/testData/multiplatform/typeAliases/");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParameters")
|
||||
public void testTypeParameters() throws Exception {
|
||||
runTest("idea/testData/multiplatform/typeParameters/");
|
||||
}
|
||||
|
||||
@TestMetadata("useCorrectBuiltIns")
|
||||
public void testUseCorrectBuiltIns() throws Exception {
|
||||
runTest("idea/testData/multiplatform/useCorrectBuiltIns/");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user