[Native][tests] Regenerate test classes

This commit is contained in:
Dmitriy Dolovov
2021-12-13 09:46:56 +03:00
parent c3a422105d
commit 56e64d78e3
2 changed files with 1180 additions and 561 deletions
@@ -7,6 +7,8 @@ package org.jetbrains.kotlin.konan.blackboxtest;
import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.test.util.KtTestUtil;
import org.junit.jupiter.api.Tag;
import org.jetbrains.kotlin.konan.blackboxtest.support.group.UseStandardTestCaseGroupProvider;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
@@ -16,10 +18,12 @@ import java.util.regex.Pattern;
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
@SuppressWarnings("all")
public class NativeBlackBoxTestGenerated extends AbstractNativeBlackBoxTest {
public class InfrastructureTestGenerated extends AbstractNativeBlackBoxTest {
@Nested
@TestMetadata("native/native.tests/testData/samples")
@TestDataPath("$PROJECT_ROOT")
@Tag("infrastructure")
@UseStandardTestCaseGroupProvider()
public class Samples {
@Test
public void testAllFilesPresentInSamples() throws Exception {
@@ -86,24 +90,54 @@ public class NativeBlackBoxTestGenerated extends AbstractNativeBlackBoxTest {
runTest("native/native.tests/testData/samples/regular_simple.kt");
}
@Test
@TestMetadata("regular_simple_default_tr.kt")
public void testRegular_simple_default_tr() throws Exception {
runTest("native/native.tests/testData/samples/regular_simple_default_tr.kt");
}
@Test
@TestMetadata("regular_simple_explicit_kind.kt")
public void testRegular_simple_explicit_kind() throws Exception {
runTest("native/native.tests/testData/samples/regular_simple_explicit_kind.kt");
}
@Test
@TestMetadata("regular_simple_noexit_tr.kt")
public void testRegular_simple_noexit_tr() throws Exception {
runTest("native/native.tests/testData/samples/regular_simple_noexit_tr.kt");
}
@Test
@TestMetadata("regular_simple_with_output.kt")
public void testRegular_simple_with_output() throws Exception {
runTest("native/native.tests/testData/samples/regular_simple_with_output.kt");
}
@Test
@TestMetadata("regular_simple_worker_tr.kt")
public void testRegular_simple_worker_tr() throws Exception {
runTest("native/native.tests/testData/samples/regular_simple_worker_tr.kt");
}
@Test
@TestMetadata("standalone_multifile.kt")
public void testStandalone_multifile() throws Exception {
runTest("native/native.tests/testData/samples/standalone_multifile.kt");
}
@Test
@TestMetadata("standalone_notr_long_running.kt")
public void testStandalone_notr_long_running() throws Exception {
runTest("native/native.tests/testData/samples/standalone_notr_long_running.kt");
}
@Test
@TestMetadata("standalone_notr_long_running_and_verbose.kt")
public void testStandalone_notr_long_running_and_verbose() throws Exception {
runTest("native/native.tests/testData/samples/standalone_notr_long_running_and_verbose.kt");
}
@Test
@TestMetadata("standalone_notr_multifile_entry_point.kt")
public void testStandalone_notr_multifile_entry_point() throws Exception {
@@ -146,21 +180,47 @@ public class NativeBlackBoxTestGenerated extends AbstractNativeBlackBoxTest {
runTest("native/native.tests/testData/samples/standalone_notr_simple_with_output.kt");
}
@Test
@TestMetadata("standalone_notr_too_verbose.kt")
public void testStandalone_notr_too_verbose() throws Exception {
runTest("native/native.tests/testData/samples/standalone_notr_too_verbose.kt");
}
@Test
@TestMetadata("standalone_simple.kt")
public void testStandalone_simple() throws Exception {
runTest("native/native.tests/testData/samples/standalone_simple.kt");
}
@Test
@TestMetadata("standalone_simple_default_tr.kt")
public void testStandalone_simple_default_tr() throws Exception {
runTest("native/native.tests/testData/samples/standalone_simple_default_tr.kt");
}
@Test
@TestMetadata("standalone_simple_noexit_tr.kt")
public void testStandalone_simple_noexit_tr() throws Exception {
runTest("native/native.tests/testData/samples/standalone_simple_noexit_tr.kt");
}
@Test
@TestMetadata("standalone_simple_with_output.kt")
public void testStandalone_simple_with_output() throws Exception {
runTest("native/native.tests/testData/samples/standalone_simple_with_output.kt");
}
@Test
@TestMetadata("standalone_simple_worker_tr.kt")
public void testStandalone_simple_worker_tr() throws Exception {
runTest("native/native.tests/testData/samples/standalone_simple_worker_tr.kt");
}
@Nested
@TestMetadata("native/native.tests/testData/samples/inner")
@TestDataPath("$PROJECT_ROOT")
@Tag("infrastructure")
@UseStandardTestCaseGroupProvider()
public class Inner {
@Test
public void testAllFilesPresentInInner() throws Exception {
@@ -178,6 +238,8 @@ public class NativeBlackBoxTestGenerated extends AbstractNativeBlackBoxTest {
@Nested
@TestMetadata("native/native.tests/testData/samples2")
@TestDataPath("$PROJECT_ROOT")
@Tag("infrastructure")
@UseStandardTestCaseGroupProvider()
public class Samples2 {
@Test
public void testAllFilesPresentInSamples2() throws Exception {