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:
@@ -3,8 +3,11 @@ package test
|
||||
internal final annotation class A : kotlin.Annotation {
|
||||
/*primary*/ public constructor A(/*0*/ a: kotlin.Int = ..., /*1*/ b: kotlin.String = ..., /*2*/ c: kotlin.String)
|
||||
internal final val a: kotlin.Int
|
||||
internal final fun <get-a>(): kotlin.Int
|
||||
internal final val b: kotlin.String
|
||||
internal final fun <get-b>(): kotlin.String
|
||||
internal final val c: kotlin.String
|
||||
internal final fun <get-c>(): kotlin.String
|
||||
}
|
||||
|
||||
test.A(a = IntegerValueType(12): IntegerValueType(12), c = "Hello": kotlin.String) internal object SomeObject {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package test
|
||||
|
||||
internal val some: test.SomeObject
|
||||
internal fun <get-some>(): test.SomeObject
|
||||
|
||||
[ERROR : BadAnnotation]() internal object SomeObject {
|
||||
/*primary*/ private constructor SomeObject()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package test
|
||||
|
||||
internal val some: test.SomeObject
|
||||
internal fun <get-some>(): test.SomeObject
|
||||
|
||||
internal final annotation class BadAnnotation : kotlin.Annotation {
|
||||
/*primary*/ public constructor BadAnnotation(/*0*/ s: kotlin.String)
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
package test
|
||||
|
||||
internal val fromImported: kotlin.Int = 1
|
||||
internal fun <get-fromImported>(): kotlin.Int
|
||||
internal val normal: kotlin.Int = 1
|
||||
internal fun <get-normal>(): kotlin.Int
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
package test
|
||||
|
||||
fun <T> foo(t : T) : T {}
|
||||
@@ -1,6 +1,7 @@
|
||||
package test
|
||||
|
||||
internal val inferTypeFromImportedFun: kotlin.Int
|
||||
internal fun <get-inferTypeFromImportedFun>(): kotlin.Int
|
||||
|
||||
internal final class B : testOther.A {
|
||||
/*primary*/ public constructor B()
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
package test
|
||||
|
||||
internal val a: [ERROR : Type for TestFun()]
|
||||
internal fun <get-a>(): [ERROR : Type for TestFun()]
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
package test
|
||||
|
||||
internal val checkTypeProp: test.PropType? = null
|
||||
internal fun <get-checkTypeProp>(): test.PropType?
|
||||
|
||||
internal final class PropType {
|
||||
/*primary*/ public constructor PropType()
|
||||
|
||||
@@ -7,5 +7,6 @@ internal final class Test {
|
||||
internal class object <class-object-for-Test> {
|
||||
/*primary*/ private constructor <class-object-for-Test>()
|
||||
internal final val a: kotlin.Int
|
||||
internal final fun <get-a>(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,5 @@ package test
|
||||
internal final class CompositeIterator</*0*/ T> {
|
||||
/*primary*/ public constructor CompositeIterator</*0*/ T>(/*0*/ vararg iterators: java.util.Iterator<T> /*kotlin.Array<java.util.Iterator<T>>*/)
|
||||
internal final val iteratorsIter: kotlin.Iterator<java.util.Iterator<T>>
|
||||
internal final fun <get-iteratorsIter>(): kotlin.Iterator<java.util.Iterator<T>>
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user