Skip to content

Commit 894053e

Browse files
author
S00003829
committed
update
1 parent 761b1ef commit 894053e

5 files changed

Lines changed: 2768 additions & 168 deletions

File tree

‎src/test/java/RuleConfigTest.java‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import com.chery.gb.realtime.algorithm.enums.NewGbRuleCodeEnum;
2+
import org.junit.Test;
3+
4+
import java.io.IOException;
5+
6+
/**
7+
* @author wugaoyang
8+
* @date 2025/11/3 星期一
9+
*
10+
*/
11+
public class RuleConfigTest {
12+
13+
@Test
14+
public void test() {
15+
16+
}
17+
18+
@Test
19+
public void test5() throws IOException {
20+
for (NewGbRuleCodeEnum value : NewGbRuleCodeEnum.values()) {
21+
System.out.println(" " +
22+
"/**\n" +
23+
"* " + value.getName() + "\n" +
24+
"* " + value.getDesc() + "\n" +
25+
"*/" +
26+
"@Test\n" +
27+
" public void test_" + value.getCode() + "() throws IOException {\n" +
28+
" SignalBO tmpl = BaseDataTest.getTmpl();\n" +
29+
" validate(tmpl);\n" +
30+
" }\n");
31+
}
32+
}
33+
34+
}

0 commit comments

Comments
 (0)