Move multi-module IC tests to separate dir
At the moment they are used only with JPS
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1, module2, module3
|
||||
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:
|
||||
module1/src/D.kt
|
||||
module2/src/B.kt
|
||||
module3/src/C.kt
|
||||
module4/src/E.kt
|
||||
module5/src/F.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module1/foo/D.class
|
||||
out/production/module2/foo/B.class
|
||||
out/production/module3/foo/C.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/D.kt
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/B.kt
|
||||
End of files
|
||||
Compiling files:
|
||||
module3/src/C.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
This type is final, so it cannot be inherited from
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1, module2, module3
|
||||
Cleaning output files:
|
||||
out/production/module1/foo/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/A.kt
|
||||
module1/src/D.kt
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/B.kt
|
||||
End of files
|
||||
Compiling files:
|
||||
module3/src/C.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module4/src/E.kt
|
||||
module5/src/F.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module4
|
||||
Cleaning output files:
|
||||
out/production/module4/foo/E.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module4/src/E.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Building module5
|
||||
Cleaning output files:
|
||||
out/production/module5/foo/F.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module5/src/F.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1,5 @@
|
||||
module1->module3
|
||||
module2->module1[exported]
|
||||
module3->module2[exported]
|
||||
module4->module2
|
||||
module5->module3
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class A
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class A
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class A
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class D : C()
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class B : A()
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class C : B()
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class E : B()
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class F : C()
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
================ 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/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
|
||||
Too many arguments for public constructor A() defined in foo.A
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/createADefault.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
module1->
|
||||
module2->module1
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class A(x: Int = 10)
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class A()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun createADefault() {
|
||||
A()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun createANonDefault() {
|
||||
A(20)
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
================ 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/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
|
||||
------------------------------------------
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
module1->
|
||||
module2->module1
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
class A(x: Int = 10)
|
||||
Vendored
+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)
|
||||
}
|
||||
@@ -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
|
||||
------------------------------------------
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
module1->
|
||||
module2->module1[exported]
|
||||
module3->module2
|
||||
module4->module3
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
private open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
open class A {
|
||||
open fun f() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AChild : A()
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
open class AGrandChild : AChild()
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AGrandChild
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AGrandChild
|
||||
@@ -0,0 +1,62 @@
|
||||
================ 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
|
||||
module2/src/importA.kt
|
||||
module3/src/importAChild.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
|
||||
module2/src/importA.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Cannot access 'A': it is private in file
|
||||
'public' subclass exposes its 'private' supertype A
|
||||
Cannot access 'A': it is private in file
|
||||
|
||||
================ 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
|
||||
module2/src/importA.kt
|
||||
module3/src/importAChild.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/AChild.kt
|
||||
module2/src/importA.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Building module3
|
||||
Compiling files:
|
||||
module3/src/importAChild.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1,3 @@
|
||||
module1->
|
||||
module2->module1
|
||||
module3->module2
|
||||
@@ -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 bar
|
||||
|
||||
import foo.A
|
||||
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
import foo.AChild
|
||||
Reference in New Issue
Block a user