Basic support of partially specified type arguments though a new underscore operator for type arguments
^KT-13394
This commit is contained in:
+38
@@ -35099,6 +35099,44 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/underscoredTypeArguments")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class UnderscoredTypeArguments extends AbstractLightAnalysisModeTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInUnderscoredTypeArguments() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/underscoredTypeArguments"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("backTicked.kt")
|
||||
public void testBackTicked() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/underscoredTypeArguments/backTicked.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dependentTypeParameters.kt")
|
||||
public void testDependentTypeParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/underscoredTypeArguments/dependentTypeParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaInputType.kt")
|
||||
public void testLambdaInputType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/underscoredTypeArguments/lambdaInputType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("react.kt")
|
||||
public void testReact() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/underscoredTypeArguments/react.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simple.kt")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/underscoredTypeArguments/simple.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/unit")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user