mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
增加tag的测试用例
This commit is contained in:
@@ -44,4 +44,10 @@ public class NodeTagSpringbootTest extends BaseTest {
|
||||
Assert.assertTrue(response.isSuccess());
|
||||
Assert.assertEquals("a==>a==>a==>c==>e", response.getSlot().printStep());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTag3() throws Exception{
|
||||
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain3", "arg");
|
||||
Assert.assertTrue(response.isSuccess());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,8 @@
|
||||
<chain name="chain2">
|
||||
<then value="a[1],a[2],a[3],c[2](d[5]|e[6])"/>
|
||||
</chain>
|
||||
|
||||
<chain name="chain3">
|
||||
<when value="b[1],b[2],b[3]"/>
|
||||
</chain>
|
||||
</flow>
|
||||
Reference in New Issue
Block a user