补充测试用例

This commit is contained in:
bryan31
2022-03-08 01:26:20 +08:00
parent 7e41ee441d
commit e03e81fa25
12 changed files with 13 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ import javax.annotation.Resource;
/**
* 测试springboot下的节点执行器
* 测试spring下的节点执行器
* @author Bryan.Zhang
* @since 2.5.10
*/

View File

@@ -12,7 +12,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
/**
* springboot环境下参数单元测试
* spring环境下参数单元测试
* @author zendwang
* @since 2.5.0
*/

View File

@@ -11,7 +11,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
/**
* 测试springboot下混合格式规则的场景
* 测试spring下混合格式规则的场景
* @author Bryan.Zhang
* @since 2.5.10
*/

View File

@@ -26,7 +26,7 @@ public class CustomParserJsonTest extends BaseTest {
flowExecutor = FlowExecutorHolder.loadInstance(config);
}
//测试springboot场景的自定义json parser
//测试spring场景的自定义json parser
@Test
public void testJsonCustomParser() {
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "args");

View File

@@ -26,7 +26,7 @@ public class CustomParserXmlTest extends BaseTest {
flowExecutor = FlowExecutorHolder.loadInstance(config);
}
//测试springboot场景的自定义json parser
//测试spring场景的自定义json parser
@Test
public void testXmlCustomParser() {
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "args");

View File

@@ -4,7 +4,7 @@ import com.yomahub.liteflow.parser.ClassXmlFlowParser;
/**
* 非spring环境的自定义xml parser单元测试
* 主要测试自定义配置源类是否能引入springboot中的其他依赖
* 主要测试自定义配置源类是否能引入spring中的其他依赖
* @author bryan.zhang
* @since 2.5.7
*/

View File

@@ -26,7 +26,7 @@ public class XmlParserTest extends BaseTest {
flowExecutor = FlowExecutorHolder.loadInstance(config);
}
//测试无springboot场景的xml parser
//测试无spring场景的xml parser
@Test
public void testXmlParser() {
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg");

View File

@@ -11,7 +11,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
/**
* springboot下的yml parser测试用例
* spring下的yml parser测试用例
* @author Bryan.Zhang
* @since 2.5.0
*/
@@ -26,7 +26,7 @@ public class YmlParserTest extends BaseTest {
flowExecutor = FlowExecutorHolder.loadInstance(config);
}
//测试无springboot场景的yml parser
//测试无spring场景的yml parser
@Test
public void testYmlParser() {
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain2", "arg");

View File

@@ -20,7 +20,7 @@ import java.util.concurrent.Executors;
import java.util.concurrent.Future;
/**
* springboot环境下slot扩容测试
* spring环境下slot扩容测试
* @author Bryan.Zhang
* @since 2.5.0
*/

View File

@@ -19,7 +19,7 @@ import java.nio.charset.Charset;
import java.util.concurrent.CountDownLatch;
/**
* springboot环境下的zk配置源功能测试
* spring环境下的zk配置源功能测试
* ZK节点存储数据的格式为json文件
* @author zendwang
* @since 2.5.0

View File

@@ -19,7 +19,7 @@ import java.nio.charset.Charset;
import java.util.concurrent.CountDownLatch;
/**
* springboot环境下的zk配置源功能测试
* spring环境下的zk配置源功能测试
* ZK节点存储数据的格式为xml文件
* @author zendwang
* @since 2.5.0

View File

@@ -19,7 +19,7 @@ import java.nio.charset.Charset;
import java.util.concurrent.CountDownLatch;
/**
* springboot环境下的zk配置源功能测试
* spring环境下的zk配置源功能测试
* ZK节点存储数据的格式为yml文件
* @author zendwang
* @since 2.5.0