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,6 @@
|
||||
package test;
|
||||
|
||||
public class DifferentGetterAndSetter {
|
||||
public void setSomething(String color) { }
|
||||
public int getSomething() { return 17; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
public open class DifferentGetterAndSetter {
|
||||
public constructor DifferentGetterAndSetter()
|
||||
public open fun getSomething(): kotlin.Int
|
||||
public open fun setSomething(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test;
|
||||
|
||||
public interface JavaBeanAbstractGetter {
|
||||
public int getRed();
|
||||
public int getBlue();
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait JavaBeanAbstractGetter {
|
||||
public abstract fun getBlue(): kotlin.Int
|
||||
public abstract fun getRed(): kotlin.Int
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public class JavaBeanVal {
|
||||
public String getColor() { return ""; }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class JavaBeanVal {
|
||||
public constructor JavaBeanVal()
|
||||
public open fun getColor(): kotlin.String?
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package test;
|
||||
|
||||
public class JavaBeanVar {
|
||||
public String getColor() { return ""; }
|
||||
public void setColor(String string) { }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
public open class JavaBeanVar {
|
||||
public constructor JavaBeanVar()
|
||||
public open fun getColor(): kotlin.String?
|
||||
public open fun setColor(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class JavaBeanVarOfGenericType<P> {
|
||||
public ArrayList<P> getCharacters() { return null; }
|
||||
public void setCharacters(ArrayList<P> characters) { }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
public open class JavaBeanVarOfGenericType</*0*/ P> {
|
||||
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 class TwoSetters {
|
||||
public void setSize(String size) { }
|
||||
public void setSize(int size) { }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
public open class TwoSetters {
|
||||
public constructor TwoSetters()
|
||||
public open fun setSize(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
public open fun setSize(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user