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:
+24
@@ -0,0 +1,24 @@
|
||||
package test
|
||||
|
||||
import java.util.ArrayList
|
||||
import org.jetbrains.annotations.*
|
||||
|
||||
public trait LoadIterableWithPropagation {
|
||||
public trait LoadIterable<T> {
|
||||
Mutable
|
||||
public fun getIterable(): MutableIterable<T>?
|
||||
public fun setIterable([Mutable] p0: MutableIterable<T>?)
|
||||
|
||||
ReadOnly
|
||||
public fun getReadOnlyIterable(): Iterable<T>?
|
||||
public fun setReadOnlyIterable([ReadOnly] p0: Iterable<T>?)
|
||||
}
|
||||
|
||||
public open class LoadIterableImpl<T> : LoadIterable<T> {
|
||||
public override fun getIterable(): MutableIterable<T>? = ArrayList<T>()
|
||||
public override fun setIterable(p0: MutableIterable<T>?): Unit {}
|
||||
|
||||
public override fun getReadOnlyIterable(): Iterable<T>? = ArrayList<T>()
|
||||
public override fun setReadOnlyIterable(p0: Iterable<T>?): Unit {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user