Generate type annotations on class type parameters bounds
#KT-13228 #KT-46539 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
f574f89f78
commit
cd7841ceed
Generated
+5
@@ -115,6 +115,11 @@ public class AsmLikeInstructionListingTestGenerated extends AbstractAsmLikeInstr
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("classTypeParameter.kt")
|
||||
public void testClassTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/classTypeParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("complex.kt")
|
||||
public void testComplex() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
|
||||
|
||||
+10
@@ -372,6 +372,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TypeAnnotations extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("classTypeParameterBoundsJava.kt")
|
||||
public void ignoreClassTypeParameterBoundsJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/typeAnnotations/classTypeParameterBoundsJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("methodTypeParameters.kt")
|
||||
public void ignoreMethodTypeParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/typeAnnotations/methodTypeParameters.kt");
|
||||
@@ -390,6 +395,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/annotations/typeAnnotations/checkingNotincorporatedInputTypes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classTypeParameterBound.kt")
|
||||
public void testClassTypeParameterBound() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/typeAnnotations/classTypeParameterBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionTypeParameterBound.kt")
|
||||
public void testFunctionTypeParameterBound() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/annotations/typeAnnotations/functionTypeParameterBound.kt");
|
||||
|
||||
Generated
+5
@@ -115,6 +115,11 @@ public class IrAsmLikeInstructionListingTestGenerated extends AbstractIrAsmLikeI
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/asmLike/typeAnnotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("classTypeParameter.kt")
|
||||
public void testClassTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/classTypeParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("complex.kt")
|
||||
public void testComplex() throws Exception {
|
||||
runTest("compiler/testData/codegen/asmLike/typeAnnotations/complex.kt");
|
||||
|
||||
Reference in New Issue
Block a user