tests for comparison of changes in classes

This commit is contained in:
Michael Nedzelsky
2015-08-05 16:38:19 +03:00
parent df283c8f02
commit ae7cc8e430
60 changed files with 953 additions and 0 deletions
@@ -0,0 +1,6 @@
package test
import kotlin.annotation.*
open class ClassWithFlagsChanged {
}
@@ -0,0 +1,4 @@
package test
class ClassWithFlagsChanged {
}
@@ -0,0 +1 @@
changes in test/ClassWithFlagsChanged: CLASS_SIGNATURE
@@ -0,0 +1,3 @@
package test
public fun main() {}
@@ -0,0 +1,13 @@
package test
public class TestPackage {
public fun main() {}
}
public class MainKt {
companion object {
@JvmStatic
public fun main() {
}
}
}
@@ -0,0 +1,3 @@
REMOVED: class MainKt$Companion.class
changes in test/MainKt: CLASS_SIGNATURE
changes in test/TestPackage: CLASS_SIGNATURE
@@ -0,0 +1,6 @@
package test
import kotlin.annotation.*
class ClassWithTypeParameterListChanged<U> {
}
@@ -0,0 +1,4 @@
package test
class ClassWithTypeParameterListChanged<U, V> {
}
@@ -0,0 +1 @@
changes in test/ClassWithTypeParameterListChanged: CLASS_SIGNATURE
@@ -0,0 +1,5 @@
package test
import kotlin.annotation.*
annotation class ClassWithClassAnnotationListChanged
@@ -0,0 +1,4 @@
package test
@Deprecated("") class ClassWithClassAnnotationListChanged
@@ -0,0 +1 @@
changes in test/ClassWithClassAnnotationListChanged: CLASS_SIGNATURE
@@ -0,0 +1,4 @@
package test
class ClassWithSuperTypeListChanged : java.io.Serializable {
}
@@ -0,0 +1,6 @@
package test
class ClassWithSuperTypeListChanged {
}
@@ -0,0 +1 @@
changes in test/ClassWithSuperTypeListChanged: CLASS_SIGNATURE
@@ -0,0 +1,13 @@
package test
public class TestPackage {
public fun main() {}
}
public class MainKt {
companion object {
@JvmStatic
public fun main() {
}
}
}
@@ -0,0 +1,3 @@
package test
public fun main() {}
@@ -0,0 +1,3 @@
ADDED: class MainKt$Companion.class
changes in test/MainKt: CLASS_SIGNATURE
changes in test/TestPackage: CLASS_SIGNATURE