diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/SwiftExportTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/SwiftExportTestGenerated.java new file mode 100644 index 00000000000..9ddd179a7f9 --- /dev/null +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/SwiftExportTestGenerated.java @@ -0,0 +1,32 @@ +/* + * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.konan.test.blackbox; + +import com.intellij.testFramework.TestDataPath; +import org.jetbrains.kotlin.test.util.KtTestUtil; +import org.jetbrains.kotlin.test.TestMetadata; +import org.junit.jupiter.api.Nested; +import org.junit.jupiter.api.Test; + +import java.io.File; +import java.util.regex.Pattern; + +/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.GenerateNativeTestsKt}. DO NOT MODIFY MANUALLY */ +@SuppressWarnings("all") +@TestMetadata("native/native.tests/testData/SwiftExport") +@TestDataPath("$PROJECT_ROOT") +public class SwiftExportTestGenerated extends AbstractNativeSwiftExportTest { + @Test + public void testAllFilesPresentInSwiftExport() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("native/native.tests/testData/SwiftExport"), Pattern.compile("^([^_](.+))$"), null, false); + } + + @Test + @TestMetadata("smokes") + public void testSmokes() throws Exception { + runTest("native/native.tests/testData/SwiftExport/smokes/"); + } +} diff --git a/native/native.tests/tests/org/jetbrains/kotlin/generators/tests/GenerateNativeTests.kt b/native/native.tests/tests/org/jetbrains/kotlin/generators/tests/GenerateNativeTests.kt index ee6c0289569..04632bad746 100644 --- a/native/native.tests/tests/org/jetbrains/kotlin/generators/tests/GenerateNativeTests.kt +++ b/native/native.tests/tests/org/jetbrains/kotlin/generators/tests/GenerateNativeTests.kt @@ -508,6 +508,11 @@ fun main() { ) { model("SwiftExport", pattern = "^([^_](.+))$", recursive = false) } + testClass( + suiteTestClassName = "SwiftExportTestGenerated", + ) { + model("SwiftExport", pattern = "^([^_](.+))$", recursive = false) + } } } }