Refactor CompileKotlinAgainstKotlinTest

CKAKTest is now abstract, the actual testcases are generated via GenerateTests
into CompileKotlinAgainstKotlinTestGenerated.

Also invokeMain() now invokes namespace.main instead of bbb.namespace.main.
This commit is contained in:
Alexander Udalov
2013-01-09 15:21:24 +04:00
parent 0b53bd25bd
commit a2e453b759
7 changed files with 74 additions and 58 deletions
@@ -1,5 +1,3 @@
package bbb
fun main(args: Array<String>) {
A()
aaa.A()
}
@@ -1,9 +1,6 @@
package bbb
fun main(args: Array<String>) {
val h = aaa.hello()
if (h != 17) {
throw Exception()
}
System.out?.println("It is 17!")
}