Test data split between compiledJava tests and compiledKotlin tests

Basically, this commit splits test data from the from java-txt-kt to two pairs java-txt and kt-txt.
This commit leads to some duplication in test data.
This is temporary: in the platform types branch the test data for LoadJava tests will be changed dramatically, so duplication will go away
This commit is contained in:
Andrey Breslav
2014-08-15 17:07:35 +04:00
parent 1533c0e9f3
commit 1933e30905
711 changed files with 6824 additions and 4231 deletions
@@ -0,0 +1,6 @@
package test
public open class DifferentGetterAndSetter() {
public open fun setSomething(p0: String?): Unit { }
public open fun getSomething() : Int = 17
}
@@ -0,0 +1,7 @@
package test
public open class DifferentGetterAndSetter {
/*primary*/ public constructor DifferentGetterAndSetter()
public open fun getSomething(): kotlin.Int
public open fun setSomething(/*0*/ p0: kotlin.String?): kotlin.Unit
}
@@ -0,0 +1,8 @@
package test
public trait JavaBeanAbstractGetter {
//final val red: Int
public abstract fun getRed(): Int
//final val blue: Int
public abstract fun getBlue(): Int
}
@@ -0,0 +1,6 @@
package test
public trait JavaBeanAbstractGetter {
public abstract fun getBlue(): kotlin.Int
public abstract fun getRed(): kotlin.Int
}
@@ -0,0 +1,6 @@
package test
public open class JavaBeanVal() {
public open fun getColor(): String? = ""
//val color: String? = ""
}
@@ -0,0 +1,6 @@
package test
public open class JavaBeanVal {
/*primary*/ public constructor JavaBeanVal()
public open fun getColor(): kotlin.String?
}
@@ -0,0 +1,7 @@
package test
public open class JavaBeanVar() {
public open fun getColor(): String? = ""
public open fun setColor(p0: String?): Unit { }
//var color: String? = ""
}
@@ -0,0 +1,7 @@
package test
public open class JavaBeanVar {
/*primary*/ public constructor JavaBeanVar()
public open fun getColor(): kotlin.String?
public open fun setColor(/*0*/ p0: kotlin.String?): kotlin.Unit
}
@@ -0,0 +1,9 @@
package test
import java.util.ArrayList
public open class JavaBeanVarOfGenericType<P>() {
public open fun getCharacters(): ArrayList<P>? = null
public open fun setCharacters(p0: ArrayList<P>?) { }
//var characters: ArrayList<P>? = null
}
@@ -0,0 +1,7 @@
package test
public open class JavaBeanVarOfGenericType</*0*/ P> {
/*primary*/ public constructor JavaBeanVarOfGenericType</*0*/ P>()
public open fun getCharacters(): java.util.ArrayList<P>?
public open fun setCharacters(/*0*/ p0: java.util.ArrayList<P>?): kotlin.Unit
}
@@ -0,0 +1,6 @@
package test
public open class TwoSetters() {
public open fun setSize(p0: String?) { }
public open fun setSize(p0: Int) { }
}
@@ -0,0 +1,7 @@
package test
public open class TwoSetters {
/*primary*/ public constructor TwoSetters()
public open fun setSize(/*0*/ p0: kotlin.Int): kotlin.Unit
public open fun setSize(/*0*/ p0: kotlin.String?): kotlin.Unit
}