[Commonizer] AbstractCommonizationFromSourcesTest remove assertions on commonized leaf/platform libraries
Those assertions are not necessary anymore, since the commonizer is not expected to produce any new "actuals" per given expect. The IDE is supposed to analyze leaf source sets against the original platform libraries.
This commit is contained in:
committed by
Space
parent
42f60d981f
commit
21cef41ba5
-36
@@ -1,36 +0,0 @@
|
||||
actual class Planet actual constructor(actual val name: String, actual val diameter: Double)
|
||||
|
||||
actual val intProperty get() = 42
|
||||
actual val Int.intProperty get() = this
|
||||
actual val Short.intProperty get() = toInt()
|
||||
actual val Long.intProperty get() = toInt()
|
||||
actual val String.intProperty get() = length
|
||||
actual val Planet.intProperty get() = diameter.toInt()
|
||||
|
||||
actual fun intFunction() = 42
|
||||
actual fun Int.intFunction() = this
|
||||
actual fun Short.intFunction() = toInt()
|
||||
actual fun Long.intFunction() = toInt()
|
||||
actual fun String.intFunction() = length
|
||||
actual fun Planet.intFunction() = diameter.toInt()
|
||||
|
||||
val String.mismatchedProperty1 get() = 42
|
||||
val mismatchedProperty2 get() = 42
|
||||
|
||||
fun String.mismatchedFunction1() = 42
|
||||
fun mismatchedFunction2() = 42
|
||||
|
||||
actual val <T> T.propertyWithTypeParameter1 get() = 42
|
||||
actual val <T> T.propertyWithTypeParameter2 get() = 42
|
||||
val <T> T.propertyWithTypeParameter3 get() = 42
|
||||
actual val <T : CharSequence> T.propertyWithTypeParameter4 get() = length
|
||||
val <T : CharSequence> T.propertyWithTypeParameter5: Int get() = length
|
||||
val <T : CharSequence> T.propertyWithTypeParameter6: Int get() = length
|
||||
val <T : CharSequence> T.propertyWithTypeParameter7: Int get() = length
|
||||
val <T> T.propertyWithTypeParameter8 get() = 42
|
||||
val <T> T.propertyWithTypeParameter9 get() = 42
|
||||
|
||||
actual fun <T> T.functionWithTypeParameter1() {}
|
||||
fun <T> T.functionWithTypeParameter2() {}
|
||||
fun <T> T.functionWithTypeParameter3() {}
|
||||
fun <T> T.functionWithTypeParameter4() {}
|
||||
-36
@@ -1,36 +0,0 @@
|
||||
actual class Planet actual constructor(actual val name: String, actual val diameter: Double)
|
||||
|
||||
actual val intProperty get() = 42
|
||||
actual val Int.intProperty get() = this
|
||||
actual val Short.intProperty get() = toInt()
|
||||
actual val Long.intProperty get() = toInt()
|
||||
actual val String.intProperty get() = length
|
||||
actual val Planet.intProperty get() = diameter.toInt()
|
||||
|
||||
actual fun intFunction() = 42
|
||||
actual fun Int.intFunction() = this
|
||||
actual fun Short.intFunction() = toInt()
|
||||
actual fun Long.intFunction() = toInt()
|
||||
actual fun String.intFunction() = length
|
||||
actual fun Planet.intFunction() = diameter.toInt()
|
||||
|
||||
val mismatchedProperty1 get() = 42
|
||||
val Double.mismatchedProperty2 get() = 42
|
||||
|
||||
fun mismatchedFunction1() = 42
|
||||
fun Double.mismatchedFunction2() = 42
|
||||
|
||||
actual val <T> T.propertyWithTypeParameter1 get() = 42
|
||||
actual val <T : Any?> T.propertyWithTypeParameter2 get() = 42
|
||||
val <T : Any> T.propertyWithTypeParameter3 get() = 42
|
||||
actual val <T : CharSequence> T.propertyWithTypeParameter4 get() = length
|
||||
val <T : Appendable> T.propertyWithTypeParameter5: Int get() = length
|
||||
val <T : String> T.propertyWithTypeParameter6: Int get() = length
|
||||
val String.propertyWithTypeParameter7: Int get() = length
|
||||
val <Q> Q.propertyWithTypeParameter8 get() = 42
|
||||
val <T, Q> T.propertyWithTypeParameter9 get() = 42
|
||||
|
||||
actual fun <T> T.functionWithTypeParameter1() {}
|
||||
fun <Q> Q.functionWithTypeParameter2() {}
|
||||
fun <T, Q> T.functionWithTypeParameter3() {}
|
||||
fun <T, Q> Q.functionWithTypeParameter4() {}
|
||||
Reference in New Issue
Block a user