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;
class ClassObject {
void accessToClassObject() {
WithClassObject.object$.foo();
@@ -18,4 +20,4 @@ class ClassObject {
new WithClassObject.MyInner().foo();
new WithClassObject.MyInner().getValue();
}
}
}
@@ -1,3 +1,5 @@
package test
class WithClassObject {
class object {
fun foo() {}
@@ -1,3 +1,5 @@
package test;
class Simple {
void foo() {
new A();
@@ -1 +1,3 @@
package test
class A(val a: Int = 1)
@@ -1,3 +1,5 @@
package test;
class Simple {
void foo() {
new A();
@@ -1 +1,3 @@
package test
class A(val a: Int = 1, val b: String = "default")
@@ -1,3 +1,5 @@
package test;
class ExtendsAbstractListT {
{
Mine<String> mine = null;
@@ -1 +1,3 @@
package test
abstract class Mine<T>() : java.util.AbstractList<T>()
@@ -1,3 +1,5 @@
package test;
class PlainExtendsListString {
{
@@ -1 +1,3 @@
package test
abstract class Mine : java.util.List<String>
@@ -1,3 +1,5 @@
package test;
class ImplementsMapPP {
{
@@ -1 +1,3 @@
package test
abstract class Mine<P1, P2> : java.util.Map<P2, P1>
@@ -1,3 +1,5 @@
package test;
class Simple {
{
new Impossible<String>();
@@ -1 +1,3 @@
package test
class Impossible<P>()
@@ -3,4 +3,3 @@ package test
enum class MyEnum {
OK
}
@@ -4,4 +4,4 @@ public class kt4050 {
public static void main(String[] args) {
MyEnum.ENTRY.getOrd();
}
}
}
@@ -6,4 +6,4 @@ enum class MyEnum(deprecated("") val ord: Int) {
fun f(Deprecated p: Int) {
}
}
}