Rename test data folder according to the new test naming convention.

This commit is contained in:
Pavel V. Talanov
2012-08-23 14:25:37 +04:00
parent 4bf2b9054a
commit baca087a02
497 changed files with 349 additions and 350 deletions
@@ -0,0 +1,3 @@
package test
class Ramification
@@ -0,0 +1,5 @@
namespace test
internal final class test.Ramification : jet.Any {
public final /*constructor*/ fun <init>(): test.Ramification
}
@@ -0,0 +1,3 @@
package test
class Wine<in T>
@@ -0,0 +1,5 @@
namespace test
internal final class test.Wine</*0*/ in T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ in T : jet.Any?><init>(): test.Wine<T>
}
@@ -0,0 +1,6 @@
package test
class Outer {
class Inner {
}
}
@@ -0,0 +1,8 @@
namespace test
internal final class test.Outer : jet.Any {
public final /*constructor*/ fun <init>(): test.Outer
internal final class test.Outer.Inner : jet.Any {
public final /*constructor*/ fun <init>(): test.Outer.Inner
}
}
@@ -0,0 +1,3 @@
package test
class Juice<in T>
@@ -0,0 +1,5 @@
namespace test
internal final class test.Juice</*0*/ in T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ in T : jet.Any?><init>(): test.Juice<T>
}
@@ -0,0 +1,3 @@
package test
class Beer<T>
@@ -0,0 +1,5 @@
namespace test
internal final class test.Beer</*0*/ T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ T : jet.Any?><init>(): test.Beer<T>
}
@@ -0,0 +1,3 @@
package test
class ClassParamReferencesParam<A, B : A>
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassParamReferencesParam</*0*/ A : jet.Any?, /*1*/ B : A> : jet.Any {
public final /*constructor*/ fun </*0*/ A : jet.Any?, /*1*/ B : A><init>(): test.ClassParamReferencesParam<A, B>
}
@@ -0,0 +1,3 @@
package test
class ClassParamReferencesParam<A, in B : A>
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassParamReferencesParam</*0*/ A : jet.Any?, /*1*/ in B : A> : jet.Any {
public final /*constructor*/ fun </*0*/ A : jet.Any?, /*1*/ in B : A><init>(): test.ClassParamReferencesParam<A, B>
}
@@ -0,0 +1,5 @@
package test
trait TraitWithP<P>
class ClassParamReferencesSelf<A : TraitWithP<A>>
@@ -0,0 +1,7 @@
namespace test
internal final class test.ClassParamReferencesSelf</*0*/ A : test.TraitWithP<A>> : jet.Any {
public final /*constructor*/ fun </*0*/ A : test.TraitWithP<A>><init>(): test.ClassParamReferencesSelf<A>
}
internal abstract trait test.TraitWithP</*0*/ P : jet.Any?> : jet.Any {
}
@@ -0,0 +1,3 @@
package test
class Clock<A : java.lang.Number>
@@ -0,0 +1,5 @@
namespace test
internal final class test.Clock</*0*/ A : java.lang.Number> : jet.Any {
public final /*constructor*/ fun </*0*/ A : java.lang.Number><init>(): test.Clock<A>
}
@@ -0,0 +1,3 @@
package test
class Clock<A> where A : java.lang.Number, A : java.io.Serializable
@@ -0,0 +1,5 @@
namespace test
internal final class test.Clock</*0*/ A : java.io.Serializable & java.lang.Number> : jet.Any {
public final /*constructor*/ fun </*0*/ A : java.io.Serializable & java.lang.Number><init>(): test.Clock<A>
}
@@ -0,0 +1,3 @@
package test
class Clock<A : java.io.Serializable>
@@ -0,0 +1,5 @@
namespace test
internal final class test.Clock</*0*/ A : java.io.Serializable> : jet.Any {
public final /*constructor*/ fun </*0*/ A : java.io.Serializable><init>(): test.Clock<A>
}
@@ -0,0 +1,3 @@
package test
class Clock<A> where A : java.io.Serializable, A : java.lang.Number
@@ -0,0 +1,5 @@
namespace test
internal final class test.Clock</*0*/ A : java.io.Serializable & java.lang.Number> : jet.Any {
public final /*constructor*/ fun </*0*/ A : java.io.Serializable & java.lang.Number><init>(): test.Clock<A>
}
@@ -0,0 +1,3 @@
package test
class ClassTwoParams<P, Q>
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassTwoParams</*0*/ P : jet.Any?, /*1*/ Q : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ P : jet.Any?, /*1*/ Q : jet.Any?><init>(): test.ClassTwoParams<P, Q>
}
@@ -0,0 +1,3 @@
package test
class ClassTwoParams<out P, Q>
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassTwoParams</*0*/ out P : jet.Any?, /*1*/ Q : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ out P : jet.Any?, /*1*/ Q : jet.Any?><init>(): test.ClassTwoParams<P, Q>
}
@@ -0,0 +1,5 @@
package test
abstract class Aaa()
class Bbb() : Aaa()
@@ -0,0 +1,8 @@
namespace test
internal abstract class test.Aaa : jet.Any {
public final /*constructor*/ fun <init>(): test.Aaa
}
internal final class test.Bbb : test.Aaa {
public final /*constructor*/ fun <init>(): test.Bbb
}
@@ -0,0 +1,5 @@
package test
abstract class Aaa<P>()
class Bbb() : Aaa<java.util.Random>()
@@ -0,0 +1,8 @@
namespace test
internal abstract class test.Aaa</*0*/ P : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.Aaa<P>
}
internal final class test.Bbb : test.Aaa<java.util.Random> {
public final /*constructor*/ fun <init>(): test.Bbb
}
@@ -0,0 +1,5 @@
package test
trait Aaa<P>
class Bbb() : Aaa<java.util.Random>
@@ -0,0 +1,7 @@
namespace test
internal abstract trait test.Aaa</*0*/ P : jet.Any?> : jet.Any {
}
internal final class test.Bbb : test.Aaa<java.util.Random> {
public final /*constructor*/ fun <init>(): test.Bbb
}
@@ -0,0 +1,5 @@
package test
class Outer() {
class Inner()
}
@@ -0,0 +1,8 @@
namespace test
internal final class test.Outer : jet.Any {
public final /*constructor*/ fun <init>(): test.Outer
internal final class test.Outer.Inner : jet.Any {
public final /*constructor*/ fun <init>(): test.Outer.Inner
}
}
@@ -0,0 +1,7 @@
package test
class Outer() {
open class Inner1()
class Inner2() : Inner1()
}
@@ -0,0 +1,11 @@
namespace test
internal final class test.Outer : jet.Any {
public final /*constructor*/ fun <init>(): test.Outer
internal open class test.Outer.Inner1 : jet.Any {
public final /*constructor*/ fun <init>(): test.Outer.Inner1
}
internal final class test.Outer.Inner2 : test.Outer.Inner1 {
public final /*constructor*/ fun <init>(): test.Outer.Inner2
}
}
@@ -0,0 +1,3 @@
package test
trait Trtrtr
@@ -0,0 +1,4 @@
namespace test
internal abstract trait test.Trtrtr : jet.Any {
}
@@ -0,0 +1,5 @@
package test
class ClassParamUsedInFun<in T> {
fun f(t: T) = 1
}
@@ -0,0 +1,6 @@
namespace test
internal final class test.ClassParamUsedInFun</*0*/ in T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ in T : jet.Any?><init>(): test.ClassParamUsedInFun<T>
internal final fun f(/*0*/ t: T): jet.Int
}
@@ -0,0 +1,5 @@
package test
class ClassParamUsedInFun<T> {
fun f(t: T) = 1
}
@@ -0,0 +1,6 @@
namespace test
internal final class test.ClassParamUsedInFun</*0*/ T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ T : jet.Any?><init>(): test.ClassParamUsedInFun<T>
internal final fun f(/*0*/ t: T): jet.Int
}
@@ -0,0 +1,9 @@
package test
// test composed from KT-2193
trait A {
open fun f(): String = "test"
}
class B() : A
@@ -0,0 +1,9 @@
namespace test
internal abstract trait test.A : jet.Any {
internal open fun f(): jet.String
}
internal final class test.B : test.A {
public final /*constructor*/ fun <init>(): test.B
internal open override /*1*/ fun f(): jet.String
}
@@ -0,0 +1,7 @@
package test
open class Base<T>() {
fun foo(): T = throw Exception()
}
class Inh() : Base<String>()
@@ -0,0 +1,10 @@
namespace test
internal open class test.Base</*0*/ T : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ T : jet.Any?><init>(): test.Base<T>
internal final fun foo(): T
}
internal final class test.Inh : test.Base<jet.String> {
public final /*constructor*/ fun <init>(): test.Inh
internal final override /*1*/ fun foo(): jet.String
}
@@ -0,0 +1,7 @@
// KT-2228
package test
trait A {
final fun f(): String = "test"
}
@@ -0,0 +1,5 @@
namespace test
internal abstract trait test.A : jet.Any {
internal final fun f(): jet.String
}
@@ -0,0 +1,7 @@
// KT-2228
package test
trait A {
fun f(): String = "test"
}
@@ -0,0 +1,5 @@
namespace test
internal abstract trait test.A : jet.Any {
internal open fun f(): jet.String
}
@@ -0,0 +1,7 @@
package test
class ClassObjectDeclaresProperty {
class object {
val i = 1
}
}
@@ -0,0 +1,9 @@
namespace test
internal final class test.ClassObjectDeclaresProperty : jet.Any {
public final /*constructor*/ fun <init>(): test.ClassObjectDeclaresProperty
internal final class object test.ClassObjectDeclaresProperty.<class-object-for-ClassObjectDeclaresProperty> : jet.Any {
internal final /*constructor*/ fun <init>(): test.ClassObjectDeclaresProperty.<class-object-for-ClassObjectDeclaresProperty>
internal final val i: jet.Int
}
}
@@ -0,0 +1,7 @@
package test
class ClassObjectDeclaresProperty {
class object {
var s = ""
}
}
@@ -0,0 +1,9 @@
namespace test
internal final class test.ClassObjectDeclaresProperty : jet.Any {
public final /*constructor*/ fun <init>(): test.ClassObjectDeclaresProperty
internal final class object test.ClassObjectDeclaresProperty.<class-object-for-ClassObjectDeclaresProperty> : jet.Any {
internal final /*constructor*/ fun <init>(): test.ClassObjectDeclaresProperty.<class-object-for-ClassObjectDeclaresProperty>
internal final var s: jet.String
}
}
@@ -0,0 +1,8 @@
package test
trait Bbb
class ClassObjectextendsTrait {
class object : Bbb {
}
}
@@ -0,0 +1,10 @@
namespace test
internal abstract trait test.Bbb : jet.Any {
}
internal final class test.ClassObjectextendsTrait : jet.Any {
public final /*constructor*/ fun <init>(): test.ClassObjectextendsTrait
internal final class object test.ClassObjectextendsTrait.<class-object-for-ClassObjectextendsTrait> : test.Bbb {
internal final /*constructor*/ fun <init>(): test.ClassObjectextendsTrait.<class-object-for-ClassObjectextendsTrait>
}
}
@@ -0,0 +1,8 @@
package test
trait Bbb<P>
class ClassObjectExtendsTraitWithTP {
class object : Bbb<String> {
}
}
@@ -0,0 +1,10 @@
namespace test
internal abstract trait test.Bbb</*0*/ P : jet.Any?> : jet.Any {
}
internal final class test.ClassObjectExtendsTraitWithTP : jet.Any {
public final /*constructor*/ fun <init>(): test.ClassObjectExtendsTraitWithTP
internal final class object test.ClassObjectExtendsTraitWithTP.<class-object-for-ClassObjectExtendsTraitWithTP> : test.Bbb<jet.String> {
internal final /*constructor*/ fun <init>(): test.ClassObjectExtendsTraitWithTP.<class-object-for-ClassObjectExtendsTraitWithTP>
}
}
@@ -0,0 +1,6 @@
package test
class SimpleClassObject() {
class object {
}
}
@@ -0,0 +1,8 @@
namespace test
internal final class test.SimpleClassObject : jet.Any {
public final /*constructor*/ fun <init>(): test.SimpleClassObject
internal final class object test.SimpleClassObject.<class-object-for-SimpleClassObject> : jet.Any {
internal final /*constructor*/ fun <init>(): test.SimpleClassObject.<class-object-for-SimpleClassObject>
}
}
@@ -0,0 +1,3 @@
package test
class ClassWithConstructor0()
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassWithConstructor0 : jet.Any {
public final /*constructor*/ fun <init>(): test.ClassWithConstructor0
}
@@ -0,0 +1,3 @@
package test
class ClassWithConstructor1(p: Int)
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassWithConstructor1 : jet.Any {
public final /*constructor*/ fun <init>(/*0*/ p: jet.Int): test.ClassWithConstructor1
}
@@ -0,0 +1,3 @@
package test
class ClassWithConstructorWithValueParamWithDefaultValue(p: Int = 1)
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassWithConstructorWithValueParamWithDefaultValue : jet.Any {
public final /*constructor*/ fun <init>(/*0*/ p: jet.Int = ?): test.ClassWithConstructorWithValueParamWithDefaultValue
}
@@ -0,0 +1,5 @@
package test
import java.util.Collection
class TestingKotlinCollections(val arguments: Collection<String>)
@@ -0,0 +1,6 @@
namespace test
internal final class test.TestingKotlinCollections : jet.Any {
public final /*constructor*/ fun <init>(/*0*/ arguments: java.util.Collection<jet.String>): test.TestingKotlinCollections
internal final val arguments: java.util.Collection<jet.String>
}
@@ -0,0 +1,3 @@
package test
class ClassWithConstructorAndTypeParameter<P, Q>()
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassWithConstructorAndTypeParameter</*0*/ P : jet.Any?, /*1*/ Q : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ P : jet.Any?, /*1*/ Q : jet.Any?><init>(): test.ClassWithConstructorAndTypeParameter<P, Q>
}
@@ -0,0 +1,3 @@
package test
class ClassWithConstructorAndTypeParameter<P, Q>(q: Int)
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassWithConstructorAndTypeParameter</*0*/ P : jet.Any?, /*1*/ Q : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ P : jet.Any?, /*1*/ Q : jet.Any?><init>(/*0*/ q: jet.Int): test.ClassWithConstructorAndTypeParameter<P, Q>
}
@@ -0,0 +1,3 @@
package test
class ClassWithConstructorAndTypeParameter<P, Q>(q: Q)
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassWithConstructorAndTypeParameter</*0*/ P : jet.Any?, /*1*/ Q : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ P : jet.Any?, /*1*/ Q : jet.Any?><init>(/*0*/ q: Q): test.ClassWithConstructorAndTypeParameter<P, Q>
}
@@ -0,0 +1,3 @@
package test
class ClassWithConstructorAndTypeParameter<P>()
@@ -0,0 +1,5 @@
namespace test
internal final class test.ClassWithConstructorAndTypeParameter</*0*/ P : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.ClassWithConstructorAndTypeParameter<P>
}
@@ -0,0 +1,3 @@
package test
class OneTypeParameterErased<P, Q>(q: Q)
@@ -0,0 +1,5 @@
namespace test
internal final class test.OneTypeParameterErased</*0*/ P : jet.Any?, /*1*/ Q : jet.Any?> : jet.Any {
public final /*constructor*/ fun </*0*/ P : jet.Any?, /*1*/ Q : jet.Any?><init>(/*0*/ q: Q): test.OneTypeParameterErased<P, Q>
}
@@ -0,0 +1,3 @@
package test
fun <T> f() = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ T : jet.Any?>f(): jet.Int
@@ -0,0 +1,3 @@
package test
fun <in T> f() = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ in T : jet.Any?>f(): jet.Int
@@ -0,0 +1,3 @@
package test
fun <out T> f() = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ out T : jet.Any?>f(): jet.Int
@@ -0,0 +1,3 @@
package test
fun <P> funParamParam(a: Int, b: P) = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ P : jet.Any?>funParamParam(/*0*/ a: jet.Int, /*1*/ b: P): jet.Int
@@ -0,0 +1,3 @@
package test
fun <P> funParamParam(a: Int, b: P) = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ P : jet.Any?>funParamParam(/*0*/ a: jet.Int, /*1*/ b: P): jet.Int
@@ -0,0 +1,3 @@
package test
fun <P, Q : P> funParamReferencesParam() = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ P : jet.Any?, /*1*/ Q : P>funParamReferencesParam(): jet.Int
@@ -0,0 +1,3 @@
package test
fun <in P, Q : P> funParamReferencesParam() = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ in P : jet.Any?, /*1*/ Q : P>funParamReferencesParam(): jet.Int
@@ -0,0 +1,8 @@
package test
trait Foo
trait Bar
fun <T> foo()
where T : Foo, T : Bar
= #()
@@ -0,0 +1,7 @@
namespace test
internal abstract trait test.Bar : jet.Any {
}
internal abstract trait test.Foo : jet.Any {
}
internal final fun </*0*/ T : test.Bar & test.Foo>foo(): jet.Tuple0
@@ -0,0 +1,3 @@
package test
fun <A : java.lang.Number> uno() = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ A : java.lang.Number>uno(): jet.Int
@@ -0,0 +1,3 @@
package test
fun <A> tres() where A : java.lang.Number, A : java.io.Serializable = 1
@@ -0,0 +1,3 @@
namespace test
internal final fun </*0*/ A : java.io.Serializable & java.lang.Number>tres(): jet.Int

Some files were not shown because too many files have changed in this diff Show More