Reflection: add KTypeParameter.toString

The test covers different type parameters with and without bounds, in case we
decide to also output upper bounds in toString
This commit is contained in:
Alexander Udalov
2016-07-22 16:40:27 +03:00
parent 170ea4dead
commit e760b5ed53
4 changed files with 38 additions and 4 deletions
@@ -12573,6 +12573,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("typeParametersToString.kt")
public void testTypeParametersToString() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/typeParametersToString.kt");
doTest(fileName);
}
@TestMetadata("typeToString.kt")
public void testTypeToString() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/methodsFromAny/typeToString.kt");