mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-17 08:31:31 +00:00
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,22 @@
|
||||
package test;
|
||||
|
||||
import org.jetbrains.annotations.*;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface LoadIterableWithPropagation {
|
||||
public interface LoadIterable<T> {
|
||||
public @Mutable Iterable<T> getIterable();
|
||||
public void setIterable(@Mutable Iterable<T> Iterable);
|
||||
|
||||
public @ReadOnly Iterable<T> getReadOnlyIterable();
|
||||
public void setReadOnlyIterable(@ReadOnly Iterable<T> Iterable);
|
||||
}
|
||||
|
||||
public class LoadIterableImpl<T> implements LoadIterable<T> {
|
||||
public Iterable<T> getIterable() {return new ArrayList<T>();}
|
||||
public void setIterable(Iterable<T> Iterable) {}
|
||||
|
||||
public Iterable<T> getReadOnlyIterable() {return new ArrayList<T>();}
|
||||
public void setReadOnlyIterable(Iterable<T> Iterable) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user