[TEST] Migrate AbstractDiagnosticsWithExplicitApi to new test runners

This commit is contained in:
Dmitriy Novozhilov
2020-12-09 12:28:49 +03:00
parent c0e4452cf8
commit 23e704f361
27 changed files with 373 additions and 104 deletions
@@ -0,0 +1,47 @@
// SKIP_TXT
annotation class A
@Target(
AnnotationTarget.CLASS,
AnnotationTarget.PROPERTY,
AnnotationTarget.CONSTRUCTOR,
AnnotationTarget.FUNCTION
)
public annotation class B
annotation class C(val a: String)
/**
* Foo1 KDoc
*/
@B
class Foo1() {}
public class Foo2() {
/**
* KDoc for methodWithAnnotations
*/
@B
fun methodWithAnnotations() {}
/**
* Property KDoc
*/
@B
var simple: Int = 10
}
public open class ClassWithOpen {
/**
* constructor KDoc
*/
@B
constructor() {}
/**
* KDoc for openAnnotatedMethod
*/
@B
open fun openAnnotatedMethod() {}
}