补充测试用例

This commit is contained in:
bryan31
2022-02-28 00:52:09 +08:00
parent 7d0b220d0d
commit e8c24e41e1
12 changed files with 317 additions and 8 deletions

View File

@@ -48,11 +48,11 @@ public class ComponentSpringTest extends BaseTest {
}
//isContinueOnError方法的功能点测试
@Test(expected = UndeclaredThrowableException.class)
@Test
public void testIsContinueOnError() throws Exception {
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain3", 0);
Assert.assertTrue(response.isSuccess());
ReflectionUtils.rethrowException(response.getCause());
Assert.assertNull(response.getCause());
}
//isEnd方法的功能点测试