IC: add tests with moving files

Additionally added the ability to use directories in IC tests.

 #KT-8002 Obsolete
This commit is contained in:
Zalim Bashorov
2016-03-23 13:38:47 +03:00
parent d230afe726
commit 9a9b863c9d
30 changed files with 314 additions and 23 deletions
@@ -0,0 +1,5 @@
package baz
class Foo
fun bar() {}
@@ -0,0 +1,23 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/baz/AKt.class
out/production/module/baz/Foo.class
End of files
Compiling files:
src/bar/a.kt
End of files
Exit code: OK
------------------------------------------
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/baz/UseClassKt.class
out/production/module/baz/UseFunKt.class
End of files
Compiling files:
src/useClass.kt
src/useFun.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,5 @@
package baz
class Foo
fun bar() {}
@@ -0,0 +1,5 @@
package baz
fun useClass() {
Foo()
}
@@ -0,0 +1,5 @@
package baz
fun useFun() {
bar()
}