优化测试用例,补充注释

This commit is contained in:
everywhere.z 2022-11-07 18:47:23 +08:00
parent 9f904eae00
commit 29be7d602a
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ public class SwitchELSpringbootTest extends BaseTest {
Assert.assertEquals("a==>f==>b",response.getExecuteStepStr());
}
//根据tag来跳转指定哪个组件的tag
@Test
public void testSwitch4() throws Exception{
LiteflowResponse response = flowExecutor.execute2Resp("chain4", "arg");
@ -59,6 +60,7 @@ public class SwitchELSpringbootTest extends BaseTest {
Assert.assertEquals("a==>g==>d",response.getExecuteStepStr());
}
//tag的跳转
@Test
public void testSwitch5() throws Exception{
LiteflowResponse response = flowExecutor.execute2Resp("chain5", "arg");