[LL FIR] rename testdata to testData to avoid copyright generation

We exclude testData pattern from copyright scope
This commit is contained in:
Dmitrii Gridin
2023-09-18 19:33:14 +02:00
committed by Space Team
parent aef5290210
commit 33e6a85a2d
1953 changed files with 2000 additions and 2000 deletions
@@ -0,0 +1,7 @@
class Foo(val x: Int) {
fun foo() {
<expr>foo()</expr>
}
}
Foo(1)
@@ -0,0 +1,3 @@
fun test() {
<caret>Unit
}
@@ -0,0 +1,21 @@
BEFORE MODIFICATION:
CODE FRAGMENT: {
local final [ResolvedTo(RAW_FIR)] class Foo : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=Foo] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=<local>/x] x: R|kotlin/Int|): R|<local>/Foo| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val x: R|kotlin/Int| = R|<local>/x|
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=Foo] get(): R|kotlin/Int|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
this@R|<local>/Foo|.R|<local>/foo|()
}
}
R|<local>/Foo.Foo|(Int(1))
}
AFTER MODIFICATION:
CODE FRAGMENT: { LAZY_BLOCK }
@@ -0,0 +1,7 @@
fun foo(a: Int, b: String) {}
fun bar() {
<expr>foo(1, "foo")</expr>
}
bar()
@@ -0,0 +1,3 @@
fun test() {
<caret>Unit
}
@@ -0,0 +1,14 @@
BEFORE MODIFICATION:
CODE FRAGMENT: {
local final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: R|kotlin/Int|, [ResolvedTo(RAW_FIR)] b: R|kotlin/String|): R|kotlin/Unit| {
}
local final [ResolvedTo(RAW_FIR)] fun bar(): R|kotlin/Unit| {
R|/foo|(Int(1), String(foo))
}
R|/bar|()
}
AFTER MODIFICATION:
CODE FRAGMENT: { LAZY_BLOCK }
@@ -0,0 +1 @@
<expr>foo</expr>
@@ -0,0 +1,10 @@
package test
class Foo
fun test() {
val foo = Foo()
<caret>consume(foo)
}
fun consume(foo: Foo) {}
@@ -0,0 +1,7 @@
BEFORE MODIFICATION:
CODE FRAGMENT: {
R|<local>/foo|
}
AFTER MODIFICATION:
CODE FRAGMENT: { LAZY_BLOCK }