diff --git a/liteflow-solon-plugin/pom.xml b/liteflow-solon-plugin/pom.xml index 396986800..81e49ef31 100644 --- a/liteflow-solon-plugin/pom.xml +++ b/liteflow-solon-plugin/pom.xml @@ -27,13 +27,6 @@ liteflow-core ${revision} - - - org.noear - solon-test - ${solon.version} - test - diff --git a/liteflow-solon-plugin/src/test/java/demo/TestApp.java b/liteflow-solon-plugin/src/test/java/demo/TestApp.java deleted file mode 100644 index 8cba950e8..000000000 --- a/liteflow-solon-plugin/src/test/java/demo/TestApp.java +++ /dev/null @@ -1,30 +0,0 @@ -package demo; - -import com.yomahub.liteflow.core.FlowExecutor; -import com.yomahub.liteflow.flow.LiteflowResponse; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.noear.snack.ONode; -import org.noear.solon.annotation.Inject; -import org.noear.solon.test.SolonJUnit4ClassRunner; -import org.noear.solon.test.SolonTest; -import org.noear.solon.test.annotation.TestPropertySource; - -/** - * @author noear 2022/9/21 created - */ - -@RunWith(SolonJUnit4ClassRunner.class) -@TestPropertySource("classpath:demo/app.yml") -public class TestApp { - @Inject - FlowExecutor flowExecutor; - - @Test - public void test() throws Exception{ - LiteflowResponse response = flowExecutor.execute2Resp("chain1", "arg"); - System.out.println(ONode.stringify(response)); - - assert response.isSuccess(); - } -} diff --git a/liteflow-solon-plugin/src/test/java/demo/nodes/ACmp.java b/liteflow-solon-plugin/src/test/java/demo/nodes/ACmp.java deleted file mode 100644 index 96072bc38..000000000 --- a/liteflow-solon-plugin/src/test/java/demo/nodes/ACmp.java +++ /dev/null @@ -1,18 +0,0 @@ -package demo.nodes; - -import com.yomahub.liteflow.annotation.LiteflowComponent; -import com.yomahub.liteflow.core.NodeComponent; -import org.noear.solon.annotation.Component; - -/** - * @author noear 2022/9/21 created - */ -@Component("a") -public class ACmp extends NodeComponent { - - @Override - public void process() { - //do your business - System.out.println(this.getClass().getName()); - } -} diff --git a/liteflow-solon-plugin/src/test/java/demo/nodes/BCmp.java b/liteflow-solon-plugin/src/test/java/demo/nodes/BCmp.java deleted file mode 100644 index 6fa0e4c4a..000000000 --- a/liteflow-solon-plugin/src/test/java/demo/nodes/BCmp.java +++ /dev/null @@ -1,19 +0,0 @@ -package demo.nodes; - -import com.yomahub.liteflow.annotation.LiteflowComponent; -import com.yomahub.liteflow.core.NodeComponent; -import org.noear.solon.annotation.Component; - -/** - * @author noear 2022/9/21 created - */ -@Component("b") -public class BCmp extends NodeComponent { - - @Override - public void process() { - //do your business - System.out.println(this.getClass().getName()); - } -} - diff --git a/liteflow-solon-plugin/src/test/java/demo/nodes/CCmp.java b/liteflow-solon-plugin/src/test/java/demo/nodes/CCmp.java deleted file mode 100644 index 21d4cdf91..000000000 --- a/liteflow-solon-plugin/src/test/java/demo/nodes/CCmp.java +++ /dev/null @@ -1,18 +0,0 @@ -package demo.nodes; - -import com.yomahub.liteflow.annotation.LiteflowComponent; -import com.yomahub.liteflow.core.NodeComponent; -import org.noear.solon.annotation.Component; - -/** - * @author noear 2022/9/21 created - */ -@Component("c") -public class CCmp extends NodeComponent { - - @Override - public void process() { - //do your business - System.out.println(this.getClass().getName()); - } -} diff --git a/liteflow-solon-plugin/src/test/resources/demo/app.yml b/liteflow-solon-plugin/src/test/resources/demo/app.yml deleted file mode 100644 index c261a253f..000000000 --- a/liteflow-solon-plugin/src/test/resources/demo/app.yml +++ /dev/null @@ -1,3 +0,0 @@ - - -liteflow.rule-source: "demo/flow.xml" \ No newline at end of file diff --git a/liteflow-solon-plugin/src/test/resources/demo/flow.xml b/liteflow-solon-plugin/src/test/resources/demo/flow.xml deleted file mode 100644 index 049210cf4..000000000 --- a/liteflow-solon-plugin/src/test/resources/demo/flow.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - THEN(a, b, c); - - \ No newline at end of file diff --git a/liteflow-testcase-el/liteflow-testcase-el-solon/pom.xml b/liteflow-testcase-el/liteflow-testcase-el-solon/pom.xml index f36a7f16b..f4ff667bf 100644 --- a/liteflow-testcase-el/liteflow-testcase-el-solon/pom.xml +++ b/liteflow-testcase-el/liteflow-testcase-el-solon/pom.xml @@ -24,6 +24,12 @@ solon-test ${solon.version} test + + + junit-jupiter + org.junit.jupiter + + org.aspectj diff --git a/liteflow-testcase-el/pom.xml b/liteflow-testcase-el/pom.xml index 0bd044434..9728d23e3 100644 --- a/liteflow-testcase-el/pom.xml +++ b/liteflow-testcase-el/pom.xml @@ -18,7 +18,7 @@ liteflow-testcase-el-springboot liteflow-testcase-el-springnative liteflow-testcase-el-nospring - liteflow-testcase-el-solon + liteflow-testcase-el-declare-springboot liteflow-testcase-el-declare-multi-springboot liteflow-testcase-el-script-groovy-springboot