[LL FIR] merge diagnosticTraversalCounter testData to fileStructure
^KT-60728
This commit is contained in:
committed by
Space Team
parent
9970663a2b
commit
6fa254c353
-7
@@ -1,7 +0,0 @@
|
|||||||
open class B(x: () -> Unit)
|
|
||||||
|
|
||||||
class A() : B(1, {
|
|
||||||
foo()
|
|
||||||
})
|
|
||||||
|
|
||||||
fun foo() {}
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
open class B(x: () -> Unit)
|
|
||||||
|
|
||||||
class A : B(1, {
|
|
||||||
foo()
|
|
||||||
})
|
|
||||||
|
|
||||||
fun foo() {}
|
|
||||||
-17
@@ -1,17 +0,0 @@
|
|||||||
open class A(x: () -> Unit)
|
|
||||||
|
|
||||||
class B : A {
|
|
||||||
constructor(i: Int) : super(
|
|
||||||
{
|
|
||||||
foo(i)
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
constructor(l: Long) : super(
|
|
||||||
{
|
|
||||||
foo(l)
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
fun foo(any: Any) {}
|
|
||||||
-11
@@ -1,11 +0,0 @@
|
|||||||
open class A(x: () -> Unit)
|
|
||||||
|
|
||||||
class B : A {
|
|
||||||
constructor(i: Int) : super(
|
|
||||||
{
|
|
||||||
foo(i)
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
fun foo(any: Any) {}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
fun foo(f: Float.(Int, String) -> Boolean) {
|
|
||||||
|
|
||||||
}
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
class A(var x: Int)
|
|
||||||
-10
@@ -1,10 +0,0 @@
|
|||||||
class A(
|
|
||||||
@setparam:Ann
|
|
||||||
@get:Ann
|
|
||||||
@set:Ann
|
|
||||||
@field:Ann
|
|
||||||
@property:Ann
|
|
||||||
var x: Int
|
|
||||||
)
|
|
||||||
|
|
||||||
annotation class Ann
|
|
||||||
Vendored
-11
@@ -1,11 +0,0 @@
|
|||||||
class A {
|
|
||||||
val a = run {
|
|
||||||
class X()
|
|
||||||
|
|
||||||
val y = 10
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
inline fun <R> run(block: () -> R): R {
|
|
||||||
return block()
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
enum class A {
|
|
||||||
X,
|
|
||||||
Y,
|
|
||||||
Z
|
|
||||||
|
|
||||||
;
|
|
||||||
|
|
||||||
fun foo(){}
|
|
||||||
|
|
||||||
val x = 10
|
|
||||||
|
|
||||||
fun bar() = 10
|
|
||||||
}
|
|
||||||
-13
@@ -1,13 +0,0 @@
|
|||||||
enum class A {
|
|
||||||
X {
|
|
||||||
fun localInX() = 1
|
|
||||||
},
|
|
||||||
Y {
|
|
||||||
override fun foo() {}
|
|
||||||
},
|
|
||||||
Z,
|
|
||||||
|
|
||||||
;
|
|
||||||
|
|
||||||
open fun foo() {}
|
|
||||||
}
|
|
||||||
-3
@@ -1,3 +0,0 @@
|
|||||||
class A(val x: Int = 10, val b: String) {
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
class A {
|
|
||||||
init {
|
|
||||||
val x = 10
|
|
||||||
class B
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
// WITH_STDLIB
|
|
||||||
|
|
||||||
val x = run {
|
|
||||||
val inLambda = 10
|
|
||||||
println(inLambda)
|
|
||||||
inLambda
|
|
||||||
}
|
|
||||||
Vendored
-3
@@ -1,3 +0,0 @@
|
|||||||
fun foo() {
|
|
||||||
fun local() = 0
|
|
||||||
}
|
|
||||||
-5
@@ -1,5 +0,0 @@
|
|||||||
fun foo() {
|
|
||||||
fun local() {
|
|
||||||
println("local")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
class A {
|
|
||||||
fun foo1() = 10
|
|
||||||
|
|
||||||
fun foo2() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
class A {
|
|
||||||
fun foo1() = 10
|
|
||||||
|
|
||||||
fun foo2() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-3
@@ -1,3 +0,0 @@
|
|||||||
class A {
|
|
||||||
typealias X = Int
|
|
||||||
}
|
|
||||||
-15
@@ -1,15 +0,0 @@
|
|||||||
class A {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class B {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class C {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class D {
|
|
||||||
|
|
||||||
}
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
fun foo1() = 1
|
|
||||||
|
|
||||||
fun foo2() = 2
|
|
||||||
|
|
||||||
fun foo3() = 3
|
|
||||||
|
|
||||||
fun foo4() = 4
|
|
||||||
Vendored
-15
@@ -1,15 +0,0 @@
|
|||||||
fun foo1() {
|
|
||||||
println("foo1")
|
|
||||||
}
|
|
||||||
|
|
||||||
fun foo2() {
|
|
||||||
println("foo2")
|
|
||||||
}
|
|
||||||
|
|
||||||
fun foo3() {
|
|
||||||
println("foo3")
|
|
||||||
}
|
|
||||||
|
|
||||||
fun foo4() {
|
|
||||||
println("foo4")
|
|
||||||
}
|
|
||||||
-11
@@ -1,11 +0,0 @@
|
|||||||
class A {
|
|
||||||
class B {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
object C {
|
|
||||||
class D {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
class A {
|
|
||||||
fun y() {}
|
|
||||||
|
|
||||||
class B {
|
|
||||||
fun x() {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-15
@@ -1,15 +0,0 @@
|
|||||||
var x: Int = 10
|
|
||||||
get() = field
|
|
||||||
set(value) {
|
|
||||||
println(1)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
class X {
|
|
||||||
var y: Int = 10
|
|
||||||
get() = field
|
|
||||||
set(value) {
|
|
||||||
println(2)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Vendored
-5
@@ -1,5 +0,0 @@
|
|||||||
var withGetterAndSetter: Int = 42
|
|
||||||
get() = field
|
|
||||||
set(value) {
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
Vendored
-51
@@ -1,51 +0,0 @@
|
|||||||
open class A(init: A.() -> Unit) {
|
|
||||||
val prop: String = ""
|
|
||||||
}
|
|
||||||
|
|
||||||
object B : A({})
|
|
||||||
|
|
||||||
object C : A(
|
|
||||||
{
|
|
||||||
fun foo() = B.prop.toString()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
class D : A(
|
|
||||||
{
|
|
||||||
fun foo() = B.prop.toString()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
class E() : A(
|
|
||||||
{
|
|
||||||
fun foo() = B.prop.toString()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
class F : A(
|
|
||||||
{
|
|
||||||
fun foo() = B.prop.toString()
|
|
||||||
}
|
|
||||||
) {
|
|
||||||
constructor()
|
|
||||||
}
|
|
||||||
|
|
||||||
class G : A(
|
|
||||||
{
|
|
||||||
fun foo() = B.prop.toString()
|
|
||||||
}
|
|
||||||
) {
|
|
||||||
constructor() : super(
|
|
||||||
{
|
|
||||||
fun foo() = B.prop.toString()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
class H : A {
|
|
||||||
constructor() : super(
|
|
||||||
{
|
|
||||||
fun foo() = B.prop.toString()
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
|
||||||
-3
@@ -1,3 +0,0 @@
|
|||||||
class A(val x: Int = 10, val b: String) {
|
|
||||||
constructor(i: Int) : this(x = 1, b = i.toString())
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
@Target(AnnotationTarget.TYPE)
|
|
||||||
annotation class Anno
|
|
||||||
|
|
||||||
open class A
|
|
||||||
|
|
||||||
class B : @Anno A()
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
@Target(AnnotationTarget.TYPE)
|
|
||||||
annotation class Anno
|
|
||||||
|
|
||||||
interface A
|
|
||||||
|
|
||||||
class B : @Anno A
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
interface A<T>
|
|
||||||
|
|
||||||
typealias AS = A<String>
|
|
||||||
|
|
||||||
class C : AS {
|
|
||||||
constructor()
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
typealias A = 10
|
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
open class B(x: () -> Unit)/* NonReanalyzableNonClassDeclarationStructureElement *//* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class A()/* NonReanalyzableNonClassDeclarationStructureElement */ : B(1, {
|
||||||
|
foo()
|
||||||
|
})/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
fun foo() {/* ReanalyzableFunctionStructureElement */}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
open class B(x: () -> Unit)/* NonReanalyzableNonClassDeclarationStructureElement *//* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class A : B(1, {
|
||||||
|
foo()
|
||||||
|
})/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
fun foo() {/* ReanalyzableFunctionStructureElement */}
|
||||||
+17
@@ -0,0 +1,17 @@
|
|||||||
|
open class A(x: () -> Unit)/* NonReanalyzableNonClassDeclarationStructureElement *//* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class B : A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
constructor(i: Int) : super(
|
||||||
|
{
|
||||||
|
foo(i)
|
||||||
|
}
|
||||||
|
)/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
constructor(l: Long) : super(
|
||||||
|
{
|
||||||
|
foo(l)
|
||||||
|
}
|
||||||
|
)/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
}
|
||||||
|
|
||||||
|
fun foo(any: Any) {/* ReanalyzableFunctionStructureElement */}
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
open class A(x: () -> Unit)/* NonReanalyzableNonClassDeclarationStructureElement *//* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class B : A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
constructor(i: Int) : super(
|
||||||
|
{
|
||||||
|
foo(i)
|
||||||
|
}
|
||||||
|
)/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
}
|
||||||
|
|
||||||
|
fun foo(any: Any) {/* ReanalyzableFunctionStructureElement */}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
class A(var x: Int)/* NonReanalyzableNonClassDeclarationStructureElement *//* NonReanalyzableClassDeclarationStructureElement */
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
class A(
|
||||||
|
@setparam:Ann
|
||||||
|
@get:Ann
|
||||||
|
@set:Ann
|
||||||
|
@field:Ann
|
||||||
|
@property:Ann
|
||||||
|
var x: Int
|
||||||
|
)/* NonReanalyzableNonClassDeclarationStructureElement *//* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
annotation class Ann/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
class A(val x: Int = 10, val b: String)/* NonReanalyzableNonClassDeclarationStructureElement */ {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
val x = run {
|
||||||
|
val inLambda = 10
|
||||||
|
println(inLambda)
|
||||||
|
inLambda
|
||||||
|
}/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
fun println(any: Any) {/* ReanalyzableFunctionStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
class Outer {
|
class Outer {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
val i: Int = 1
|
val i: Int = 1/* ReanalyzablePropertyStructureElement */
|
||||||
get() {
|
get() {
|
||||||
class Inner {
|
class Inner {
|
||||||
var i: Int = 2
|
var i: Int = 2
|
||||||
@@ -20,7 +20,7 @@ class Outer {
|
|||||||
return field
|
return field
|
||||||
}
|
}
|
||||||
|
|
||||||
val j: Int = 4
|
val j: Int = 4/* ReanalyzablePropertyStructureElement */
|
||||||
get() {
|
get() {
|
||||||
fun local() {
|
fun local() {
|
||||||
field++
|
field++
|
||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
fun foo() {/* ReanalyzableFunctionStructureElement */
|
||||||
|
fun local() = 0
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
fun foo() {/* ReanalyzableFunctionStructureElement */
|
||||||
|
fun local() {
|
||||||
|
println("local")
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
fun foo1() = 10/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
fun foo2() {/* ReanalyzableFunctionStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
fun foo1() = 10/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
fun foo2() {/* ReanalyzableFunctionStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class B {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class C {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
class D {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
Vendored
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fun foo1() = 1/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
fun foo2() = 2/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
fun foo3() = 3/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
fun foo4() = 4/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
fun foo1() {/* ReanalyzableFunctionStructureElement */
|
||||||
|
println("foo1")
|
||||||
|
}
|
||||||
|
|
||||||
|
fun foo2() {/* ReanalyzableFunctionStructureElement */
|
||||||
|
println("foo2")
|
||||||
|
}
|
||||||
|
|
||||||
|
fun foo3() {/* ReanalyzableFunctionStructureElement */
|
||||||
|
println("foo3")
|
||||||
|
}
|
||||||
|
|
||||||
|
fun foo4() {/* ReanalyzableFunctionStructureElement */
|
||||||
|
println("foo4")
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
class B {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
object C {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
class D {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
class A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
fun y() {/* ReanalyzableFunctionStructureElement */}
|
||||||
|
|
||||||
|
class B {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
fun x() {/* ReanalyzableFunctionStructureElement */}
|
||||||
|
}
|
||||||
|
}
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
var withGetterAndSetter: Int = 42/* ReanalyzablePropertyStructureElement */
|
||||||
|
get() = field
|
||||||
|
set(value) {
|
||||||
|
field = value
|
||||||
|
}
|
||||||
+51
@@ -0,0 +1,51 @@
|
|||||||
|
open class A(init: A.() -> Unit)/* NonReanalyzableNonClassDeclarationStructureElement */ {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
val prop: String = ""/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
}
|
||||||
|
|
||||||
|
object B : A({})/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
object C : A(
|
||||||
|
{
|
||||||
|
fun foo() = B.prop.toString()
|
||||||
|
}
|
||||||
|
)/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class D : A(
|
||||||
|
{
|
||||||
|
fun foo() = B.prop.toString()
|
||||||
|
}
|
||||||
|
)/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class E()/* NonReanalyzableNonClassDeclarationStructureElement */ : A(
|
||||||
|
{
|
||||||
|
fun foo() = B.prop.toString()
|
||||||
|
}
|
||||||
|
)/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class F : A(
|
||||||
|
{
|
||||||
|
fun foo() = B.prop.toString()
|
||||||
|
}
|
||||||
|
) {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
constructor()/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
}
|
||||||
|
|
||||||
|
class G : A(
|
||||||
|
{
|
||||||
|
fun foo() = B.prop.toString()
|
||||||
|
}
|
||||||
|
) {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
constructor() : super(
|
||||||
|
{
|
||||||
|
fun foo() = B.prop.toString()
|
||||||
|
}
|
||||||
|
)/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
}
|
||||||
|
|
||||||
|
class H : A {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
constructor() : super(
|
||||||
|
{
|
||||||
|
fun foo() = B.prop.toString()
|
||||||
|
}
|
||||||
|
)/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
class A(val x: Int = 10, val b: String)/* NonReanalyzableNonClassDeclarationStructureElement */ {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
constructor(i: Int) : this(x = 1, b = i.toString())/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
@Target(AnnotationTarget.TYPE)
|
||||||
|
annotation class Anno/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
open class A/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class B : @Anno A()/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
@Target(AnnotationTarget.TYPE)
|
||||||
|
annotation class Anno/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
interface A/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class B : @Anno A/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
interface A<T>/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
typealias AS = A<String>/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
|
||||||
|
class C : AS {/* NonReanalyzableClassDeclarationStructureElement */
|
||||||
|
constructor()/* NonReanalyzableNonClassDeclarationStructureElement */
|
||||||
|
}
|
||||||
+135
-55
@@ -16,213 +16,293 @@ import java.util.regex.Pattern;
|
|||||||
|
|
||||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
|
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.analysis.api.GenerateAnalysisApiTestsKt}. DO NOT MODIFY MANUALLY */
|
||||||
@SuppressWarnings("all")
|
@SuppressWarnings("all")
|
||||||
@TestMetadata("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter")
|
@TestMetadata("analysis/low-level-api-fir/testdata/fileStructure")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class DiagnosticTraversalCounterTestGenerated extends AbstractDiagnosticTraversalCounterTest {
|
public class DiagnosticTraversalCounterTestGenerated extends AbstractDiagnosticTraversalCounterTest {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInDiagnosticTraversalCounter() throws Exception {
|
public void testAllFilesPresentInFileStructure() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||||
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/callInsideLambdaInsideSuperCallAndExplicitConstructor.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndExplicitConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("callInsideLambdaInsideSuperCallAndImplicitConstructor.kt")
|
@TestMetadata("callInsideLambdaInsideSuperCallAndImplicitConstructor.kt")
|
||||||
public void testCallInsideLambdaInsideSuperCallAndImplicitConstructor() throws Exception {
|
public void testCallInsideLambdaInsideSuperCallAndImplicitConstructor() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/callInsideLambdaInsideSuperCallAndImplicitConstructor.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndImplicitConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt")
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt")
|
||||||
public void testCallInsideLambdaInsideSuperCallFromSecondaryConstructor() throws Exception {
|
public void testCallInsideLambdaInsideSuperCallFromSecondaryConstructor() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt")
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt")
|
||||||
public void testCallInsideLambdaInsideSuperCallFromSingleSecondaryConstructor() throws Exception {
|
public void testCallInsideLambdaInsideSuperCallFromSingleSecondaryConstructor() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructor.kt")
|
@TestMetadata("class.kt")
|
||||||
public void testConstructor() throws Exception {
|
public void testClass() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/constructor.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/class.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("classMemberProperty.kt")
|
||||||
|
public void testClassMemberProperty() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameter.kt")
|
||||||
|
public void testConstructorParameter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||||
|
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameterWithAnnotations.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructors.kt")
|
||||||
|
public void testConstructors() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructors.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("danglingAnnotationClassLevel.kt")
|
||||||
|
public void testDanglingAnnotationClassLevel() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/danglingAnnotationClassLevel.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("danglingAnnotationTopLevel.kt")
|
||||||
|
public void testDanglingAnnotationTopLevel() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/danglingAnnotationTopLevel.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("declarationsInPropertyInit.kt")
|
@TestMetadata("declarationsInPropertyInit.kt")
|
||||||
public void testDeclarationsInPropertyInit() throws Exception {
|
public void testDeclarationsInPropertyInit() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/declarationsInPropertyInit.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/declarationsInPropertyInit.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("enumClass.kt")
|
@TestMetadata("enumClass.kt")
|
||||||
public void testEnumClass() throws Exception {
|
public void testEnumClass() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/enumClass.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("enumClassWithBody.kt")
|
@TestMetadata("enumClassWithBody.kt")
|
||||||
public void testEnumClassWithBody() throws Exception {
|
public void testEnumClassWithBody() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/enumClassWithBody.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("functionalType.kt")
|
@TestMetadata("functionalType.kt")
|
||||||
public void testFunctionalType() throws Exception {
|
public void testFunctionalType() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/functionalType.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionalType.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("initBlock.kt")
|
@TestMetadata("initBlock.kt")
|
||||||
public void testInitBlock() throws Exception {
|
public void testInitBlock() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/initBlock.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("lambda.kt")
|
@TestMetadata("lambda.kt")
|
||||||
public void testLambda() throws Exception {
|
public void testLambda() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/lambda.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localClass.kt")
|
||||||
|
public void testLocalClass() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localDeclarationsInAccessor.kt")
|
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||||
public void testLocalDeclarationsInAccessor() throws Exception {
|
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/localDeclarationsInAccessor.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localDeclarationsInAccessor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localFun.kt")
|
||||||
|
public void testLocalFun() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localFunctionWithImplicitType.kt")
|
@TestMetadata("localFunctionWithImplicitType.kt")
|
||||||
public void testLocalFunctionWithImplicitType() throws Exception {
|
public void testLocalFunctionWithImplicitType() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/localFunctionWithImplicitType.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFunctionWithImplicitType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localProperty.kt")
|
||||||
|
public void testLocalProperty() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localUnitFunction.kt")
|
@TestMetadata("localUnitFunction.kt")
|
||||||
public void testLocalUnitFunction() throws Exception {
|
public void testLocalUnitFunction() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/localUnitFunction.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localUnitFunction.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("memberFunctions.kt")
|
@TestMetadata("memberFunctions.kt")
|
||||||
public void testMemberFunctions() throws Exception {
|
public void testMemberFunctions() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/memberFunctions.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberFunctions.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("memberProperties.kt")
|
@TestMetadata("memberProperties.kt")
|
||||||
public void testMemberProperties() throws Exception {
|
public void testMemberProperties() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/memberProperties.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberProperties.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("memberTypeAlias.kt")
|
@TestMetadata("memberTypeAlias.kt")
|
||||||
public void testMemberTypeAlias() throws Exception {
|
public void testMemberTypeAlias() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/memberTypeAlias.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("multipleTopLevelClasses.kt")
|
@TestMetadata("multipleTopLevelClasses.kt")
|
||||||
public void testMultipleTopLevelClasses() throws Exception {
|
public void testMultipleTopLevelClasses() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/multipleTopLevelClasses.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelClasses.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("multipleTopLevelFunctionsWithImplicitTypes.kt")
|
@TestMetadata("multipleTopLevelFunctionsWithImplicitTypes.kt")
|
||||||
public void testMultipleTopLevelFunctionsWithImplicitTypes() throws Exception {
|
public void testMultipleTopLevelFunctionsWithImplicitTypes() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/multipleTopLevelFunctionsWithImplicitTypes.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelFunctionsWithImplicitTypes.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("multipleTopLevelUnitFunctions.kt")
|
@TestMetadata("multipleTopLevelUnitFunctions.kt")
|
||||||
public void testMultipleTopLevelUnitFunctions() throws Exception {
|
public void testMultipleTopLevelUnitFunctions() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/multipleTopLevelUnitFunctions.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelUnitFunctions.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("nestedClases.kt")
|
@TestMetadata("nestedClases.kt")
|
||||||
public void testNestedClases() throws Exception {
|
public void testNestedClases() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/nestedClases.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClases.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("nestedClasesWithFun.kt")
|
@TestMetadata("nestedClasesWithFun.kt")
|
||||||
public void testNestedClasesWithFun() throws Exception {
|
public void testNestedClasesWithFun() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/nestedClasesWithFun.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasesWithFun.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClasses.kt")
|
||||||
|
public void testNestedClasses() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasses.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("propertyAccessors.kt")
|
@TestMetadata("propertyAccessors.kt")
|
||||||
public void testPropertyAccessors() throws Exception {
|
public void testPropertyAccessors() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/propertyAccessors.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("propertyWithGetterAndSetter.kt")
|
@TestMetadata("propertyWithGetterAndSetter.kt")
|
||||||
public void testPropertyWithGetterAndSetter() throws Exception {
|
public void testPropertyWithGetterAndSetter() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/propertyWithGetterAndSetter.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||||
public void testQualifiedCallInsideSuperCall() throws Exception {
|
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/qualifiedCallInsideSuperCall.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/qualifiedCallInsideSuperCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("secondaryConstructor.kt")
|
@TestMetadata("secondaryConstructor.kt")
|
||||||
public void testSecondaryConstructor() throws Exception {
|
public void testSecondaryConstructor() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/secondaryConstructor.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/secondaryConstructor.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("superCallAnnotation.kt")
|
@TestMetadata("superCallAnnotation.kt")
|
||||||
public void testSuperCallAnnotation() throws Exception {
|
public void testSuperCallAnnotation() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/superCallAnnotation.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("superCallAnnotation2.kt")
|
@TestMetadata("superCallAnnotation2.kt")
|
||||||
public void testSuperCallAnnotation2() throws Exception {
|
public void testSuperCallAnnotation2() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/superCallAnnotation2.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superClassCall.kt")
|
||||||
|
public void testSuperClassCall() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("superType.kt")
|
@TestMetadata("superType.kt")
|
||||||
public void testSuperType() throws Exception {
|
public void testSuperType() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/superType.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||||
|
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelExpressionBodyFunWithType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("topLevelExpressionBodyFunWithoutType.kt")
|
||||||
|
public void testTopLevelExpressionBodyFunWithoutType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelExpressionBodyFunWithoutType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("topLevelFunWithType.kt")
|
||||||
|
public void testTopLevelFunWithType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelFunWithType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("topLevelProperty.kt")
|
||||||
|
public void testTopLevelProperty() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelProperty.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("topLevelUnitFun.kt")
|
||||||
|
public void testTopLevelUnitFun() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/topLevelUnitFun.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("typeAlias.kt")
|
@TestMetadata("typeAlias.kt")
|
||||||
public void testTypeAlias() throws Exception {
|
public void testTypeAlias() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/typeAlias.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Test
|
||||||
@TestMetadata("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/constructorParameters")
|
@TestMetadata("withoutName.kt")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
public void testWithoutName() throws Exception {
|
||||||
public class ConstructorParameters {
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt");
|
||||||
@Test
|
|
||||||
public void testAllFilesPresentInConstructorParameters() throws Exception {
|
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/constructorParameters"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("constructorParameter.kt")
|
|
||||||
public void testConstructorParameter() throws Exception {
|
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/constructorParameters/constructorParameter.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("constructorParameterWithAnnotations.kt")
|
|
||||||
public void testConstructorParameterWithAnnotations() throws Exception {
|
|
||||||
runTest("analysis/low-level-api-fir/testdata/diagnosticTraversalCounter/constructorParameters/constructorParameterWithAnnotations.kt");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+144
@@ -24,6 +24,30 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndExplicitConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallAndImplicitConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallAndImplicitConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndImplicitConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallFromSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallFromSingleSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("class.kt")
|
@TestMetadata("class.kt")
|
||||||
public void testClass() throws Exception {
|
public void testClass() throws Exception {
|
||||||
@@ -36,6 +60,18 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameter.kt")
|
||||||
|
public void testConstructorParameter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||||
|
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameterWithAnnotations.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructors.kt")
|
@TestMetadata("constructors.kt")
|
||||||
public void testConstructors() throws Exception {
|
public void testConstructors() throws Exception {
|
||||||
@@ -72,36 +108,108 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("functionalType.kt")
|
||||||
|
public void testFunctionalType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionalType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("initBlock.kt")
|
@TestMetadata("initBlock.kt")
|
||||||
public void testInitBlock() throws Exception {
|
public void testInitBlock() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("lambda.kt")
|
||||||
|
public void testLambda() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localClass.kt")
|
@TestMetadata("localClass.kt")
|
||||||
public void testLocalClass() throws Exception {
|
public void testLocalClass() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||||
|
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localDeclarationsInAccessor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localFun.kt")
|
@TestMetadata("localFun.kt")
|
||||||
public void testLocalFun() throws Exception {
|
public void testLocalFun() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localFunctionWithImplicitType.kt")
|
||||||
|
public void testLocalFunctionWithImplicitType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFunctionWithImplicitType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localProperty.kt")
|
@TestMetadata("localProperty.kt")
|
||||||
public void testLocalProperty() throws Exception {
|
public void testLocalProperty() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localUnitFunction.kt")
|
||||||
|
public void testLocalUnitFunction() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localUnitFunction.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("memberFunctions.kt")
|
||||||
|
public void testMemberFunctions() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("memberProperties.kt")
|
||||||
|
public void testMemberProperties() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberProperties.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("memberTypeAlias.kt")
|
@TestMetadata("memberTypeAlias.kt")
|
||||||
public void testMemberTypeAlias() throws Exception {
|
public void testMemberTypeAlias() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelClasses.kt")
|
||||||
|
public void testMultipleTopLevelClasses() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelClasses.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelFunctionsWithImplicitTypes.kt")
|
||||||
|
public void testMultipleTopLevelFunctionsWithImplicitTypes() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelFunctionsWithImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelUnitFunctions.kt")
|
||||||
|
public void testMultipleTopLevelUnitFunctions() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelUnitFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClases.kt")
|
||||||
|
public void testNestedClases() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClases.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClasesWithFun.kt")
|
||||||
|
public void testNestedClasesWithFun() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasesWithFun.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("nestedClasses.kt")
|
@TestMetadata("nestedClasses.kt")
|
||||||
public void testNestedClasses() throws Exception {
|
public void testNestedClasses() throws Exception {
|
||||||
@@ -114,12 +222,48 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("propertyWithGetterAndSetter.kt")
|
||||||
|
public void testPropertyWithGetterAndSetter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||||
|
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/qualifiedCallInsideSuperCall.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("secondaryConstructor.kt")
|
||||||
|
public void testSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/secondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superCallAnnotation.kt")
|
||||||
|
public void testSuperCallAnnotation() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superCallAnnotation2.kt")
|
||||||
|
public void testSuperCallAnnotation2() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("superClassCall.kt")
|
@TestMetadata("superClassCall.kt")
|
||||||
public void testSuperClassCall() throws Exception {
|
public void testSuperClassCall() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superType.kt")
|
||||||
|
public void testSuperType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||||
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||||
|
|||||||
+144
@@ -24,6 +24,30 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndExplicitConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallAndImplicitConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallAndImplicitConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndImplicitConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallFromSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallFromSingleSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("class.kt")
|
@TestMetadata("class.kt")
|
||||||
public void testClass() throws Exception {
|
public void testClass() throws Exception {
|
||||||
@@ -36,6 +60,18 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameter.kt")
|
||||||
|
public void testConstructorParameter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||||
|
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameterWithAnnotations.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructors.kt")
|
@TestMetadata("constructors.kt")
|
||||||
public void testConstructors() throws Exception {
|
public void testConstructors() throws Exception {
|
||||||
@@ -72,36 +108,108 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("functionalType.kt")
|
||||||
|
public void testFunctionalType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionalType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("initBlock.kt")
|
@TestMetadata("initBlock.kt")
|
||||||
public void testInitBlock() throws Exception {
|
public void testInitBlock() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("lambda.kt")
|
||||||
|
public void testLambda() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localClass.kt")
|
@TestMetadata("localClass.kt")
|
||||||
public void testLocalClass() throws Exception {
|
public void testLocalClass() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||||
|
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localDeclarationsInAccessor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localFun.kt")
|
@TestMetadata("localFun.kt")
|
||||||
public void testLocalFun() throws Exception {
|
public void testLocalFun() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localFunctionWithImplicitType.kt")
|
||||||
|
public void testLocalFunctionWithImplicitType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFunctionWithImplicitType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localProperty.kt")
|
@TestMetadata("localProperty.kt")
|
||||||
public void testLocalProperty() throws Exception {
|
public void testLocalProperty() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localUnitFunction.kt")
|
||||||
|
public void testLocalUnitFunction() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localUnitFunction.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("memberFunctions.kt")
|
||||||
|
public void testMemberFunctions() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("memberProperties.kt")
|
||||||
|
public void testMemberProperties() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberProperties.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("memberTypeAlias.kt")
|
@TestMetadata("memberTypeAlias.kt")
|
||||||
public void testMemberTypeAlias() throws Exception {
|
public void testMemberTypeAlias() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelClasses.kt")
|
||||||
|
public void testMultipleTopLevelClasses() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelClasses.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelFunctionsWithImplicitTypes.kt")
|
||||||
|
public void testMultipleTopLevelFunctionsWithImplicitTypes() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelFunctionsWithImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelUnitFunctions.kt")
|
||||||
|
public void testMultipleTopLevelUnitFunctions() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelUnitFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClases.kt")
|
||||||
|
public void testNestedClases() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClases.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClasesWithFun.kt")
|
||||||
|
public void testNestedClasesWithFun() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasesWithFun.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("nestedClasses.kt")
|
@TestMetadata("nestedClasses.kt")
|
||||||
public void testNestedClasses() throws Exception {
|
public void testNestedClasses() throws Exception {
|
||||||
@@ -114,12 +222,48 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("propertyWithGetterAndSetter.kt")
|
||||||
|
public void testPropertyWithGetterAndSetter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||||
|
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/qualifiedCallInsideSuperCall.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("secondaryConstructor.kt")
|
||||||
|
public void testSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/secondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superCallAnnotation.kt")
|
||||||
|
public void testSuperCallAnnotation() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superCallAnnotation2.kt")
|
||||||
|
public void testSuperCallAnnotation2() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("superClassCall.kt")
|
@TestMetadata("superClassCall.kt")
|
||||||
public void testSuperClassCall() throws Exception {
|
public void testSuperClassCall() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superType.kt")
|
||||||
|
public void testSuperType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||||
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||||
|
|||||||
+144
@@ -24,6 +24,30 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndExplicitConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallAndImplicitConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallAndImplicitConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndImplicitConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallFromSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallFromSingleSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("class.kt")
|
@TestMetadata("class.kt")
|
||||||
public void testClass() throws Exception {
|
public void testClass() throws Exception {
|
||||||
@@ -36,6 +60,18 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameter.kt")
|
||||||
|
public void testConstructorParameter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||||
|
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameterWithAnnotations.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructors.kt")
|
@TestMetadata("constructors.kt")
|
||||||
public void testConstructors() throws Exception {
|
public void testConstructors() throws Exception {
|
||||||
@@ -72,36 +108,108 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("functionalType.kt")
|
||||||
|
public void testFunctionalType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionalType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("initBlock.kt")
|
@TestMetadata("initBlock.kt")
|
||||||
public void testInitBlock() throws Exception {
|
public void testInitBlock() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("lambda.kt")
|
||||||
|
public void testLambda() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localClass.kt")
|
@TestMetadata("localClass.kt")
|
||||||
public void testLocalClass() throws Exception {
|
public void testLocalClass() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||||
|
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localDeclarationsInAccessor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localFun.kt")
|
@TestMetadata("localFun.kt")
|
||||||
public void testLocalFun() throws Exception {
|
public void testLocalFun() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localFunctionWithImplicitType.kt")
|
||||||
|
public void testLocalFunctionWithImplicitType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFunctionWithImplicitType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localProperty.kt")
|
@TestMetadata("localProperty.kt")
|
||||||
public void testLocalProperty() throws Exception {
|
public void testLocalProperty() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localUnitFunction.kt")
|
||||||
|
public void testLocalUnitFunction() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localUnitFunction.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("memberFunctions.kt")
|
||||||
|
public void testMemberFunctions() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("memberProperties.kt")
|
||||||
|
public void testMemberProperties() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberProperties.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("memberTypeAlias.kt")
|
@TestMetadata("memberTypeAlias.kt")
|
||||||
public void testMemberTypeAlias() throws Exception {
|
public void testMemberTypeAlias() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelClasses.kt")
|
||||||
|
public void testMultipleTopLevelClasses() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelClasses.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelFunctionsWithImplicitTypes.kt")
|
||||||
|
public void testMultipleTopLevelFunctionsWithImplicitTypes() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelFunctionsWithImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelUnitFunctions.kt")
|
||||||
|
public void testMultipleTopLevelUnitFunctions() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelUnitFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClases.kt")
|
||||||
|
public void testNestedClases() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClases.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClasesWithFun.kt")
|
||||||
|
public void testNestedClasesWithFun() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasesWithFun.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("nestedClasses.kt")
|
@TestMetadata("nestedClasses.kt")
|
||||||
public void testNestedClasses() throws Exception {
|
public void testNestedClasses() throws Exception {
|
||||||
@@ -114,12 +222,48 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("propertyWithGetterAndSetter.kt")
|
||||||
|
public void testPropertyWithGetterAndSetter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||||
|
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/qualifiedCallInsideSuperCall.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("secondaryConstructor.kt")
|
||||||
|
public void testSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/secondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superCallAnnotation.kt")
|
||||||
|
public void testSuperCallAnnotation() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superCallAnnotation2.kt")
|
||||||
|
public void testSuperCallAnnotation2() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("superClassCall.kt")
|
@TestMetadata("superClassCall.kt")
|
||||||
public void testSuperClassCall() throws Exception {
|
public void testSuperClassCall() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superType.kt")
|
||||||
|
public void testSuperType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||||
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||||
|
|||||||
+144
@@ -24,6 +24,30 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testdata/fileStructure"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallAndExplicitConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallAndExplicitConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndExplicitConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallAndImplicitConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallAndImplicitConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallAndImplicitConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallFromSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSecondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt")
|
||||||
|
public void testCallInsideLambdaInsideSuperCallFromSingleSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/callInsideLambdaInsideSuperCallFromSingleSecondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("class.kt")
|
@TestMetadata("class.kt")
|
||||||
public void testClass() throws Exception {
|
public void testClass() throws Exception {
|
||||||
@@ -36,6 +60,18 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/classMemberProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameter.kt")
|
||||||
|
public void testConstructorParameter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("constructorParameterWithAnnotations.kt")
|
||||||
|
public void testConstructorParameterWithAnnotations() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/constructorParameterWithAnnotations.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("constructors.kt")
|
@TestMetadata("constructors.kt")
|
||||||
public void testConstructors() throws Exception {
|
public void testConstructors() throws Exception {
|
||||||
@@ -72,36 +108,108 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/enumClassWithBody.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("functionalType.kt")
|
||||||
|
public void testFunctionalType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/functionalType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("initBlock.kt")
|
@TestMetadata("initBlock.kt")
|
||||||
public void testInitBlock() throws Exception {
|
public void testInitBlock() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/initBlock.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("lambda.kt")
|
||||||
|
public void testLambda() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/lambda.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localClass.kt")
|
@TestMetadata("localClass.kt")
|
||||||
public void testLocalClass() throws Exception {
|
public void testLocalClass() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localDeclarationsInAccessor.kt")
|
||||||
|
public void testLocalDeclarationsInAccessor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localDeclarationsInAccessor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localFun.kt")
|
@TestMetadata("localFun.kt")
|
||||||
public void testLocalFun() throws Exception {
|
public void testLocalFun() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFun.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localFunctionWithImplicitType.kt")
|
||||||
|
public void testLocalFunctionWithImplicitType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localFunctionWithImplicitType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("localProperty.kt")
|
@TestMetadata("localProperty.kt")
|
||||||
public void testLocalProperty() throws Exception {
|
public void testLocalProperty() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localProperty.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("localUnitFunction.kt")
|
||||||
|
public void testLocalUnitFunction() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/localUnitFunction.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("memberFunctions.kt")
|
||||||
|
public void testMemberFunctions() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("memberProperties.kt")
|
||||||
|
public void testMemberProperties() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberProperties.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("memberTypeAlias.kt")
|
@TestMetadata("memberTypeAlias.kt")
|
||||||
public void testMemberTypeAlias() throws Exception {
|
public void testMemberTypeAlias() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/memberTypeAlias.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelClasses.kt")
|
||||||
|
public void testMultipleTopLevelClasses() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelClasses.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelFunctionsWithImplicitTypes.kt")
|
||||||
|
public void testMultipleTopLevelFunctionsWithImplicitTypes() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelFunctionsWithImplicitTypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("multipleTopLevelUnitFunctions.kt")
|
||||||
|
public void testMultipleTopLevelUnitFunctions() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/multipleTopLevelUnitFunctions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClases.kt")
|
||||||
|
public void testNestedClases() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClases.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClasesWithFun.kt")
|
||||||
|
public void testNestedClasesWithFun() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/nestedClasesWithFun.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("nestedClasses.kt")
|
@TestMetadata("nestedClasses.kt")
|
||||||
public void testNestedClasses() throws Exception {
|
public void testNestedClasses() throws Exception {
|
||||||
@@ -114,12 +222,48 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur
|
|||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyAccessors.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("propertyWithGetterAndSetter.kt")
|
||||||
|
public void testPropertyWithGetterAndSetter() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/propertyWithGetterAndSetter.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("qualifiedCallInsideSuperCall.kt")
|
||||||
|
public void testQualifiedCallInsideSuperCall() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/qualifiedCallInsideSuperCall.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("secondaryConstructor.kt")
|
||||||
|
public void testSecondaryConstructor() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/secondaryConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superCallAnnotation.kt")
|
||||||
|
public void testSuperCallAnnotation() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superCallAnnotation2.kt")
|
||||||
|
public void testSuperCallAnnotation2() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superCallAnnotation2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("superClassCall.kt")
|
@TestMetadata("superClassCall.kt")
|
||||||
public void testSuperClassCall() throws Exception {
|
public void testSuperClassCall() throws Exception {
|
||||||
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superClassCall.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("superType.kt")
|
||||||
|
public void testSuperType() throws Exception {
|
||||||
|
runTest("analysis/low-level-api-fir/testdata/fileStructure/superType.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
@TestMetadata("topLevelExpressionBodyFunWithType.kt")
|
||||||
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
public void testTopLevelExpressionBodyFunWithType() throws Exception {
|
||||||
|
|||||||
+2
-2
@@ -6,8 +6,8 @@
|
|||||||
package org.jetbrains.kotlin.generators.tests.analysis.api
|
package org.jetbrains.kotlin.generators.tests.analysis.api
|
||||||
|
|
||||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.*
|
import org.jetbrains.kotlin.analysis.low.level.api.fir.*
|
||||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.compiler.based.AbstractLLFirDiagnosticCompilerTestDataSpecTest
|
|
||||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.AbstractDiagnosticTraversalCounterTest
|
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.AbstractDiagnosticTraversalCounterTest
|
||||||
|
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.compiler.based.AbstractLLFirDiagnosticCompilerTestDataSpecTest
|
||||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.AbstractFirOutOfContentRootContextCollectionTest
|
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.AbstractFirOutOfContentRootContextCollectionTest
|
||||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.AbstractFirSourceContextCollectionTest
|
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.AbstractFirSourceContextCollectionTest
|
||||||
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.AbstractScriptContextCollectionTest
|
import org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.AbstractScriptContextCollectionTest
|
||||||
@@ -94,7 +94,7 @@ internal fun TestGroupSuite.generateFirLowLevelApiTests() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
testClass<AbstractDiagnosticTraversalCounterTest> {
|
testClass<AbstractDiagnosticTraversalCounterTest> {
|
||||||
model("diagnosticTraversalCounter")
|
model("fileStructure", pattern = TestGeneratorUtil.KT)
|
||||||
}
|
}
|
||||||
|
|
||||||
testClass<AbstractSourceInnerDeclarationsResolvePhaseTest> {
|
testClass<AbstractSourceInnerDeclarationsResolvePhaseTest> {
|
||||||
|
|||||||
Reference in New Issue
Block a user