[K/N][tests] Added a bunch of tests on incremental compilation
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
package external
|
||||
|
||||
fun foo() = 42
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package external
|
||||
|
||||
fun foo2() = 128
|
||||
+3
@@ -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()
|
||||
Reference in New Issue
Block a user