[Swift export][Tests] Enable K1 version of tests
rrn prefix mostly uses K1, so we need to do so
This commit is contained in:
committed by
Space Team
parent
ef232ebec7
commit
3d0c9f9edd
native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/SwiftExportTestGenerated.java
Generated
+32
@@ -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/");
|
||||
}
|
||||
}
|
||||
@@ -508,6 +508,11 @@ fun main() {
|
||||
) {
|
||||
model("SwiftExport", pattern = "^([^_](.+))$", recursive = false)
|
||||
}
|
||||
testClass<AbstractNativeSwiftExportTest>(
|
||||
suiteTestClassName = "SwiftExportTestGenerated",
|
||||
) {
|
||||
model("SwiftExport", pattern = "^([^_](.+))$", recursive = false)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user