声明式单类定义多组件的测试用例名称优化,便于识别

This commit is contained in:
everywhere.z 2022-09-18 00:05:08 +08:00
parent 55372f3149
commit 03b9713190
50 changed files with 97 additions and 101 deletions

View File

@ -23,10 +23,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/absoluteConfigPath/application.properties")
@SpringBootTest(classes = AbsoluteConfigPathELDeclSpringbootTest.class)
@SpringBootTest(classes = AbsoluteConfigPathELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.absoluteConfigPath.cmp"})
public class AbsoluteConfigPathELDeclSpringbootTest extends BaseTest {
public class AbsoluteConfigPathELDeclMultiSpringbootTest extends BaseTest {
private final Logger log = LoggerFactory.getLogger(this.getClass());

View File

@ -25,11 +25,11 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/aop/application.properties")
@SpringBootTest(classes = GlobalAOPELDeclSpringbootTest.class)
@SpringBootTest(classes = GlobalAOPELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@Import(CmpAspect.class)
@ComponentScan({"com.yomahub.liteflow.test.aop.cmp1","com.yomahub.liteflow.test.aop.cmp2"})
public class GlobalAOPELDeclSpringbootTest extends BaseTest {
public class GlobalAOPELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -25,10 +25,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/asyncNode/application.properties")
@SpringBootTest(classes = AsyncNodeELDeclSpringbootTest.class)
@SpringBootTest(classes = AsyncNodeELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.asyncNode.cmp"})
public class AsyncNodeELDeclSpringbootTest extends BaseTest {
public class AsyncNodeELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/base/application.properties")
@SpringBootTest(classes = BaseELDeclSpringbootTest.class)
@SpringBootTest(classes = BaseELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.base.cmp"})
public class BaseELDeclSpringbootTest extends BaseTest {
public class BaseELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -23,9 +23,9 @@ import javax.annotation.Resource;
//这里只是最基本的builder模式的测试只是为了验证在springboot模式下的正常性
//更详细的builder模式测试用例会单独拉testcase去做
@RunWith(SpringRunner.class)
@SpringBootTest(classes = BuilderELDeclSpringbootTest1.class)
@SpringBootTest(classes = BuilderELDeclMultiSpringbootTest1.class)
@EnableAutoConfiguration
public class BuilderELDeclSpringbootTest1 extends BaseTest {
public class BuilderELDeclMultiSpringbootTest1 extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -17,10 +17,10 @@ import javax.annotation.Resource;
//基于builder模式的单元测试
//这里测试的是通过spring去扫描但是通过代码去构建chain的用例
@RunWith(SpringRunner.class)
@SpringBootTest(classes = BuilderELDeclSpringbootTest2.class)
@SpringBootTest(classes = BuilderELDeclMultiSpringbootTest2.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.builder.cmp2"})
public class BuilderELDeclSpringbootTest2 extends BaseTest {
public class BuilderELDeclMultiSpringbootTest2 extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -22,10 +22,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/cmpRetry/application.properties")
@SpringBootTest(classes = LiteflowRetryELDeclSpringbootTest.class)
@SpringBootTest(classes = LiteflowRetryELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.cmpRetry.cmp"})
public class LiteflowRetryELDeclSpringbootTest extends BaseTest {
public class LiteflowRetryELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -17,10 +17,10 @@ import javax.annotation.Resource;
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/comments/application.properties")
@SpringBootTest(classes = LiteflowNodeELSpringbootTest.class)
@SpringBootTest(classes = LiteflowNodeELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.comments.cmp"})
public class LiteflowNodeELSpringbootTest extends BaseTest {
public class LiteflowNodeELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -1,4 +0,0 @@
/**
* 测试注释
*/
package com.yomahub.liteflow.test.comments;

View File

@ -20,10 +20,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/complex/application1.properties")
@SpringBootTest(classes = ComplexELDeclSpringbootTest1.class)
@SpringBootTest(classes = ComplexELDeclMultiSpringbootTest1.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.complex.cmp1"})
public class ComplexELDeclSpringbootTest1 extends BaseTest {
public class ComplexELDeclMultiSpringbootTest1 extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -20,10 +20,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/complex/application2.properties")
@SpringBootTest(classes = ComplexELDeclSpringbootTest2.class)
@SpringBootTest(classes = ComplexELDeclMultiSpringbootTest2.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.complex.cmp2"})
public class ComplexELDeclSpringbootTest2 extends BaseTest {
public class ComplexELDeclMultiSpringbootTest2 extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -25,11 +25,11 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/component/application.properties")
@SpringBootTest(classes = FlowExecutorELDeclSpringbootTest.class)
@SpringBootTest(classes = FlowExecutorELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.component.cmp1","com.yomahub.liteflow.test.component.cmp2"})
public class FlowExecutorELDeclSpringbootTest extends BaseTest {
private static final Logger LOG = LoggerFactory.getLogger(FlowExecutorELDeclSpringbootTest.class);
public class FlowExecutorELDeclMultiSpringbootTest extends BaseTest {
private static final Logger LOG = LoggerFactory.getLogger(FlowExecutorELDeclMultiSpringbootTest.class);
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/customMethodName/application.properties")
@SpringBootTest(classes = CustomMethodNameELDeclSpringbootTest.class)
@SpringBootTest(classes = CustomMethodNameELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.customMethodName.cmp"})
public class CustomMethodNameELDeclSpringbootTest extends BaseTest {
public class CustomMethodNameELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -24,10 +24,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/customNodes/application.properties")
@SpringBootTest(classes = CustomNodesELDeclSpringbootTest.class)
@SpringBootTest(classes = CustomNodesELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.customNodes.domain"})
public class CustomNodesELDeclSpringbootTest extends BaseTest {
public class CustomNodesELDeclMultiSpringbootTest extends BaseTest {
private final Logger log = LoggerFactory.getLogger(this.getClass());

View File

@ -25,10 +25,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/customWhenThreadPool/application.properties")
@SpringBootTest(classes = CustomWhenThreadPoolELDeclSpringbootTest.class)
@SpringBootTest(classes = CustomWhenThreadPoolELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.customWhenThreadPool.cmp"})
public class CustomWhenThreadPoolELDeclSpringbootTest extends BaseTest {
public class CustomWhenThreadPoolELDeclMultiSpringbootTest extends BaseTest {
private final Logger log = LoggerFactory.getLogger(this.getClass());

View File

@ -22,10 +22,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/event/application.properties")
@SpringBootTest(classes = EventELDeclSpringbootTest.class)
@SpringBootTest(classes = EventELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.event.cmp"})
public class EventELDeclSpringbootTest extends BaseTest {
public class EventELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -22,9 +22,9 @@ import javax.annotation.Resource;
* @author zendwang
*/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Exception1ELDeclSpringBootTest.class)
@SpringBootTest(classes = Exception1ELDeclMultiSpringBootTest.class)
@EnableAutoConfiguration
public class Exception1ELDeclSpringBootTest extends BaseTest {
public class Exception1ELDeclMultiSpringBootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -25,10 +25,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/exception/application.properties")
@SpringBootTest(classes = Exception2ELDeclSpringBootTest.class)
@SpringBootTest(classes = Exception2ELDeclMultiSpringBootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.exception.cmp"})
public class Exception2ELDeclSpringBootTest extends BaseTest {
public class Exception2ELDeclMultiSpringBootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -23,10 +23,10 @@ import java.util.concurrent.Future;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/execute2Future/application.properties")
@SpringBootTest(classes = Executor2FutureELDeclSpringbootTest.class)
@SpringBootTest(classes = Executor2FutureELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.execute2Future.cmp"})
public class Executor2FutureELDeclSpringbootTest extends BaseTest {
public class Executor2FutureELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/extend/application.properties")
@SpringBootTest(classes = CmpExtendELDeclSpringbootTest.class)
@SpringBootTest(classes = CmpExtendELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.extend.cmp"})
public class CmpExtendELDeclSpringbootTest extends BaseTest {
public class CmpExtendELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/getChainName/application.properties")
@SpringBootTest(classes = GetChainNameELDeclSpringbootTest.class)
@SpringBootTest(classes = GetChainNameELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.getChainName.cmp"})
public class GetChainNameELDeclSpringbootTest extends BaseTest {
public class GetChainNameELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/ifelse/application.properties")
@SpringBootTest(classes = IfElseELDeclSpringbootTest.class)
@SpringBootTest(classes = IfElseELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.ifelse.cmp"})
public class IfElseELDeclSpringbootTest extends BaseTest {
public class IfElseELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -8,7 +8,7 @@ import com.yomahub.liteflow.test.BaseTest;
@SpringBootTest(classes = LazyELDeclSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.lazy.cmp"})*/
public class LazyELDeclSpringbootTest extends BaseTest {
public class LazyELDeclMultiSpringbootTest extends BaseTest {
/*@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import org.springframework.test.context.junit4.SpringRunner;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/lfCmpAnno/application.properties")
@SpringBootTest(classes = LiteflowComponentELDeclSpringbootTest.class)
@SpringBootTest(classes = LiteflowComponentELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.lfCmpAnno.cmp"})
public class LiteflowComponentELDeclSpringbootTest extends BaseTest {
public class LiteflowComponentELDeclMultiSpringbootTest extends BaseTest {
@Autowired
private FlowExecutor flowExecutor;

View File

@ -24,10 +24,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/monitor/application.properties")
@SpringBootTest(classes = MonitorELDeclSpringbootTest.class)
@SpringBootTest(classes = MonitorELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.monitor.cmp"})
public class MonitorELDeclSpringbootTest extends BaseTest {
public class MonitorELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -24,10 +24,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/multiContext/application.properties")
@SpringBootTest(classes = MultiContextELDeclSpringbootTest.class)
@SpringBootTest(classes = MultiContextELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.multiContext.cmp"})
public class MultiContextELDeclSpringbootTest extends BaseTest {
public class MultiContextELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import org.springframework.test.context.junit4.SpringRunner;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/multipleType/application.properties")
@SpringBootTest(classes = LiteflowMultipleTypeELDeclSpringbootTest.class)
@SpringBootTest(classes = LiteflowMultipleTypeELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.multipleType.cmp"})
public class LiteflowMultipleTypeELDeclSpringbootTest extends BaseTest {
public class LiteflowMultipleTypeELDeclMultiSpringbootTest extends BaseTest {
@Autowired
private FlowExecutor flowExecutor;

View File

@ -24,10 +24,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/nodeExecutor/application.properties")
@SpringBootTest(classes = LiteflowNodeExecutorELDeclSpringbootTest.class)
@SpringBootTest(classes = LiteflowNodeExecutorELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.nodeExecutor.cmp"})
public class LiteflowNodeExecutorELDeclSpringbootTest extends BaseTest {
public class LiteflowNodeExecutorELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/parsecustom/application-custom-json.properties")
@SpringBootTest(classes = CustomParserJsonELDeclSpringbootTest.class)
@SpringBootTest(classes = CustomParserJsonELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.parsecustom.cmp"})
public class CustomParserJsonELDeclSpringbootTest extends BaseTest {
public class CustomParserJsonELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -22,10 +22,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/parsecustom/application-custom-xml.properties")
@SpringBootTest(classes = CustomParserXmlELDeclSpringbootTest.class)
@SpringBootTest(classes = CustomParserXmlELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.parsecustom.cmp","com.yomahub.liteflow.test.parsecustom.bean"})
public class CustomParserXmlELDeclSpringbootTest extends BaseTest {
public class CustomParserXmlELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/parser/application-json.properties")
@SpringBootTest(classes = JsonParserELDeclSpringbootTest.class)
@SpringBootTest(classes = JsonParserELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.parser.cmp"})
public class JsonParserELDeclSpringbootTest extends BaseTest {
public class JsonParserELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -16,10 +16,10 @@ import javax.annotation.Resource;
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/parser/application-springEL.properties")
@SpringBootTest(classes = SpringELSupportELDeclSpringbootTest.class)
@SpringBootTest(classes = SpringELSupportELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.parser.cmp"})
public class SpringELSupportELDeclSpringbootTest extends BaseTest {
public class SpringELSupportELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/parser/application-xml.properties")
@SpringBootTest(classes = XmlParserELDeclSpringbootTest.class)
@SpringBootTest(classes = XmlParserELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.parser.cmp"})
public class XmlParserELDeclSpringbootTest extends BaseTest {
public class XmlParserELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/parser/application-yml.properties")
@SpringBootTest(classes = YmlParserELDeclSpringbootTest.class)
@SpringBootTest(classes = YmlParserELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.parser.cmp"})
public class YmlParserELDeclSpringbootTest extends BaseTest {
public class YmlParserELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -22,10 +22,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/preAndFinally/application.properties")
@SpringBootTest(classes = PreAndFinallyELDeclSpringbootTest.class)
@SpringBootTest(classes = PreAndFinallyELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.preAndFinally.cmp"})
public class PreAndFinallyELDeclSpringbootTest extends BaseTest {
public class PreAndFinallyELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -23,10 +23,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/privateDelivery/application.properties")
@SpringBootTest(classes = PrivateDeliveryELDeclSpringbootTest.class)
@SpringBootTest(classes = PrivateDeliveryELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.privateDelivery.cmp"})
public class PrivateDeliveryELDeclSpringbootTest extends BaseTest {
public class PrivateDeliveryELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -24,10 +24,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/refreshRule/application.properties")
@SpringBootTest(classes = RefreshRuleELDeclSpringbootTest.class)
@SpringBootTest(classes = RefreshRuleELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.refreshRule.cmp"})
public class RefreshRuleELDeclSpringbootTest extends BaseTest {
public class RefreshRuleELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -21,10 +21,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/reload/application.properties")
@SpringBootTest(classes = ReloadELDeclSpringbootTest.class)
@SpringBootTest(classes = ReloadELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.reload.cmp"})
public class ReloadELDeclSpringbootTest extends BaseTest {
public class ReloadELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -19,10 +19,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/requestId/application.properties")
@SpringBootTest(classes = LiteflowRequestIdELDeclSpringbootTest.class)
@SpringBootTest(classes = LiteflowRequestIdELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.requestId.cmp"})
public class LiteflowRequestIdELDeclSpringbootTest extends BaseTest {
public class LiteflowRequestIdELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -25,10 +25,10 @@ import java.util.Set;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/subflow/application-implicit.properties")
@SpringBootTest(classes = ImplicitSubFlowELDeclSpringbootTest.class)
@SpringBootTest(classes = ImplicitSubFlowELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.subflow.cmp2"})
public class ImplicitSubFlowELDeclSpringbootTest extends BaseTest {
public class ImplicitSubFlowELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -25,10 +25,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/subflow/application-subInDifferentConfig1.properties")
@SpringBootTest(classes = SubflowInDifferentConfigELDeclSpringbootTest.class)
@SpringBootTest(classes = SubflowInDifferentConfigELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.subflow.cmp1","com.yomahub.liteflow.test.subflow.cmp2"})
public class SubflowInDifferentConfigELDeclSpringbootTest extends BaseTest {
public class SubflowInDifferentConfigELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -22,10 +22,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/subflow/application-json.properties")
@SpringBootTest(classes = SubflowJsonELDeclSpringBootTest.class)
@SpringBootTest(classes = SubflowJsonELDeclMultiSpringBootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.subflow.cmp1"})
public class SubflowJsonELDeclSpringBootTest extends BaseTest {
public class SubflowJsonELDeclMultiSpringBootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -22,10 +22,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/subflow/application-xml.properties")
@SpringBootTest(classes = SubflowXMLELDeclSpringBootTest.class)
@SpringBootTest(classes = SubflowXMLELDeclMultiSpringBootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.subflow.cmp1"})
public class SubflowXMLELDeclSpringBootTest extends BaseTest {
public class SubflowXMLELDeclMultiSpringBootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -22,10 +22,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/subflow/application-yml.properties")
@SpringBootTest(classes = SubflowYmlELDeclSpringBootTest.class)
@SpringBootTest(classes = SubflowYmlELDeclMultiSpringBootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.subflow.cmp1"})
public class SubflowYmlELDeclSpringBootTest extends BaseTest {
public class SubflowYmlELDeclMultiSpringBootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -11,7 +11,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import java.util.HashSet;
import java.util.Set;
import static com.yomahub.liteflow.test.subflow.ImplicitSubFlowELDeclSpringbootTest.RUN_TIME_SLOT;
import static com.yomahub.liteflow.test.subflow.ImplicitSubFlowELDeclMultiSpringbootTest.RUN_TIME_SLOT;
@LiteflowComponent
public class CmpConfig2 {

View File

@ -23,10 +23,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/tag/application-json.properties")
@SpringBootTest(classes = NodeTagELDeclSpringbootJsonTest.class)
@SpringBootTest(classes = NodeTagELDeclMultiSpringbootJsonTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.tag.cmp"})
public class NodeTagELDeclSpringbootJsonTest extends BaseTest {
public class NodeTagELDeclMultiSpringbootJsonTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -23,10 +23,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/tag/application-xml.properties")
@SpringBootTest(classes = NodeTagELDeclSpringbootXmlTest.class)
@SpringBootTest(classes = NodeTagELDeclMultiSpringbootXmlTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.tag.cmp"})
public class NodeTagELDeclSpringbootXmlTest extends BaseTest {
public class NodeTagELDeclMultiSpringbootXmlTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -22,10 +22,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/useTTLInWhen/application.properties")
@SpringBootTest(classes = UseTTLInWhenELDeclSpringbootTest.class)
@SpringBootTest(classes = UseTTLInWhenELDeclMultiSpringbootTest.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.useTTLInWhen.cmp"})
public class UseTTLInWhenELDeclSpringbootTest extends BaseTest {
public class UseTTLInWhenELDeclMultiSpringbootTest extends BaseTest {
@Resource
private FlowExecutor flowExecutor;

View File

@ -24,10 +24,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/whenTimeOut/application1.properties")
@SpringBootTest(classes = WhenTimeOutELDeclSpringbootTest1.class)
@SpringBootTest(classes = WhenTimeOutELDeclMultiSpringbootTest1.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.whenTimeOut.cmp"})
public class WhenTimeOutELDeclSpringbootTest1 extends BaseTest {
public class WhenTimeOutELDeclMultiSpringbootTest1 extends BaseTest {
private final Logger log = LoggerFactory.getLogger(this.getClass());

View File

@ -23,10 +23,10 @@ import javax.annotation.Resource;
*/
@RunWith(SpringRunner.class)
@TestPropertySource(value = "classpath:/whenTimeOut/application2.properties")
@SpringBootTest(classes = WhenTimeOutELDeclSpringbootTest2.class)
@SpringBootTest(classes = WhenTimeOutELDeclMultiSpringbootTest2.class)
@EnableAutoConfiguration
@ComponentScan({"com.yomahub.liteflow.test.whenTimeOut.cmp"})
public class WhenTimeOutELDeclSpringbootTest2 extends BaseTest {
public class WhenTimeOutELDeclMultiSpringbootTest2 extends BaseTest {
private final Logger log = LoggerFactory.getLogger(this.getClass());