Move multi-module IC tests to separate dir

At the moment they are used only with JPS
This commit is contained in:
Alexey Tsvetkov
2017-07-13 07:40:44 +03:00
parent 166883d847
commit 23bc907d3f
42 changed files with 30 additions and 30 deletions
@@ -0,0 +1,71 @@
================ Step #1 =================
Building module1
Cleaning output files:
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/AChild.kt
module3/src/AGrandChild.kt
module3/src/importAGrandChild.kt
module4/src/importAGrandChild.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Exit code: NOTHING_DONE
------------------------------------------
Building module2
Cleaning output files:
out/production/module2/foo/AChild.class
End of files
Compiling files:
module2/src/AChild.kt
End of files
Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Cannot access 'A': it is private in file
'public' subclass exposes its 'private' supertype A
================ Step #2 =================
Building module1
Cleaning output files:
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/AChild.kt
module3/src/AGrandChild.kt
module3/src/importAGrandChild.kt
module4/src/importAGrandChild.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Exit code: NOTHING_DONE
------------------------------------------
Building module2
Compiling files:
module2/src/AChild.kt
End of files
Exit code: OK
------------------------------------------
Building module3
Cleaning output files:
out/production/module3/foo/AGrandChild.class
End of files
Compiling files:
module3/src/AGrandChild.kt
module3/src/importAGrandChild.kt
End of files
Exit code: OK
------------------------------------------
Building module4
Compiling files:
module4/src/importAGrandChild.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,4 @@
module1->
module2->module1[exported]
module3->module2
module4->module3
@@ -0,0 +1,5 @@
package foo
open class A {
open fun f() {}
}
@@ -0,0 +1,5 @@
package foo
private open class A {
open fun f() {}
}
@@ -0,0 +1,5 @@
package foo
open class A {
open fun f() {}
}
@@ -0,0 +1,3 @@
package foo
open class AChild : A()
@@ -0,0 +1,3 @@
package foo
open class AGrandChild : AChild()
@@ -0,0 +1,3 @@
package bar
import foo.AGrandChild
@@ -0,0 +1,3 @@
package bar
import foo.AGrandChild