Skip to content

Commit 3ab334f

Browse files
committed
TestRunner Generated
1 parent aa26d5c commit 3ab334f

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
2+
3+
package love.forte.plugin.suspendtrans.runners;
4+
5+
import com.intellij.testFramework.TestDataPath;
6+
import org.jetbrains.kotlin.test.TestMetadata;
7+
import org.jetbrains.kotlin.test.util.KtTestUtil;
8+
import org.junit.jupiter.api.Test;
9+
10+
import java.io.File;
11+
import java.util.regex.Pattern;
12+
13+
/** This class is generated by {@link love.forte.plugin.suspendtrans.GenerateTestsKt}. DO NOT MODIFY MANUALLY */
14+
@SuppressWarnings("all")
15+
@TestMetadata("src/testData/codegen")
16+
@TestDataPath("$PROJECT_ROOT")
17+
public class CodeGenTestRunnerGenerated extends AbstractCodeGenTestRunner {
18+
@Test
19+
public void testAllFilesPresentInCodegen() throws Exception {
20+
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("src/testData/codegen"), Pattern.compile("^(.+)\\.kt$"), null, true);
21+
}
22+
23+
@Test
24+
@TestMetadata("asProperty.kt")
25+
public void testAsProperty() throws Exception {
26+
runTest("src/testData/codegen/asProperty.kt");
27+
}
28+
29+
@Test
30+
@TestMetadata("basic.kt")
31+
public void testBasic() throws Exception {
32+
runTest("src/testData/codegen/basic.kt");
33+
}
34+
35+
@Test
36+
@TestMetadata("override.kt")
37+
public void testOverride() throws Exception {
38+
runTest("src/testData/codegen/override.kt");
39+
}
40+
41+
@Test
42+
@TestMetadata("typeAttr.kt")
43+
public void testTypeAttr() throws Exception {
44+
runTest("src/testData/codegen/typeAttr.kt");
45+
}
46+
}

0 commit comments

Comments
 (0)