Added tests with removing files and changing packages.

Original commit: 111feb2574
This commit is contained in:
Evgeny Gerashchenko
2014-06-20 14:33:47 +04:00
parent 29920360c1
commit 4c8ff1616e
21 changed files with 110 additions and 0 deletions
@@ -0,0 +1,3 @@
package foo
fun a() = "a"
@@ -0,0 +1,3 @@
package foo
fun b() = "b"
@@ -0,0 +1,3 @@
package bar
fun b() = "b"
@@ -0,0 +1,17 @@
Cleaning output files:
out/production/module/bar/BarPackage-c-*.class
out/production/module/bar/BarPackage.class
out/production/module/foo/FooPackage-b-*.class
out/production/module/foo/FooPackage.class
End of files
Compiling files:
src/b.kt
src/c.kt
End of files
Cleaning output files:
out/production/module/foo/FooPackage-a-*.class
out/production/module/foo/FooPackage.class
End of files
Compiling files:
src/a.kt
End of files
@@ -0,0 +1,3 @@
package bar
fun c() = "c"
@@ -0,0 +1,3 @@
package foo
fun c() = "c"
@@ -0,0 +1,3 @@
package a
fun a1() = ":)"
@@ -0,0 +1,3 @@
package a
fun a2() = ":))"
@@ -0,0 +1,3 @@
package b
fun b1() = ":("
@@ -0,0 +1,3 @@
package b
fun b2() = ":(("
@@ -0,0 +1,17 @@
Cleaning output files:
out/production/module/b/BPackage-b2-*.class
out/production/module/b/BPackage.class
End of files
Compiling files:
src/a2.kt
End of files
Cleaning output files:
out/production/module/a/APackage-a1-*.class
out/production/module/a/APackage.class
out/production/module/b/BPackage-b1-*.class
out/production/module/b/BPackage.class
End of files
Compiling files:
src/a1.kt
src/b1.kt
End of files
@@ -0,0 +1,3 @@
package test
fun a() = "a"
@@ -0,0 +1,3 @@
package test
fun b() = "b"
@@ -0,0 +1,9 @@
Cleaning output files:
out/production/module/test/TestPackage-a-*.class
out/production/module/test/TestPackage.class
End of files
Cleaning output files:
out/production/module/test/TestPackage-b-*.class
End of files
Compiling files:
End of files
@@ -0,0 +1,3 @@
package foo
fun a() = "a"
@@ -0,0 +1,4 @@
package bar
fun a() = "a"
fun aa() = "aa"
@@ -0,0 +1,7 @@
Cleaning output files:
out/production/module/foo/FooPackage-a-*.class
out/production/module/foo/FooPackage.class
End of files
Compiling files:
src/a.kt
End of files