New J2K: Split old j2k and new j2k tests

This commit is contained in:
Ilya Kirillov
2019-03-28 14:20:17 +03:00
committed by Ilya Kirillov
parent 02a206bf7c
commit b411e8e18e
1631 changed files with 14067 additions and 1513 deletions
@@ -0,0 +1,51 @@
// ERROR: Unresolved reference: clone
// ERROR: Unresolved reference: finalize
package test
internal class Test : Base() {
override fun hashCode(): Int {
return super.hashCode()
}
override fun equals(o: Any?): Boolean {
return super.equals(o)
}
@Throws(CloneNotSupportedException::class)
override fun clone(): Any {
return super.clone()
}
override fun toString(): String {
return super.toString()
}
@Throws(Throwable::class)
override fun finalize() {
super.finalize()
}
}
internal open class Base {
override fun hashCode(): Int {
return super.hashCode()
}
override fun equals(o: Any?): Boolean {
return super.equals(o)
}
@Throws(CloneNotSupportedException::class)
protected open fun clone(): Any {
return super.clone()
}
override fun toString(): String {
return super.toString()
}
@Throws(Throwable::class)
protected open fun finalize() {
super.finalize()
}
}