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:
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public open class NotNullField() {
|
||||
public var hi: String = "";
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
public open class NotNullField {
|
||||
/*primary*/ public constructor NotNullField()
|
||||
public final var hi: kotlin.String
|
||||
public final fun <get-hi>(): kotlin.String
|
||||
public final fun <set-hi>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class NotNullIntArray() {
|
||||
public open fun hi(): IntArray = throw Exception()
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class NotNullIntArray {
|
||||
/*primary*/ public constructor NotNullIntArray()
|
||||
public open fun hi(): kotlin.IntArray
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class NotNullMethod() {
|
||||
public open fun hi(): String = ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class NotNullMethod {
|
||||
/*primary*/ public constructor NotNullMethod()
|
||||
public open fun hi(): kotlin.String
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class NotNullObjectArray() {
|
||||
public open fun hi(): Array<Any> = throw Exception()
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class NotNullObjectArray {
|
||||
/*primary*/ public constructor NotNullObjectArray()
|
||||
public open fun hi(): kotlin.Array<kotlin.Any>
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class NotNullParameter() {
|
||||
public open fun hi(p0: String): Unit { }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class NotNullParameter {
|
||||
/*primary*/ public constructor NotNullParameter()
|
||||
public open fun hi(/*0*/ p0: kotlin.String): kotlin.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user