Adjusted tests to the new DescriptorRenderer behaviour

This commit is contained in:
Michał Sapalski
2013-04-15 07:43:51 +02:00
committed by Andrey Breslav
parent 2352d86932
commit 7deec28b9c
406 changed files with 2360 additions and 2361 deletions
@@ -15,33 +15,33 @@ public trait AnnotationWithAnnotationInParam : java.lang.Object {
}
public final annotation class MyAnnotation : jet.Annotation {
public constructor MyAnnotation(/*0*/ value : jet.String?)
public abstract fun value() : jet.String?
public constructor MyAnnotation(/*0*/ value: jet.String?)
public abstract fun value(): jet.String?
}
public final annotation class MyAnnotation2 : jet.Annotation {
public constructor MyAnnotation2(/*0*/ vararg value : jet.String? /*jet.Array<jet.String>?*/)
public abstract fun value() : jet.Array<jet.String>?
public constructor MyAnnotation2(/*0*/ vararg value: jet.String? /*jet.Array<jet.String>?*/)
public abstract fun value(): jet.Array<jet.String>?
}
public final annotation class MyAnnotation3 : jet.Annotation {
public constructor MyAnnotation3(/*0*/ first : jet.String?, /*1*/ second : jet.String?)
public abstract fun first() : jet.String?
public abstract fun second() : jet.String?
public constructor MyAnnotation3(/*0*/ first: jet.String?, /*1*/ second: jet.String?)
public abstract fun first(): jet.String?
public abstract fun second(): jet.String?
}
public final annotation class MyAnnotationWithParam : jet.Annotation {
public constructor MyAnnotationWithParam(/*0*/ value : test.AnnotationWithAnnotationInParam.MyAnnotation?)
public abstract fun value() : test.AnnotationWithAnnotationInParam.MyAnnotation?
public constructor MyAnnotationWithParam(/*0*/ value: test.AnnotationWithAnnotationInParam.MyAnnotation?)
public abstract fun value(): test.AnnotationWithAnnotationInParam.MyAnnotation?
}
public final annotation class MyAnnotationWithParam2 : jet.Annotation {
public constructor MyAnnotationWithParam2(/*0*/ value : test.AnnotationWithAnnotationInParam.MyAnnotation2?)
public abstract fun value() : test.AnnotationWithAnnotationInParam.MyAnnotation2?
public constructor MyAnnotationWithParam2(/*0*/ value: test.AnnotationWithAnnotationInParam.MyAnnotation2?)
public abstract fun value(): test.AnnotationWithAnnotationInParam.MyAnnotation2?
}
public final annotation class MyAnnotationWithParam3 : jet.Annotation {
public constructor MyAnnotationWithParam3(/*0*/ value : test.AnnotationWithAnnotationInParam.MyAnnotation3?)
public abstract fun value() : test.AnnotationWithAnnotationInParam.MyAnnotation3?
public constructor MyAnnotationWithParam3(/*0*/ value: test.AnnotationWithAnnotationInParam.MyAnnotation3?)
public abstract fun value(): test.AnnotationWithAnnotationInParam.MyAnnotation3?
}
}
@@ -3,7 +3,7 @@ package test
public trait AnnotationWithArrayOfEnumInParam : java.lang.Object {
java.lang.annotation.Target(value = [ElementType.FIELD, ElementType.CONSTRUCTOR]: jet.Array<java.lang.annotation.ElementType>?) public final annotation class targetAnnotation : jet.Annotation {
public constructor targetAnnotation(/*0*/ value : jet.String?)
public abstract fun value() : jet.String?
public constructor targetAnnotation(/*0*/ value: jet.String?)
public abstract fun value(): jet.String?
}
}
@@ -7,7 +7,7 @@ public trait AnnotationWithArrayOfStringInParam : java.lang.Object {
}
public final annotation class MyAnnotation : jet.Annotation {
public constructor MyAnnotation(/*0*/ vararg value : jet.String? /*jet.Array<jet.String>?*/)
public abstract fun value() : jet.Array<jet.String>?
public constructor MyAnnotation(/*0*/ vararg value: jet.String? /*jet.Array<jet.String>?*/)
public abstract fun value(): jet.Array<jet.String>?
}
}
@@ -7,7 +7,7 @@ public trait AnnotationWithEmptyArrayInParam : java.lang.Object {
}
public final annotation class MyAnnotation : jet.Annotation {
public constructor MyAnnotation(/*0*/ vararg value : jet.String? /*jet.Array<jet.String>?*/)
public abstract fun value() : jet.Array<jet.String>?
public constructor MyAnnotation(/*0*/ vararg value: jet.String? /*jet.Array<jet.String>?*/)
public abstract fun value(): jet.Array<jet.String>?
}
}
@@ -3,7 +3,7 @@ package test
public trait AnnotationWithEnumInParam : java.lang.Object {
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) public final annotation class RetentionAnnotation : jet.Annotation {
public constructor RetentionAnnotation(/*0*/ value : jet.String?)
public abstract fun value() : jet.String?
public constructor RetentionAnnotation(/*0*/ value: jet.String?)
public abstract fun value(): jet.String?
}
}
@@ -3,20 +3,20 @@ package test
public trait CustomAnnotation : java.lang.Object {
public final annotation class MyAnnotation : jet.Annotation {
public constructor MyAnnotation(/*0*/ value : test.CustomAnnotation.MyEnum?)
public abstract fun value() : test.CustomAnnotation.MyEnum?
public constructor MyAnnotation(/*0*/ value: test.CustomAnnotation.MyEnum?)
public abstract fun value(): test.CustomAnnotation.MyEnum?
}
public final enum class MyEnum : jet.Enum<test.CustomAnnotation.MyEnum> {
private constructor MyEnum()
public final override /*1*/ /*fake_override*/ fun name() : jet.String
public final override /*1*/ /*fake_override*/ fun ordinal() : jet.Int
public final override /*1*/ /*fake_override*/ fun name(): jet.String
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
public class object <class-object-for-MyEnum> {
private constructor <class-object-for-MyEnum>()
public final val ONE : test.CustomAnnotation.MyEnum
public final fun valueOf(/*0*/ value : jet.String) : test.CustomAnnotation.MyEnum
public final fun values() : jet.Array<test.CustomAnnotation.MyEnum>
public final val ONE: test.CustomAnnotation.MyEnum
public final fun valueOf(/*0*/ value: jet.String): test.CustomAnnotation.MyEnum
public final fun values(): jet.Array<test.CustomAnnotation.MyEnum>
}
}
@@ -3,9 +3,9 @@ package test
public trait CustomAnnotationWithDefaultParameter : java.lang.Object {
public final annotation class MyAnnotation : jet.Annotation {
public constructor MyAnnotation(/*0*/ first : jet.String?, /*1*/ second : jet.String? = ...)
public abstract fun first() : jet.String?
public abstract fun second() : jet.String?
public constructor MyAnnotation(/*0*/ first: jet.String?, /*1*/ second: jet.String? = ...)
public abstract fun first(): jet.String?
public abstract fun second(): jet.String?
}
test.CustomAnnotationWithDefaultParameter.MyAnnotation(first = "f": jet.String, second = "s": jet.String) public open class MyTest : java.lang.Object {
@@ -3,12 +3,12 @@ package test
public trait RecursiveAnnotation : java.lang.Object {
test.RecursiveAnnotation.B(value = A[value = "test"]: test.RecursiveAnnotation.A) public final annotation class A : jet.Annotation {
public constructor A(/*0*/ value : jet.String?)
public abstract fun value() : jet.String?
public constructor A(/*0*/ value: jet.String?)
public abstract fun value(): jet.String?
}
test.RecursiveAnnotation.B(value = A[value = "test"]: test.RecursiveAnnotation.A) public final annotation class B : jet.Annotation {
public constructor B(/*0*/ value : test.RecursiveAnnotation.A?)
public abstract fun value() : test.RecursiveAnnotation.A?
public constructor B(/*0*/ value: test.RecursiveAnnotation.A?)
public abstract fun value(): test.RecursiveAnnotation.A?
}
}
@@ -3,12 +3,12 @@ package test
public trait RecursiveAnnotation2 : java.lang.Object {
public final annotation class A : jet.Annotation {
public constructor A(/*0*/ value : test.RecursiveAnnotation2.B?)
public abstract fun value() : test.RecursiveAnnotation2.B?
public constructor A(/*0*/ value: test.RecursiveAnnotation2.B?)
public abstract fun value(): test.RecursiveAnnotation2.B?
}
test.RecursiveAnnotation2.A(value = B[value = "test"]: test.RecursiveAnnotation2.B) public final annotation class B : jet.Annotation {
public constructor B(/*0*/ value : jet.String?)
public abstract fun value() : jet.String?
public constructor B(/*0*/ value: jet.String?)
public abstract fun value(): jet.String?
}
}