82b19499e3
Use generated tests approach in converter tests Introduce two seperate generated test cases of each of configurations, all tests are generated in both test cases Test data for plugin configuration has extension "ide.kt", for basic configuration "*.kt" Test data file is used to determine type of the test (file/class/expression/...) instead of directory, all test data is moved accordingly Add abstract base classes for generated tests Rename test folder "file" to "misc" (for the lack of imagination)
18 lines
419 B
Kotlin
18 lines
419 B
Kotlin
package test
|
|
open class Test() {
|
|
public open fun hashCode() : Int {
|
|
return System.identityHashCode(this)
|
|
}
|
|
public open fun equals(o : Any?) : Boolean {
|
|
return this.identityEquals(o)
|
|
}
|
|
protected open fun clone() : Any? {
|
|
return super.clone()
|
|
}
|
|
public open fun toString() : String? {
|
|
return getJavaClass<Test>.getName() + '@' + Integer.toHexString(hashCode())
|
|
}
|
|
protected open fun finalize() : Unit {
|
|
super.finalize()
|
|
}
|
|
} |