New tests for TYPE_USE annotations in enums and inner classes

Main test data  (testName.txt) a not totally valid cause of IDEA-205039.
 Javac test data (testName.javac.txt) a not valid
 cause of type annotations support absence.
 Runtime tests are disabled cause reflection support absence.
This commit is contained in:
Mikhael Bogdanov
2019-01-07 10:41:45 +01:00
parent 57489febf0
commit 8ce7112123
24 changed files with 432 additions and 0 deletions
@@ -0,0 +1,14 @@
package test
public/*package*/ open class AnnotatedParameterInInnerClassConstructor {
public/*package*/ constructor AnnotatedParameterInInnerClassConstructor()
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: kotlin.String)
public final val value: kotlin.String
}
public/*package*/ open inner class JavaEnum {
public/*package*/ constructor JavaEnum(/*0*/ @test.AnnotatedParameterInInnerClassConstructor.Anno(value = "a") p0: kotlin.String!, /*1*/ @test.AnnotatedParameterInInnerClassConstructor.Anno(value = "b") p1: kotlin.String!)
}
}