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
@@ -1,7 +1,7 @@
package test
public /*synthesized*/ fun </*0*/ T> Comparator(/*0*/ function : (T?, T?) -> jet.Int) : test.Comparator<T>
public /*synthesized*/ fun </*0*/ T> Comparator(/*0*/ function: (T?, T?) -> jet.Int): test.Comparator<T>
public trait Comparator</*0*/ T> : java.lang.Object {
public abstract fun compare(/*0*/ p0 : T?, /*1*/ p1 : T?) : jet.Int
public abstract fun compare(/*0*/ p0: T?, /*1*/ p1: T?): jet.Int
}
@@ -1,7 +1,7 @@
package test
public /*synthesized*/ fun FilenameFilter(/*0*/ function : (java.io.File?, jet.String?) -> jet.Boolean) : test.FilenameFilter
public /*synthesized*/ fun FilenameFilter(/*0*/ function: (java.io.File?, jet.String?) -> jet.Boolean): test.FilenameFilter
public trait FilenameFilter : java.lang.Object {
public abstract fun accept(/*0*/ p0 : java.io.File?, /*1*/ p1 : jet.String?) : jet.Boolean
public abstract fun accept(/*0*/ p0: java.io.File?, /*1*/ p1: jet.String?): jet.Boolean
}
@@ -1,7 +1,7 @@
package test
public /*synthesized*/ fun </*0*/ T : test.GenericInterfaceParameterWithSelfBound<T>?> GenericInterfaceParameterWithSelfBound(/*0*/ function : (T?) -> T?) : test.GenericInterfaceParameterWithSelfBound<T>
public /*synthesized*/ fun </*0*/ T : test.GenericInterfaceParameterWithSelfBound<T>?> GenericInterfaceParameterWithSelfBound(/*0*/ function: (T?) -> T?): test.GenericInterfaceParameterWithSelfBound<T>
public trait GenericInterfaceParameterWithSelfBound</*0*/ T : test.GenericInterfaceParameterWithSelfBound<T>?> : java.lang.Object {
public abstract fun method(/*0*/ p0 : T?) : T?
public abstract fun method(/*0*/ p0: T?): T?
}
@@ -1,7 +1,7 @@
package test
public /*synthesized*/ fun </*0*/ A, /*1*/ B : jet.List<A>?> GenericInterfaceParametersWithBounds(/*0*/ function : (jet.Array<out A>?, B?) -> jet.Unit) : test.GenericInterfaceParametersWithBounds<A, B> where A : jet.Comparable<A>?, A : java.lang.Cloneable?
public /*synthesized*/ fun </*0*/ A : jet.Comparable<A>?, /*1*/ B : jet.List<A>?> GenericInterfaceParametersWithBounds(/*0*/ function: (jet.Array<out A>?, B?) -> jet.Unit): test.GenericInterfaceParametersWithBounds<A, B> where A : java.lang.Cloneable?
public trait GenericInterfaceParametersWithBounds</*0*/ A, /*1*/ B : jet.List<A>?> : java.lang.Object where A : jet.Comparable<A>?, A : java.lang.Cloneable? {
public abstract fun method(/*0*/ p0 : jet.Array<out A>?, /*1*/ p1 : B?) : jet.Unit
public trait GenericInterfaceParametersWithBounds</*0*/ A : jet.Comparable<A>?, /*1*/ B : jet.List<A>?> : java.lang.Object where A : java.lang.Cloneable? {
public abstract fun method(/*0*/ p0: jet.Array<out A>?, /*1*/ p1: B?): jet.Unit
}
@@ -1,5 +1,5 @@
package test
public trait GenericMethodParameters : java.lang.Object {
public abstract fun </*0*/ A : jet.CharSequence?, /*1*/ B : jet.List<A>?> method(/*0*/ p0 : jet.Array<out A>?, /*1*/ p1 : B?) : jet.Unit
public abstract fun </*0*/ A : jet.CharSequence?, /*1*/ B : jet.List<A>?> method(/*0*/ p0: jet.Array<out A>?, /*1*/ p1: B?): jet.Unit
}
@@ -5,27 +5,27 @@ public trait Nested : java.lang.Object {
public trait Deeper1 : java.lang.Object {
public trait Runnable : java.lang.Object {
public abstract fun run() : jet.Unit
public abstract fun run2() : jet.Unit
public abstract fun run(): jet.Unit
public abstract fun run2(): jet.Unit
}
}
public trait Deeper2 : java.lang.Object {
public trait Runnable : java.lang.Object {
public abstract fun run() : jet.Unit
public abstract fun run(): jet.Unit
}
}
public trait Runnable : java.lang.Object {
public abstract fun run() : jet.Unit
public abstract fun run(): jet.Unit
}
}
package Nested {
public /*synthesized*/ fun Runnable(/*0*/ function : () -> jet.Unit) : test.Nested.Runnable
public /*synthesized*/ fun Runnable(/*0*/ function: () -> jet.Unit): test.Nested.Runnable
package Deeper2 {
public /*synthesized*/ fun Runnable(/*0*/ function : () -> jet.Unit) : test.Nested.Deeper2.Runnable
public /*synthesized*/ fun Runnable(/*0*/ function: () -> jet.Unit): test.Nested.Deeper2.Runnable
}
}
@@ -1,7 +1,7 @@
package test
public /*synthesized*/ fun Runnable(/*0*/ function : () -> jet.Unit) : test.Runnable
public /*synthesized*/ fun Runnable(/*0*/ function: () -> jet.Unit): test.Runnable
public trait Runnable : java.lang.Object {
public abstract fun run() : jet.Unit
public abstract fun run(): jet.Unit
}
@@ -2,11 +2,11 @@ package test
public open class Basic : java.lang.Object {
public constructor Basic()
public open /*synthesized*/ fun foo(/*0*/ p0 : (() -> jet.Unit)?) : jet.Unit
public open fun foo(/*0*/ p0 : java.lang.Runnable?) : jet.Unit
public open /*synthesized*/ fun foo(/*0*/ p0: (() -> jet.Unit)?): jet.Unit
public open fun foo(/*0*/ p0: java.lang.Runnable?): jet.Unit
}
package Basic {
public open /*synthesized*/ fun bar(/*0*/ p0 : (() -> jet.Unit)?) : jet.Unit
public open fun bar(/*0*/ p0 : java.lang.Runnable?) : jet.Unit
public open /*synthesized*/ fun bar(/*0*/ p0: (() -> jet.Unit)?): jet.Unit
public open fun bar(/*0*/ p0: java.lang.Runnable?): jet.Unit
}
@@ -2,11 +2,11 @@ package test
public open class NonTrivialFunctionType : java.lang.Object {
public constructor NonTrivialFunctionType()
public open /*synthesized*/ fun foo(/*0*/ p0 : ((java.io.File?, jet.String?) -> jet.Boolean)?) : jet.Unit
public open /*synthesized*/ fun foo(/*0*/ p0 : ((jet.String?, jet.String?) -> jet.Int)?) : jet.Unit
public open fun foo(/*0*/ p0 : java.io.FilenameFilter?) : jet.Unit
public open fun foo(/*0*/ p0 : java.util.Comparator<jet.String>?) : jet.Unit
public open /*synthesized*/ fun wildcardBound(/*0*/ p0 : ((jet.CharSequence?, jet.CharSequence?) -> jet.Int)?) : jet.Unit
public open fun wildcardBound(/*0*/ p0 : java.util.Comparator<in jet.CharSequence?>?) : jet.Unit
public open fun wildcardUnbound(/*0*/ p0 : java.util.Comparator<out jet.Any?>?) : jet.Unit
public open /*synthesized*/ fun foo(/*0*/ p0: ((java.io.File?, jet.String?) -> jet.Boolean)?): jet.Unit
public open /*synthesized*/ fun foo(/*0*/ p0: ((jet.String?, jet.String?) -> jet.Int)?): jet.Unit
public open fun foo(/*0*/ p0: java.io.FilenameFilter?): jet.Unit
public open fun foo(/*0*/ p0: java.util.Comparator<jet.String>?): jet.Unit
public open /*synthesized*/ fun wildcardBound(/*0*/ p0: ((jet.CharSequence?, jet.CharSequence?) -> jet.Int)?): jet.Unit
public open fun wildcardBound(/*0*/ p0: java.util.Comparator<in jet.CharSequence?>?): jet.Unit
public open fun wildcardUnbound(/*0*/ p0: java.util.Comparator<out jet.Any?>?): jet.Unit
}
@@ -5,6 +5,6 @@ public open class SeveralSamParameters : java.lang.Object {
}
package SeveralSamParameters {
public open /*synthesized*/ fun findMaxAndInvokeCallback(/*0*/ p0 : ((jet.String?, jet.String?) -> jet.Int)?, /*1*/ p1 : jet.String?, /*2*/ p2 : jet.String?, /*3*/ p3 : (() -> jet.Unit)?) : jet.String?
public open fun findMaxAndInvokeCallback(/*0*/ p0 : java.util.Comparator<jet.String>?, /*1*/ p1 : jet.String?, /*2*/ p2 : jet.String?, /*3*/ p3 : java.lang.Runnable?) : jet.String?
public open /*synthesized*/ fun findMaxAndInvokeCallback(/*0*/ p0: ((jet.String?, jet.String?) -> jet.Int)?, /*1*/ p1: jet.String?, /*2*/ p2: jet.String?, /*3*/ p3: (() -> jet.Unit)?): jet.String?
public open fun findMaxAndInvokeCallback(/*0*/ p0: java.util.Comparator<jet.String>?, /*1*/ p1: jet.String?, /*2*/ p2: jet.String?, /*3*/ p3: java.lang.Runnable?): jet.String?
}
@@ -2,6 +2,6 @@ package test
public open class TypeParameterOfClass</*0*/ T> : java.lang.Object {
public constructor TypeParameterOfClass</*0*/ T>()
public open /*synthesized*/ fun foo(/*0*/ p0 : ((T?, T?) -> jet.Int)?) : jet.Unit
public open fun foo(/*0*/ p0 : java.util.Comparator<T>?) : jet.Unit
public open /*synthesized*/ fun foo(/*0*/ p0: ((T?, T?) -> jet.Int)?): jet.Unit
public open fun foo(/*0*/ p0: java.util.Comparator<T>?): jet.Unit
}
@@ -5,10 +5,10 @@ public open class TypeParameterOfMethod : java.lang.Object {
}
package TypeParameterOfMethod {
public open /*synthesized*/ fun </*0*/ T> max(/*0*/ p0 : ((T?, T?) -> jet.Int)?, /*1*/ p1 : T?, /*2*/ p2 : T?) : T?
public open fun </*0*/ T> max(/*0*/ p0 : java.util.Comparator<T>?, /*1*/ p1 : T?, /*2*/ p2 : T?) : T?
public open /*synthesized*/ fun </*0*/ T : jet.CharSequence?> max2(/*0*/ p0 : ((T?, T?) -> jet.Int)?, /*1*/ p1 : T?, /*2*/ p2 : T?) : T?
public open fun </*0*/ T : jet.CharSequence?> max2(/*0*/ p0 : java.util.Comparator<T>?, /*1*/ p1 : T?, /*2*/ p2 : T?) : T?
public open /*synthesized*/ fun </*0*/ A : jet.CharSequence?, /*1*/ B : jet.List<A>?> method(/*0*/ p0 : ((A?, A?) -> jet.Int)?, /*1*/ p1 : B?) : jet.Unit
public open fun </*0*/ A : jet.CharSequence?, /*1*/ B : jet.List<A>?> method(/*0*/ p0 : java.util.Comparator<A>?, /*1*/ p1 : B?) : jet.Unit
public open /*synthesized*/ fun </*0*/ T> max(/*0*/ p0: ((T?, T?) -> jet.Int)?, /*1*/ p1: T?, /*2*/ p2: T?): T?
public open fun </*0*/ T> max(/*0*/ p0: java.util.Comparator<T>?, /*1*/ p1: T?, /*2*/ p2: T?): T?
public open /*synthesized*/ fun </*0*/ T : jet.CharSequence?> max2(/*0*/ p0: ((T?, T?) -> jet.Int)?, /*1*/ p1: T?, /*2*/ p2: T?): T?
public open fun </*0*/ T : jet.CharSequence?> max2(/*0*/ p0: java.util.Comparator<T>?, /*1*/ p1: T?, /*2*/ p2: T?): T?
public open /*synthesized*/ fun </*0*/ A : jet.CharSequence?, /*1*/ B : jet.List<A>?> method(/*0*/ p0: ((A?, A?) -> jet.Int)?, /*1*/ p1: B?): jet.Unit
public open fun </*0*/ A : jet.CharSequence?, /*1*/ B : jet.List<A>?> method(/*0*/ p0: java.util.Comparator<A>?, /*1*/ p1: B?): jet.Unit
}
@@ -5,7 +5,7 @@ public open class TypeParameterOfOuterClass</*0*/ T> : java.lang.Object {
public open inner class Inner : java.lang.Object {
public constructor Inner()
public open /*synthesized*/ fun foo(/*0*/ p0 : ((T?, T?) -> jet.Int)?) : jet.Unit
public open fun foo(/*0*/ p0 : java.util.Comparator<T>?) : jet.Unit
public open /*synthesized*/ fun foo(/*0*/ p0: ((T?, T?) -> jet.Int)?): jet.Unit
public open fun foo(/*0*/ p0: java.util.Comparator<T>?): jet.Unit
}
}