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

View File

@@ -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) {}
}
}