Add multi-module JS IC tests with JPS
This commit is contained in:
Vendored
+43
@@ -0,0 +1,43 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/META-INF/module1.kotlin_module
|
||||
out/production/module1/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/createADefault.kt
|
||||
module2/src/createANonDefault.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/META-INF/module2.kotlin_module
|
||||
out/production/module2/foo/CreateADefaultKt.class
|
||||
out/production/module2/foo/CreateANonDefaultKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/createADefault.kt
|
||||
module2/src/createANonDefault.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
No value passed for parameter 'x'
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/createANonDefault.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved/dependencies.txt
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
module1->
|
||||
module2->module1
|
||||
jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved/js-jps-build.log
Vendored
+44
@@ -0,0 +1,44 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/module1.js
|
||||
out/production/module1/module1.meta.js
|
||||
out/production/module1/module1/foo/foo.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/createADefault.kt
|
||||
module2/src/createANonDefault.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/foo/foo.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/createADefault.kt
|
||||
module2/src/createANonDefault.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
No value passed for parameter 'x'
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/createANonDefault.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class A(x: Int = 10)
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class A(x: Int)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun createADefault() {
|
||||
A()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun createANonDefault() {
|
||||
A(20)
|
||||
}
|
||||
Reference in New Issue
Block a user