[K/N][tests] Added a bunch of tests on incremental compilation

This commit is contained in:
Igor Chevdar
2023-01-04 22:46:26 +02:00
committed by Space Team
parent e4f30589a4
commit 9fcb4ece64
58 changed files with 956 additions and 9 deletions
@@ -0,0 +1,3 @@
package external
fun foo() = 42
@@ -0,0 +1,3 @@
package external
fun foo2() = 128
@@ -0,0 +1,3 @@
package external
fun foo2() = 117
@@ -0,0 +1,6 @@
import kotlin.test.*
@Test
fun doTest() {
assertEquals(42, bar())
}
@@ -0,0 +1,6 @@
import kotlin.test.*
@Test
fun doTest2() {
assertEquals(128, bar2())
}
@@ -0,0 +1,6 @@
import kotlin.test.*
@Test
fun doTest2() {
assertEquals(117, bar2())
}
@@ -0,0 +1 @@
fun bar() = external.foo()
@@ -0,0 +1 @@
fun bar2() = external.foo2()