From ef6f53bd08d244cdd8ff760cd4bc81571cdf382e Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Fri, 21 Feb 2025 17:31:53 +0800 Subject: [PATCH] =?UTF-8?q?feature=20#IBL9CK=20=E5=A2=9E=E5=8A=A0bind?= =?UTF-8?q?=E5=85=B3=E9=94=AE=E5=AD=97=EF=BC=8C=E8=83=BD=E5=A4=9F=E5=9C=A8?= =?UTF-8?q?=E4=BB=BB=E4=BD=95=E5=9C=B0=E6=96=B9bind=20key=E5=92=8Cvalue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bindData/application1.properties | 1 + .../src/test/resources/bindData/flow1.xml | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/bindData/application1.properties create mode 100644 liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/bindData/flow1.xml diff --git a/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/bindData/application1.properties b/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/bindData/application1.properties new file mode 100644 index 000000000..2286d450d --- /dev/null +++ b/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/bindData/application1.properties @@ -0,0 +1 @@ +liteflow.rule-source=bindData/flow1.xml \ No newline at end of file diff --git a/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/bindData/flow1.xml b/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/bindData/flow1.xml new file mode 100644 index 000000000..0aeacf067 --- /dev/null +++ b/liteflow-testcase-el/liteflow-testcase-el-springboot/src/test/resources/bindData/flow1.xml @@ -0,0 +1,23 @@ + + + + + THEN(a.bind("k1", "test"), b); + + + + THEN(a,b).bind("k1","test"); + + + + THEN(SWITCH(y).TO(d,c), WHEN(a, b), IF(x, c, d)).bind("k1", "test") + + + + THEN(a,IF(NOT(x), b, c)); + + + + THEN(d, sub.bind("k1", "test2")) + + \ No newline at end of file