Minor, package "test" in compileJavaAgainstKotlin testData

This commit is contained in:
Alexander Udalov
2014-03-18 19:23:27 +04:00
parent 7b7619d1f3
commit b6b1f2a94a
105 changed files with 243 additions and 43 deletions
@@ -1,3 +1,5 @@
package test;
@AString(value = Test.vstring)
@AChar(value = Test.vchar)
@AInt(value = Test.vint)
@@ -1,3 +1,5 @@
package test
annotation class AString(val value: String)
annotation class AChar(val value: Char)
annotation class AInt(val value: Int)
@@ -1,3 +1,5 @@
package test;
@AString(value = Test.vstring)
@AChar(value = Test.vchar)
@AInt(value = Test.vint)
@@ -1,3 +1,5 @@
package test
annotation class AString(val value: String)
annotation class AChar(val value: Char)
annotation class AInt(val value: Int)
@@ -1,3 +1,5 @@
package test;
public class kt3698 {
@interface Foo {
@@ -8,4 +10,4 @@ public class kt3698 {
public static void main(String[] args) {
System.out.println(KotlinClass.FOO);
}
}
}
@@ -1,3 +1,5 @@
package test
class KotlinClass {
class object {
val FOO: Int = 10
@@ -1,3 +1,5 @@
package test;
class staticClassProperty {
public static void main(String[] args) {
@@ -5,4 +7,4 @@ class staticClassProperty {
int j = Test.varProp;
Test.varProp = 100;
}
}
}
@@ -1,3 +1,5 @@
package test
class Test {
class object {
@@ -1,6 +1,8 @@
package test;
class staticTraitProperty {
public static void main(String[] args) {
int i = Test.valProp;
}
}
}
@@ -1,3 +1,5 @@
package test
trait Test {
class object {