[K/N] Implement ObjCExportNamerTest and ObjCExportMapperTest

... to provide simple and quick validation
for their corresponding entities.

Those tests can also act as convenient entry points
for debugging.
This commit is contained in:
Sebastian Sellmair
2023-11-23 13:23:37 +01:00
committed by Space Team
parent 269b60b420
commit 04df33eec1
9 changed files with 571 additions and 91 deletions
+5 -1
View File
@@ -189,6 +189,9 @@ dependencies {
cli_bcApiElements sourceSets.cli_bc.output
testImplementation(project(path: ":compiler:tests-common", configuration: "tests-jar"))
testImplementation(libs.junit.jupiter.api)
testImplementation(libs.junit.jupiter.params)
testRuntimeOnly(libs.junit.jupiter.engine)
}
classes.dependsOn 'compilerClasses', 'cli_bcClasses'
@@ -254,9 +257,10 @@ RepoArtifacts.javadocJar(project)
Configure 'test' task
*/
TasksKt.projectTest(project)
TasksKt.projectTest(project, JUnitMode.JUnit5)
tasks {
test {
useJUnitPlatform()
dependsOn ':kotlin-native:dist'
systemProperty("org.jetbrains.kotlin.native.home", distDir.canonicalPath)
workingDir(rootProject.projectDir)