Sfoglia il codice sorgente

删除emptyFlow的测试用例

everywhere.z 2 anni fa
parent
commit
e0437319d1

+ 0 - 30
liteflow-testcase-el/liteflow-testcase-el-nospring/src/test/java/com/yomahub/liteflow/test/emptyflow/EmptyFlowTest.java

@@ -1,30 +0,0 @@
-package com.yomahub.liteflow.test.emptyflow;
-
-import com.yomahub.liteflow.core.FlowExecutor;
-import com.yomahub.liteflow.core.FlowExecutorHolder;
-import com.yomahub.liteflow.property.LiteflowConfig;
-import com.yomahub.liteflow.test.BaseTest;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-/**
- * 切面场景单元测试
- * @author Bryan.Zhang
- */
-public class EmptyFlowTest extends BaseTest {
-
-    private static FlowExecutor flowExecutor;
-
-    @BeforeClass
-    public static void init(){
-        LiteflowConfig config = new LiteflowConfig();
-        config.setRuleSource("emptyFlow/flow.el.xml");
-        flowExecutor = FlowExecutorHolder.loadInstance(config);
-    }
-
-    //测试空flow的情况下,liteflow是否能正常启动
-    @Test
-    public void testEmptyFlow() {
-        //不做任何事,为的是能正常启动
-    }
-}

+ 0 - 0
liteflow-testcase-el/liteflow-testcase-el-nospring/src/test/resources/emptyFlow/flow.el.xml


+ 0 - 28
liteflow-testcase-el/liteflow-testcase-el-springnative/src/test/java/com/yomahub/liteflow/test/emptyflow/EmptyFlowELSpringTest.java

@@ -1,28 +0,0 @@
-package com.yomahub.liteflow.test.emptyflow;
-
-import com.yomahub.liteflow.core.FlowExecutor;
-import com.yomahub.liteflow.test.BaseTest;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.test.context.ContextConfiguration;
-import org.springframework.test.context.junit4.SpringRunner;
-
-import javax.annotation.Resource;
-
-/**
- * 切面场景单元测试
- * @author Bryan.Zhang
- */
-@RunWith(SpringRunner.class)
-@ContextConfiguration("classpath:/emptyFlow/application.xml")
-public class EmptyFlowELSpringTest extends BaseTest {
-
-    @Resource
-    private FlowExecutor flowExecutor;
-
-    //测试空flow的情况下,liteflow是否能正常启动
-    @Test
-    public void testEmptyFlow() {
-        //不做任何事,为的是能正常启动
-    }
-}

+ 0 - 21
liteflow-testcase-el/liteflow-testcase-el-springnative/src/test/resources/emptyFlow/application.xml

@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns="http://www.springframework.org/schema/beans"
-       xmlns:context="http://www.springframework.org/schema/context"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans
-       http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
-       http://www.springframework.org/schema/context
-       http://www.springframework.org/schema/context/spring-context-4.0.xsd">
-
-    <bean id="springAware" class="com.yomahub.liteflow.spi.spring.SpringAware"/>
-
-    <bean class="com.yomahub.liteflow.spring.ComponentScanner"/>
-
-    <bean id="liteflowConfig" class="com.yomahub.liteflow.property.LiteflowConfig">
-        <property name="ruleSource" value="emptyFlow/flow.el.xml"/>
-    </bean>
-
-    <bean id="flowExecutor" class="com.yomahub.liteflow.core.FlowExecutor">
-        <constructor-arg name="liteflowConfig" ref="liteflowConfig"/>
-    </bean>
-</beans>

+ 0 - 0
liteflow-testcase-el/liteflow-testcase-el-springnative/src/test/resources/emptyFlow/flow.el.xml