[Native][tests] Minor. Use "default" module name in AbstractNativeObjCExportTest
This commit is contained in:
committed by
Space Team
parent
82984d782a
commit
bb5c1eea90
+2
-1
@@ -12,6 +12,7 @@ import org.jetbrains.kotlin.konan.blackboxtest.support.compilation.TestCompilati
|
|||||||
import org.jetbrains.kotlin.konan.blackboxtest.support.compilation.TestCompilationResult.Companion.assertSuccess
|
import org.jetbrains.kotlin.konan.blackboxtest.support.compilation.TestCompilationResult.Companion.assertSuccess
|
||||||
import org.jetbrains.kotlin.konan.blackboxtest.support.runner.*
|
import org.jetbrains.kotlin.konan.blackboxtest.support.runner.*
|
||||||
import org.jetbrains.kotlin.konan.blackboxtest.support.settings.*
|
import org.jetbrains.kotlin.konan.blackboxtest.support.settings.*
|
||||||
|
import org.jetbrains.kotlin.konan.blackboxtest.support.util.DEFAULT_MODULE_NAME
|
||||||
import org.jetbrains.kotlin.konan.blackboxtest.support.util.getAbsoluteFile
|
import org.jetbrains.kotlin.konan.blackboxtest.support.util.getAbsoluteFile
|
||||||
import org.jetbrains.kotlin.test.services.JUnit5Assertions
|
import org.jetbrains.kotlin.test.services.JUnit5Assertions
|
||||||
import org.junit.jupiter.api.Assumptions
|
import org.junit.jupiter.api.Assumptions
|
||||||
@@ -58,7 +59,7 @@ abstract class AbstractNativeObjCExportTest : AbstractNativeSimpleTest() {
|
|||||||
|
|
||||||
private fun generateObjCFrameworkTestCase(testPathFull: File, sources: List<File>): TestCase {
|
private fun generateObjCFrameworkTestCase(testPathFull: File, sources: List<File>): TestCase {
|
||||||
val moduleName: String = testPathFull.name
|
val moduleName: String = testPathFull.name
|
||||||
val module = TestModule.Exclusive(moduleName, emptySet(), emptySet(), emptySet())
|
val module = TestModule.Exclusive(DEFAULT_MODULE_NAME, emptySet(), emptySet(), emptySet())
|
||||||
sources.forEach { module.files += TestFile.createCommitted(it, module) }
|
sources.forEach { module.files += TestFile.createCommitted(it, module) }
|
||||||
|
|
||||||
return TestCase(
|
return TestCase(
|
||||||
|
|||||||
Reference in New Issue
Block a user