Add WITH_RUNTIME and WITH_REFLECT directives to box tests

Currently all tests in boxWithStdlib/ run with both runtime and reflection
included; eventually they'll be merged into box/ using these directives
This commit is contained in:
Alexander Udalov
2016-03-03 15:40:33 +03:00
parent f47cc5ce2f
commit daab3db062
69 changed files with 162 additions and 95 deletions
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1.kt
import test.A
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: box.kt
package test
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1.kt
import a.*
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1.kt
import a.OK
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: box.kt
package test
+1
View File
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1.kt
package thispackage
+1
View File
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1.kt
package test2
+1
View File
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1.kt
package test2
+1
View File
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1.kt
package test
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: box.kt
import a.*
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1/wrapped.kt
fun getWrapped1(): Runnable {
@@ -1,3 +1,4 @@
// WITH_RUNTIME
// FILE: 1/part.kt
@file:JvmName("Foo")