[JS IC TEST] Add test case about renaming file in module
This commit is contained in:
+5
@@ -55,6 +55,11 @@ public class InvalidationTestGenerated extends AbstractInvalidationTest {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/privateInlineFunction1/");
|
||||
}
|
||||
|
||||
@TestMetadata("renameFile")
|
||||
public void testRenameFile() throws Exception {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/renameFile/");
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("js/js.translator/testData/incremental/invalidation/simple/");
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
fun foo() = 42
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib
|
||||
dirty: l1.kt
|
||||
STEP 1:
|
||||
dependencies: stdlib
|
||||
modifications:
|
||||
D : l1.kt
|
||||
U : l1.kt -> l1_new.kt
|
||||
dirty: l1_new.kt
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
fun box() = foo()
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib, lib1
|
||||
dirty: m.kt
|
||||
|
||||
STEP 1:
|
||||
dependencies: stdlib, lib1
|
||||
@@ -0,0 +1,7 @@
|
||||
MODULES: lib1, main
|
||||
|
||||
STEP 0:
|
||||
libs: lib1, main
|
||||
|
||||
STEP 1:
|
||||
libs: lib1, main
|
||||
Reference in New Issue
Block a user