Reflection: add KType.withNullability

This commit is contained in:
Alexander Udalov
2016-07-18 19:37:02 +03:00
parent f958483e56
commit 486ea62c72
4 changed files with 99 additions and 0 deletions
@@ -12490,6 +12490,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/unit.kt");
doTest(fileName);
}
@TestMetadata("withNullability.kt")
public void testWithNullability() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/mapping/types/withNullability.kt");
doTest(fileName);
}
}
}
@@ -13056,6 +13062,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("withNullability.kt")
public void testWithNullability() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/types/withNullability.kt");
doTest(fileName);
}
@TestMetadata("compiler/testData/codegen/box/reflection/types/createType")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)