Add an IR version of Android Extensions blackbox tests

This commit is contained in:
pyos
2020-01-14 13:05:50 +01:00
committed by Yan Zhulanow
parent 4094841dc6
commit ca3c1d04c5
5 changed files with 176 additions and 0 deletions
@@ -12,6 +12,7 @@ import org.jetbrains.kotlin.allopen.AbstractBytecodeListingTestForAllOpen
import org.jetbrains.kotlin.android.parcel.AbstractParcelBytecodeListingTest
import org.jetbrains.kotlin.android.synthetic.test.AbstractAndroidBoxTest
import org.jetbrains.kotlin.android.synthetic.test.AbstractAndroidBytecodeShapeTest
import org.jetbrains.kotlin.android.synthetic.test.AbstractAndroidIrBoxTest
import org.jetbrains.kotlin.android.synthetic.test.AbstractAndroidSyntheticPropertyDescriptorTest
import org.jetbrains.kotlin.asJava.classes.AbstractUltraLightClassLoadingTest
import org.jetbrains.kotlin.asJava.classes.AbstractUltraLightClassSanityTest
@@ -1262,6 +1263,17 @@ fun main(args: Array<String>) {
model("codegen/android", recursive = false, extension = null, testMethod = "doFakeInvocationTest", testClassName = "Invoke")
}
testClass<AbstractAndroidIrBoxTest> {
model(
"codegen/android", recursive = false, extension = null, testMethod = "doCompileAgainstAndroidSdkTest",
targetBackend = TargetBackend.JVM_IR
)
model(
"codegen/android", recursive = false, extension = null, testMethod = "doFakeInvocationTest", testClassName = "Invoke",
targetBackend = TargetBackend.JVM_IR
)
}
testClass<AbstractAndroidBytecodeShapeTest> {
model("codegen/bytecodeShape", recursive = false, extension = null)
}