[tests] builder inference test-set: regenerate diagnostic & codegen tests
This commit is contained in:
committed by
Space Team
parent
196f5760f8
commit
6edc742934
+116
@@ -2251,6 +2251,122 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/TypeParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseExtTestCaseGroupProvider()
|
||||
public class TypeInfoSinks {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeInfoSinks() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionFunctions.kt")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ExtensionFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImmutableExtensionProperties.kt")
|
||||
public void testImmutableExtensionProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ImmutableExtensionProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImmutableProperties.kt")
|
||||
public void testImmutableProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ImmutableProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutableExtensionPropertiesMaterializeCase.kt")
|
||||
public void testMutableExtensionPropertiesMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutableExtensionPropertiesMaterializeCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutableExtensionPropertiesYieldCase.kt")
|
||||
public void testMutableExtensionPropertiesYieldCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutableExtensionPropertiesYieldCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutablePropertiesMaterializeCase.kt")
|
||||
public void testMutablePropertiesMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutablePropertiesMaterializeCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutablePropertiesYieldCase.kt")
|
||||
public void testMutablePropertiesYieldCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutablePropertiesYieldCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametersOfBuilderArguments.kt")
|
||||
public void testParametersOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ParametersOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReceiversOfBuilderArguments.kt")
|
||||
public void testReceiversOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ReceiversOfBuilderArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseExtTestCaseGroupProvider()
|
||||
public class TypeInfoSources {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeInfoSources() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionFunctions.kt")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ExtensionFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionProperties.kt")
|
||||
public void testExtensionProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ExtensionProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametersOfBuilderArguments.kt")
|
||||
public void testParametersOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ParametersOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReceiversOfBuilderArguments.kt")
|
||||
public void testReceiversOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ReceiversOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReturnTypesOfBuilderParameters.kt")
|
||||
public void testReturnTypesOfBuilderParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ReturnTypesOfBuilderParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UnitReturnTypeOfBuilderParametersExplicitReturnCase.kt")
|
||||
public void testUnitReturnTypeOfBuilderParametersExplicitReturnCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/UnitReturnTypeOfBuilderParametersExplicitReturnCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+120
@@ -2307,6 +2307,126 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/TypeParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseExtTestCaseGroupProvider()
|
||||
@UsePartialLinkage(mode = Mode.DISABLED)
|
||||
@Tag("no-partial-linkage-may-be-skipped")
|
||||
public class TypeInfoSinks {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeInfoSinks() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionFunctions.kt")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ExtensionFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImmutableExtensionProperties.kt")
|
||||
public void testImmutableExtensionProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ImmutableExtensionProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImmutableProperties.kt")
|
||||
public void testImmutableProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ImmutableProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutableExtensionPropertiesMaterializeCase.kt")
|
||||
public void testMutableExtensionPropertiesMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutableExtensionPropertiesMaterializeCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutableExtensionPropertiesYieldCase.kt")
|
||||
public void testMutableExtensionPropertiesYieldCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutableExtensionPropertiesYieldCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutablePropertiesMaterializeCase.kt")
|
||||
public void testMutablePropertiesMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutablePropertiesMaterializeCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutablePropertiesYieldCase.kt")
|
||||
public void testMutablePropertiesYieldCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutablePropertiesYieldCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametersOfBuilderArguments.kt")
|
||||
public void testParametersOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ParametersOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReceiversOfBuilderArguments.kt")
|
||||
public void testReceiversOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ReceiversOfBuilderArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@Tag("frontend-fir")
|
||||
@FirPipeline()
|
||||
@UseExtTestCaseGroupProvider()
|
||||
@UsePartialLinkage(mode = Mode.DISABLED)
|
||||
@Tag("no-partial-linkage-may-be-skipped")
|
||||
public class TypeInfoSources {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeInfoSources() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionFunctions.kt")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ExtensionFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionProperties.kt")
|
||||
public void testExtensionProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ExtensionProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametersOfBuilderArguments.kt")
|
||||
public void testParametersOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ParametersOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReceiversOfBuilderArguments.kt")
|
||||
public void testReceiversOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ReceiversOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReturnTypesOfBuilderParameters.kt")
|
||||
public void testReturnTypesOfBuilderParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ReturnTypesOfBuilderParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UnitReturnTypeOfBuilderParametersExplicitReturnCase.kt")
|
||||
public void testUnitReturnTypeOfBuilderParametersExplicitReturnCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/UnitReturnTypeOfBuilderParametersExplicitReturnCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+112
@@ -2195,6 +2195,118 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/TypeParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@UseExtTestCaseGroupProvider()
|
||||
public class TypeInfoSinks {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeInfoSinks() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionFunctions.kt")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ExtensionFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImmutableExtensionProperties.kt")
|
||||
public void testImmutableExtensionProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ImmutableExtensionProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImmutableProperties.kt")
|
||||
public void testImmutableProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ImmutableProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutableExtensionPropertiesMaterializeCase.kt")
|
||||
public void testMutableExtensionPropertiesMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutableExtensionPropertiesMaterializeCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutableExtensionPropertiesYieldCase.kt")
|
||||
public void testMutableExtensionPropertiesYieldCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutableExtensionPropertiesYieldCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutablePropertiesMaterializeCase.kt")
|
||||
public void testMutablePropertiesMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutablePropertiesMaterializeCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutablePropertiesYieldCase.kt")
|
||||
public void testMutablePropertiesYieldCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutablePropertiesYieldCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametersOfBuilderArguments.kt")
|
||||
public void testParametersOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ParametersOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReceiversOfBuilderArguments.kt")
|
||||
public void testReceiversOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ReceiversOfBuilderArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@UseExtTestCaseGroupProvider()
|
||||
public class TypeInfoSources {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeInfoSources() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionFunctions.kt")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ExtensionFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionProperties.kt")
|
||||
public void testExtensionProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ExtensionProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametersOfBuilderArguments.kt")
|
||||
public void testParametersOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ParametersOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReceiversOfBuilderArguments.kt")
|
||||
public void testReceiversOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ReceiversOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReturnTypesOfBuilderParameters.kt")
|
||||
public void testReturnTypesOfBuilderParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ReturnTypesOfBuilderParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UnitReturnTypeOfBuilderParametersExplicitReturnCase.kt")
|
||||
public void testUnitReturnTypeOfBuilderParametersExplicitReturnCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/UnitReturnTypeOfBuilderParametersExplicitReturnCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+116
@@ -2252,6 +2252,122 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/targetTypes/TypeParameter.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@UseExtTestCaseGroupProvider()
|
||||
@UsePartialLinkage(mode = Mode.DISABLED)
|
||||
@Tag("no-partial-linkage-may-be-skipped")
|
||||
public class TypeInfoSinks {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeInfoSinks() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionFunctions.kt")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ExtensionFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImmutableExtensionProperties.kt")
|
||||
public void testImmutableExtensionProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ImmutableExtensionProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ImmutableProperties.kt")
|
||||
public void testImmutableProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ImmutableProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutableExtensionPropertiesMaterializeCase.kt")
|
||||
public void testMutableExtensionPropertiesMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutableExtensionPropertiesMaterializeCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutableExtensionPropertiesYieldCase.kt")
|
||||
public void testMutableExtensionPropertiesYieldCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutableExtensionPropertiesYieldCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutablePropertiesMaterializeCase.kt")
|
||||
public void testMutablePropertiesMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutablePropertiesMaterializeCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("MutablePropertiesYieldCase.kt")
|
||||
public void testMutablePropertiesYieldCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/MutablePropertiesYieldCase.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametersOfBuilderArguments.kt")
|
||||
public void testParametersOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ParametersOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReceiversOfBuilderArguments.kt")
|
||||
public void testReceiversOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSinks/ReceiversOfBuilderArguments.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@UseExtTestCaseGroupProvider()
|
||||
@UsePartialLinkage(mode = Mode.DISABLED)
|
||||
@Tag("no-partial-linkage-may-be-skipped")
|
||||
public class TypeInfoSources {
|
||||
@Test
|
||||
public void testAllFilesPresentInTypeInfoSources() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionFunctions.kt")
|
||||
public void testExtensionFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ExtensionFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExtensionProperties.kt")
|
||||
public void testExtensionProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ExtensionProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ParametersOfBuilderArguments.kt")
|
||||
public void testParametersOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ParametersOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReceiversOfBuilderArguments.kt")
|
||||
public void testReceiversOfBuilderArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ReceiversOfBuilderArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ReturnTypesOfBuilderParameters.kt")
|
||||
public void testReturnTypesOfBuilderParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/ReturnTypesOfBuilderParameters.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("UnitReturnTypeOfBuilderParametersExplicitReturnCase.kt")
|
||||
public void testUnitReturnTypeOfBuilderParametersExplicitReturnCase() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/typeInfoSources/UnitReturnTypeOfBuilderParametersExplicitReturnCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user