Read*BinaryClassTest: compare serialized namespace with hardcopy

This commit is contained in:
Stepan Koltsov
2012-02-15 16:15:20 +04:00
parent 94402c5f3f
commit cf7be620a7
131 changed files with 634 additions and 27 deletions
@@ -0,0 +1,27 @@
namespace test
abstract class test.ClassDoesNotOverrideMethod : java.util.Date {
final /*constructor*/ fun <init>(): test.ClassDoesNotOverrideMethod
open override /*1*/ fun after(/*0*/ p0: java.util.Date?): jet.Boolean
open override /*1*/ fun before(/*0*/ p0: java.util.Date?): jet.Boolean
open override /*1*/ fun compareTo(/*0*/ p0: java.util.Date?): jet.Int
open override /*1*/ fun compareTo(/*0*/ p0: jet.Any?): jet.Int
open override /*1*/ fun getDate(): jet.Int
open override /*1*/ fun getDay(): jet.Int
open override /*1*/ fun getHours(): jet.Int
open override /*1*/ fun getMinutes(): jet.Int
open override /*1*/ fun getMonth(): jet.Int
open override /*1*/ fun getSeconds(): jet.Int
open override /*1*/ fun getTime(): jet.Long
open override /*1*/ fun getTimezoneOffset(): jet.Int
open override /*1*/ fun getYear(): jet.Int
open override /*1*/ fun setDate(/*0*/ p0: jet.Int): jet.Tuple0
open override /*1*/ fun setHours(/*0*/ p0: jet.Int): jet.Tuple0
open override /*1*/ fun setMinutes(/*0*/ p0: jet.Int): jet.Tuple0
open override /*1*/ fun setMonth(/*0*/ p0: jet.Int): jet.Tuple0
open override /*1*/ fun setSeconds(/*0*/ p0: jet.Int): jet.Tuple0
open override /*1*/ fun setTime(/*0*/ p0: jet.Long): jet.Tuple0
open override /*1*/ fun setYear(/*0*/ p0: jet.Int): jet.Tuple0
open override /*1*/ fun toGMTString(): jet.String?
open override /*1*/ fun toLocaleString(): jet.String?
}
@@ -0,0 +1,5 @@
namespace test
final class test.ClassWithTypeParameter</*0*/ P : jet.Any?> : jet.Any {
final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.ClassWithTypeParameter</*0*/ P : jet.Any?>
}
@@ -0,0 +1,5 @@
namespace test
final class test.ClassWithTypeParameter</*0*/ P : jet.Any?, /*1*/ Q : P> : jet.Any {
final /*constructor*/ fun </*0*/ P : jet.Any?, /*1*/ Q : P><init>(): test.ClassWithTypeParameter</*0*/ P : jet.Any?, /*1*/ Q : P>
}
@@ -0,0 +1,5 @@
namespace test
final class test.ClassWithTypePRefSelf</*0*/ P : java.lang.Enum<P>?> : jet.Any {
final /*constructor*/ fun </*0*/ P : java.lang.Enum<P>?><init>(): test.ClassWithTypePRefSelf</*0*/ P : java.lang.Enum<P>?>
}
@@ -0,0 +1,6 @@
namespace test
final class test.FieldAsVar : jet.Any {
final /*constructor*/ fun <init>(): test.FieldAsVar
var f: jet.Int
}
@@ -0,0 +1,6 @@
namespace test
open class test.FieldOfArrayType : jet.Any {
final /*constructor*/ fun <init>(): test.FieldOfArrayType
var files: jet.Array<java.io.File?>?
}
@@ -0,0 +1,6 @@
namespace test
final class test.FinalFieldAsVal : jet.Any {
final /*constructor*/ fun <init>(): test.FinalFieldAsVal
val f: jet.Int
}
@@ -0,0 +1,8 @@
namespace test
open class test.Outer : jet.Any {
final /*constructor*/ fun <init>(): test.Outer
open class test.Outer.Inner : jet.Any {
final /*constructor*/ fun <init>(): test.Outer.Inner
}
}
@@ -0,0 +1,8 @@
namespace test
open class test.Outer</*0*/ P : jet.Any?> : jet.Any {
final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.Outer</*0*/ P : jet.Any?>
open class test.Outer.Inner</*0*/ Q : P> : jet.Any {
final /*constructor*/ fun </*0*/ Q : P><init>(): test.Outer.Inner</*0*/ Q : P>
}
}
@@ -0,0 +1,9 @@
namespace test
final class test.Outer</*0*/ P : jet.Any?> : jet.Any {
final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.Outer</*0*/ P : jet.Any?>
final class test.Outer.Inner : jet.Any {
final /*constructor*/ fun <init>(): test.Outer.Inner
final fun </*0*/ Q : P>f(): jet.Tuple0
}
}
@@ -0,0 +1,6 @@
namespace test
final class test.MethodWithTypeP : jet.Any {
final /*constructor*/ fun <init>(): test.MethodWithTypeP
final fun </*0*/ P : jet.Any?>f(): jet.Tuple0
}
@@ -0,0 +1,6 @@
namespace test
final class test.MethodWithTypePP : jet.Any {
final /*constructor*/ fun <init>(): test.MethodWithTypePP
final fun </*0*/ P : jet.Any?, /*1*/ Q : P>f(): jet.Tuple0
}
@@ -0,0 +1,6 @@
namespace test
open class test.MethodWithTypePRefClassP</*0*/ P : jet.Any?> : jet.Any {
final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.MethodWithTypePRefClassP</*0*/ P : jet.Any?>
final fun </*0*/ Q : P>f(): jet.Tuple0
}
@@ -0,0 +1,6 @@
namespace test
final class test.MethosWithPRefTP : jet.Any {
final /*constructor*/ fun <init>(): test.MethosWithPRefTP
final fun </*0*/ P : jet.Any?>f(/*0*/ p0: P): jet.Tuple0
}
@@ -0,0 +1,5 @@
namespace test
final class test.Simple : jet.Any {
final /*constructor*/ fun <init>(): test.Simple
}
@@ -0,0 +1,7 @@
namespace test
final class test.TwoFields : jet.Any {
final /*constructor*/ fun <init>(): test.TwoFields
var a: jet.Int
var b: jet.Short
}