Check compileJavaAgainstKotlin tests with .txt files

This commit is contained in:
Alexander Udalov
2015-05-29 19:16:29 +03:00
parent cab8f583a8
commit 7ba0dda29c
68 changed files with 1272 additions and 3 deletions
@@ -0,0 +1,55 @@
package test
internal final annotation class AByte : kotlin.Annotation {
public constructor AByte(/*0*/ kotlin.Byte)
internal final val value: kotlin.Byte
}
internal final annotation class AChar : kotlin.Annotation {
public constructor AChar(/*0*/ kotlin.Char)
internal final val value: kotlin.Char
}
internal final annotation class ADouble : kotlin.Annotation {
public constructor ADouble(/*0*/ kotlin.Double)
internal final val value: kotlin.Double
}
internal final annotation class AFloat : kotlin.Annotation {
public constructor AFloat(/*0*/ kotlin.Float)
internal final val value: kotlin.Float
}
internal final annotation class AInt : kotlin.Annotation {
public constructor AInt(/*0*/ kotlin.Int)
internal final val value: kotlin.Int
}
internal final annotation class ALong : kotlin.Annotation {
public constructor ALong(/*0*/ kotlin.Long)
internal final val value: kotlin.Long
}
internal final annotation class AString : kotlin.Annotation {
public constructor AString(/*0*/ kotlin.String)
internal final val value: kotlin.String
}
test.AString(value = "Test": kotlin.String) test.AChar(value = \u0063 ('c'): kotlin.Char) test.AInt(value = 10: kotlin.Int) test.AByte(value = 11: kotlin.Int) test.ALong(value = 12.toLong(): kotlin.Long) test.ADouble(value = 1.2.toDouble(): kotlin.Double) test.AFloat(value = 1.3.toFloat(): kotlin.Float) public open class AnnotationClass {
public constructor AnnotationClass()
}
internal final class Test {
public constructor Test()
internal companion object Companion {
private constructor Companion()
internal final val vbyte: kotlin.Byte
internal final val vchar: kotlin.Char
internal final val vdouble: kotlin.Double
internal final val vfloat: kotlin.Float
internal final val vint: kotlin.Int
internal final val vlong: kotlin.Long
internal final val vstring: kotlin.String
}
}
@@ -0,0 +1,54 @@
package test
internal final annotation class AByte : kotlin.Annotation {
public constructor AByte(/*0*/ kotlin.Byte)
internal final val value: kotlin.Byte
}
internal final annotation class AChar : kotlin.Annotation {
public constructor AChar(/*0*/ kotlin.Char)
internal final val value: kotlin.Char
}
internal final annotation class ADouble : kotlin.Annotation {
public constructor ADouble(/*0*/ kotlin.Double)
internal final val value: kotlin.Double
}
internal final annotation class AFloat : kotlin.Annotation {
public constructor AFloat(/*0*/ kotlin.Float)
internal final val value: kotlin.Float
}
internal final annotation class AInt : kotlin.Annotation {
public constructor AInt(/*0*/ kotlin.Int)
internal final val value: kotlin.Int
}
internal final annotation class ALong : kotlin.Annotation {
public constructor ALong(/*0*/ kotlin.Long)
internal final val value: kotlin.Long
}
internal final annotation class AString : kotlin.Annotation {
public constructor AString(/*0*/ kotlin.String)
internal final val value: kotlin.String
}
test.AString(value = "Test": kotlin.String) test.AChar(value = \u0063 ('c'): kotlin.Char) test.AInt(value = 10: kotlin.Int) test.AByte(value = 11: kotlin.Int) test.ALong(value = 12.toLong(): kotlin.Long) test.ADouble(value = 1.2.toDouble(): kotlin.Double) test.AFloat(value = 1.3.toFloat(): kotlin.Float) public open class AnnotationTrait {
public constructor AnnotationTrait()
}
internal interface Test {
internal companion object Companion {
private constructor Companion()
internal final val vbyte: kotlin.Byte
internal final val vchar: kotlin.Char
internal final val vdouble: kotlin.Double
internal final val vfloat: kotlin.Float
internal final val vint: kotlin.Int
internal final val vlong: kotlin.Long
internal final val vstring: kotlin.String
}
}
@@ -0,0 +1,23 @@
package test
internal final class KotlinClass {
public constructor KotlinClass()
internal companion object Companion {
private constructor Companion()
internal final val FOO: kotlin.Int
}
}
public open class kt3698 {
public constructor kt3698()
public/*package*/ final annotation class Foo : kotlin.Annotation {
public/*package*/ constructor Foo(/*0*/ kotlin.Int)
public final val value: kotlin.Int
public abstract fun value(): kotlin.Int
}
// Static members
test.kt3698.Foo(value = 10: kotlin.Int) public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit
}
@@ -0,0 +1,18 @@
package test
internal final class Test {
public constructor Test()
internal companion object Companion {
private constructor Companion()
public final val valProp: kotlin.Int
public final var varProp: kotlin.Int
}
}
public/*package*/ open class staticClassProperty {
public/*package*/ constructor staticClassProperty()
// Static members
public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit
}
@@ -0,0 +1,16 @@
package test
internal interface Test {
internal companion object Companion {
private constructor Companion()
public final val valProp: kotlin.Int
}
}
public/*package*/ open class staticTraitProperty {
public/*package*/ constructor staticTraitProperty()
// Static members
public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit
}