Generate "$kotlinClass"/"$kotlinPackage" reflection fields to every class
Some seemingly irrelevant tests were changed because now there's <clinit> in
almost every class and class initialization begins with executing it
Original commit: 59777e7df6
This commit is contained in:
@@ -220,8 +220,8 @@ public class KotlinJpsBuildTest extends AbstractKotlinJpsBuildTestCase {
|
||||
// Check that outputs are located properly
|
||||
File facadeWithA = findFileInOutputDir(findModule("module1"), "test/TestPackage.class");
|
||||
File facadeWithB = findFileInOutputDir(findModule("module2"), "test/TestPackage.class");
|
||||
assertSameElements(getMethodsOfClass(facadeWithA), "a", "getA");
|
||||
assertSameElements(getMethodsOfClass(facadeWithB), "b", "getB", "setB");
|
||||
assertSameElements(getMethodsOfClass(facadeWithA), "<clinit>", "a", "getA");
|
||||
assertSameElements(getMethodsOfClass(facadeWithB), "<clinit>", "b", "getB", "setB");
|
||||
|
||||
checkPackageDeletedFromOutputWhen(Operation.CHANGE, "module1", "module1/src/a.kt", "test.TestPackage");
|
||||
checkPackageDeletedFromOutputWhen(Operation.CHANGE, "module2", "module2/src/b.kt", "test.TestPackage");
|
||||
|
||||
@@ -4,4 +4,4 @@ fun a() {
|
||||
|
||||
}
|
||||
|
||||
val a = ""
|
||||
val a = ""
|
||||
|
||||
@@ -4,4 +4,4 @@ fun b() {
|
||||
|
||||
}
|
||||
|
||||
var b = ""
|
||||
var b = b()
|
||||
|
||||
Reference in New Issue
Block a user