[tests] BI (1P&1TV/1TIO): add tests for contexts of source-sink feeds
single builder parameter single postponed type variable single origin of type information relevant issues: KT-60274 KT-60663
This commit is contained in:
committed by
Space Team
parent
b13a225949
commit
8bd823de0d
+22
@@ -3270,6 +3270,28 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
public void testAnonymousFunctionArgumentAndBuildeeReceiver() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/AnonymousFunctionArgumentAndBuildeeReceiver.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SourceSinkFeedContexts {
|
||||
@Test
|
||||
public void testAllFilesPresentInSourceSinkFeedContexts() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InsideNestedBuilderInferenceLambda.kt")
|
||||
public void testInsideNestedBuilderInferenceLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ThroughDelegatedLocalVariableMaterializeCase.kt")
|
||||
public void testThroughDelegatedLocalVariableMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/ThroughDelegatedLocalVariableMaterializeCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+22
@@ -3270,6 +3270,28 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
public void testAnonymousFunctionArgumentAndBuildeeReceiver() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/AnonymousFunctionArgumentAndBuildeeReceiver.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SourceSinkFeedContexts {
|
||||
@Test
|
||||
public void testAllFilesPresentInSourceSinkFeedContexts() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("InsideNestedBuilderInferenceLambda.kt")
|
||||
public void testInsideNestedBuilderInferenceLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/InsideNestedBuilderInferenceLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ThroughDelegatedLocalVariableMaterializeCase.kt")
|
||||
public void testThroughDelegatedLocalVariableMaterializeCase() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/builderInference/oneParameter/oneTypeVariable/oneTypeInfoOrigin/sourceSinkFeedContexts/ThroughDelegatedLocalVariableMaterializeCase.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user