enhancement #I5GC33 完善testcase-el所有测试用例中有关elf语法没带分号的代码

This commit is contained in:
码农小易 2022-07-10 01:47:03 +08:00
parent 1896e613ab
commit c0a60f3827
113 changed files with 246 additions and 246 deletions

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c, d, e)
THEN(a, b, c, d, e);
</chain>
<chain name="chain2">
THEN(a, b, c, WHEN(d, e))
THEN(a, b, c, WHEN(d, e));
</chain>
<chain name="chain3">
THEN(a, b, c, f)
THEN(a, b, c, f);
</chain>
</flow>

View File

@ -6,44 +6,44 @@
a,b,c,
WHEN(d, SWITCH(e).to(f,g)),
chain2
)
);
</chain>
<chain name="chain2">
THEN(b, SWITCH(j).to(a, chain3))
THEN(b, SWITCH(j).to(a, chain3));
</chain>
<chain name="chain3">
WHEN(g, f, h)
WHEN(g, f, h);
</chain>
<chain name="chain3-1">
THEN(WHEN(f, g, i), WHEN(h))
THEN(WHEN(f, g, i), WHEN(h));
</chain>
<chain name="chain3-2">
THEN(WHEN(f, g, i).ignoreError(true), WHEN(h))
THEN(WHEN(f, g, i).ignoreError(true), WHEN(h));
</chain>
<chain name="chain4">
THEN(a, b, c, WHEN(d, i, g, i, h).ignoreError(true))
THEN(a, b, c, WHEN(d, i, g, i, h).ignoreError(true));
</chain>
<chain name="chain5">
THEN(a, b, c, WHEN(d, i, g, i, h))
THEN(a, b, c, WHEN(d, i, g, i, h));
</chain>
<chain name="chain6">
THEN(a, b, c, WHEN(d, i), WHEN(g, i, h).ignoreError(true))
THEN(a, b, c, WHEN(d, i), WHEN(g, i, h).ignoreError(true));
</chain>
<chain name="chain7">
THEN(a, b, c, WHEN(d, i).ignoreError(true), WHEN(g, i, h))
THEN(a, b, c, WHEN(d, i).ignoreError(true), WHEN(g, i, h));
</chain>
<chain name="chain8">
THEN(WHEN(d, g, h).any(true), THEN(a, b, c))
THEN(WHEN(d, g, h).any(true), THEN(a, b, c));
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c, d))
THEN(a, b, WHEN(c, d));
</chain>
</flow>

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b)
THEN(a, b);
</chain>
<chain name="chain2">
THEN(c)
THEN(c);
</chain>
<chain name="chain3">
THEN(d)
THEN(d);
</chain>
<chain name="chain4">
THEN(e)
THEN(e);
</chain>
</flow>

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c, d))
THEN(a, b, WHEN(c, d));
</chain>
<chain name="chain2">
THEN(WHEN(e, a).any(true), b)
THEN(WHEN(e, a).any(true), b);
</chain>
</flow>

View File

@ -15,7 +15,7 @@
)
),
Z
)
);
</chain>
<chain name="chain1_2">

View File

@ -17,7 +17,7 @@
).id("t3")
),
Z
)
);
</chain>
<chain name="chain2_2">

View File

@ -1,30 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a)
THEN(a);
</chain>
<chain name="chain2">
THEN(b)
THEN(b);
</chain>
<chain name="chain3">
THEN(c)
THEN(c);
</chain>
<chain name="chain4">
THEN(a, d, c)
THEN(a, d, c);
</chain>
<chain name="chain5">
THEN(a, e, c)
THEN(a, e, c);
</chain>
<chain name="chain6">
SWITCH(f).to(d, c, b)
SWITCH(f).to(d, c, b);
</chain>
<chain name="chain7">
THEN(g, h)
THEN(g, h);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b)
THEN(a, b);
</chain>
</flow>

View File

@ -10,10 +10,10 @@
</nodes>
<chain name="chain1">
WHEN(a, b, c)
WHEN(a, b, c);
</chain>
<chain name="chain2">
WHEN(d, e, f)
WHEN(d, e, f);
</chain>
</flow>

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain">
WHEN(a, b)
WHEN(a, b);
</chain>
<chain name="chain1">
WHEN(c, d).threadPool("com.yomahub.liteflow.test.customWhenThreadPool.CustomThreadExecutor1")
WHEN(c, d).threadPool("com.yomahub.liteflow.test.customWhenThreadPool.CustomThreadExecutor1");
</chain>
<chain name="chain2">
WHEN(e, f).threadPool("com.yomahub.liteflow.test.customWhenThreadPool.CustomThreadExecutor1")
WHEN(e, f).threadPool("com.yomahub.liteflow.test.customWhenThreadPool.CustomThreadExecutor1");
</chain>
</flow>

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
<chain name="chain2">
THEN(a, b, d)
THEN(a, b, d);
</chain>
<chain name="chain3">
THEN(a, e, b)
THEN(a, e, b);
</chain>
</flow>

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
<chain name="chain3">
THEN(a, WHEN(b, c).ignoreError(false))
THEN(a, WHEN(b, c).ignoreError(false));
</chain>
<chain name="chain4">
THEN(c, d)
THEN(c, d);
</chain>
<chain name="chain5">
SWITCH(e).to(b, c)
SWITCH(e).to(b, c);
</chain>
</flow>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c, d))
THEN(a, b, WHEN(c, d));
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, THEN(c, b, a, d))
THEN(a, b, THEN(c, b, a, d));
</chain>
</flow>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, WHEN(b, c))
THEN(a, WHEN(b, c));
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c, d))
THEN(a, b, WHEN(c, d));
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, THEN(c, b, a))
THEN(a, b, THEN(c, b, a));
</chain>
</flow>

View File

@ -1,4 +1,4 @@
flow:
chain:
- name: chain3
value: "THEN(a, b, c)"
value: "THEN(a, b, c);"

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a)
THEN(a);
</chain>
<chain name="chain2">
THEN(b)
THEN(b);
</chain>
<chain name="chain3">
THEN(c)
THEN(c);
</chain>
<chain name="chain4">
THEN(d)
THEN(d);
</chain>
</flow>

View File

@ -35,11 +35,11 @@
"chain": [
{
"name": "chain2",
"value": "THEN(c,g,f)"
"value": "THEN(c,g,f);"
},
{
"name": "chain1",
"value": "THEN(a,c,WHEN(b,d,SWITCH(e).to(f,g)), chain2)"
"value": "THEN(a,c,WHEN(b,d,SWITCH(e).to(f,g)), chain2);"
}
]
}

View File

@ -11,10 +11,10 @@
</nodes>
<chain name="chain1">
THEN(a, c, WHEN(b, d, SWITCH(e).to(f,g)), chain2)
THEN(a, c, WHEN(b, d, SWITCH(e).to(f,g)), chain2);
</chain>
<chain name="chain2">
THEN(c, g, f)
THEN(c, g, f);
</chain>
</flow>

View File

@ -17,6 +17,6 @@ flow:
class: com.yomahub.liteflow.test.parser.cmp.GCmp
chain:
- name: chain1
value: "THEN(a, c, WHEN(b, d, SWITCH(e).to(f, g)), chain2)"
value: "THEN(a, c, WHEN(b, d, SWITCH(e).to(f, g)), chain2);"
- name: chain2
value: "THEN(c, g, f)"
value: "THEN(c, g, f);"

View File

@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(PRE(p1, p2), THEN(a, b, c), FINALLY(f1, f2))
THEN(PRE(p1, p2), THEN(a, b, c), FINALLY(f1, f2));
</chain>
<chain name="chain2">
THEN(a, PRE(p1, p2), FINALLY(f1, f2), THEN(b, c))
THEN(a, PRE(p1, p2), FINALLY(f1, f2), THEN(b, c));
</chain>
<chain name="chain3">
THEN(PRE(p1, p2), THEN(a, d, c), FINALLY(f1, f2))
THEN(PRE(p1, p2), THEN(a, d, c), FINALLY(f1, f2));
</chain>
<chain name="chain4">
THEN(a, d, c, FINALLY(f3))
THEN(a, d, c, FINALLY(f3));
</chain>
<chain name="chain5">
THEN(PRE(p1, p2), chain1, FINALLY(f1))
THEN(PRE(p1, p2), chain1, FINALLY(f1));
</chain>
</flow>

View File

@ -16,6 +16,6 @@
b,b,b,b,b,b,b,b,b,b
),
c
)
);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(c, b, a)
THEN(c, b, a);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b)
THEN(a, b);
</chain>
</flow>

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain3">
THEN(f, g)
THEN(f, g);
</chain>
<chain name="chain4">
THEN(h, m)
THEN(h, m);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, chain2)
THEN(a, b, chain2);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain2">
THEN(b, a, chain3)
THEN(b, a, chain3);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain3">
THEN(e, d)
THEN(e, d);
</chain>
</flow>

View File

@ -1,4 +1,4 @@
flow:
chain:
- name: chain3
value: "THEN(e, d)"
value: "THEN(e, d);"

View File

@ -3,19 +3,19 @@
"chain": [
{
"name": "chain3",
"value": "THEN(e,d)",
"value": "THEN(e,d);"
},
{
"name": "chain2",
"value": "THEN(b, a, chain3)",
"value": "THEN(b, a, chain3);"
},
{
"name": "chain1",
"value": "THEN(a, b, c, chain2)",
"value": "THEN(a, b, c, chain2);"
},
{
"name": "c",
"value": "THEN(d, e)",
"value": "THEN(d, e);"
}
]
}

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c, chain2)
THEN(a, b, c, chain2);
</chain>
<chain name="c">
THEN(d, e)
THEN(d, e);
</chain>
<chain name="chain2">
THEN(b, a, chain3)
THEN(b, a, chain3);
</chain>
<chain name="chain3">
THEN(e, d)
THEN(e, d);
</chain>
</flow>

View File

@ -1,10 +1,10 @@
flow:
chain:
- name: chain3
value: "THEN(e, d)"
value: "THEN(e, d);"
- name: chain1
value: "THEN(a, b, c, chain2)"
value: "THEN(a, b, c, chain2);"
- name: c
value: "THEN(d, e)"
value: "THEN(d, e);"
- name: chain2
value: "THEN(b, a, chain3)"
value: "THEN(b, a, chain3);"

View File

@ -3,19 +3,19 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a.tag(\"1\"), a.tag(\"2\"), a.tag(\"3\"))"
"value": "THEN(a.tag(\"1\"), a.tag(\"2\"), a.tag(\"3\"));"
},
{
"name": "chain2",
"value": "THEN(a.tag(\"1\"), a.tag(\"2\"), a.tag(\"3\"), SWITCH(c.tag(\"2\")).to(d.tag(\"5\"), e.tag(\"6\")))"
"value": "THEN(a.tag(\"1\"), a.tag(\"2\"), a.tag(\"3\"), SWITCH(c.tag(\"2\")).to(d.tag(\"5\"), e.tag(\"6\")));"
},
{
"name": "chain3",
"value": "THEN(b1, WHEN(b.tag(\"1\"), b.tag(\"2\"), b.tag(\"3\")))"
"value": "THEN(b1, WHEN(b.tag(\"1\"), b.tag(\"2\"), b.tag(\"3\")));"
},
{
"name": "chain4",
"value": "THEN(f.tag(\"false\"), g)"
"value": "THEN(f.tag(\"false\"), g);"
}
]
}

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a.tag("1"), a.tag("2"), a.tag("3"))
THEN(a.tag("1"), a.tag("2"), a.tag("3"));
</chain>
<chain name="chain2">
THEN(a.tag("1"), a.tag("2"), a.tag("3"), SWITCH(c.tag("2")).to(d.tag("5"), e.tag("6")))
THEN(a.tag("1"), a.tag("2"), a.tag("3"), SWITCH(c.tag("2")).to(d.tag("5"), e.tag("6")));
</chain>
<chain name="chain3">
THEN(b1, WHEN(b.tag("1"), b.tag("2"), b.tag("3")))
THEN(b1, WHEN(b.tag("1"), b.tag("2"), b.tag("3")));
</chain>
<chain name="chain4">
THEN(f.tag("false"), g)
THEN(f.tag("false"), g);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, WHEN(b, c, d, e, f))
THEN(a, WHEN(b, c, d, e, f));
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
WHEN(a, b, c)
WHEN(a, b, c);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(WHEN(d), WHEN(e), WHEN(f))
THEN(WHEN(d), WHEN(e), WHEN(f));
</chain>
</flow>

View File

@ -3,7 +3,7 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a, b, c)"
"value": "THEN(a, b, c);"
}
]
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
</flow>

View File

@ -1,4 +1,4 @@
flow:
chain:
- name: chain1
value: "THEN(a, b, c)"
value: "THEN(a, b, c);"

View File

@ -19,11 +19,11 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a, b, c, s1)"
"value": "THEN(a, b, c, s1);"
},
{
"name": "chain2",
"value": "THEN(d, SWITCH(s2).to(a, b))"
"value": "THEN(d, SWITCH(s2).to(a, b));"
}
]
}

View File

@ -25,11 +25,11 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a, b, c, s1)"
"value": "THEN(a, b, c, s1);"
},
{
"name": "chain2",
"value": "THEN(d, SWITCH(s2).to(a, b), s3)"
"value": "THEN(d, SWITCH(s2).to(a, b), s3);"
}
]
}

View File

@ -25,11 +25,11 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a,b,c,s1)"
"value": "THEN(a,b,c,s1);"
},
{
"name": "chain2",
"value": "THEN(d, SWITCH(s2).to(a, b))"
"value": "THEN(d, SWITCH(s2).to(a, b));"
}
]
}

View File

@ -25,11 +25,11 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a, b, c, s1)"
"value": "THEN(a, b, c, s1);"
},
{
"name": "chain2",
"value": "THEN(d, SWITCH(s2).to(a, b), s3)"
"value": "THEN(d, SWITCH(s2).to(a, b), s3);"
}
]
}

View File

@ -6,10 +6,10 @@
</nodes>
<chain name="chain1">
THEN(a, b, c, s1)
THEN(a, b, c, s1);
</chain>
<chain name="chain2">
THEN(d, SWITCH(s2).to(a,b))
THEN(d, SWITCH(s2).to(a,b));
</chain>
</flow>

View File

@ -7,10 +7,10 @@
</nodes>
<chain name="chain1">
THEN(a, b, c, s1)
THEN(a, b, c, s1);
</chain>
<chain name="chain2">
THEN(d, SWITCH(s2).to(a,b), s3)
THEN(d, SWITCH(s2).to(a,b), s3);
</chain>
</flow>

View File

@ -31,10 +31,10 @@
</nodes>
<chain name="chain1">
THEN(a, b, c, s1)
THEN(a, b, c, s1);
</chain>
<chain name="chain2">
THEN(d, SWITCH(s2).to(a,b))
THEN(d, SWITCH(s2).to(a,b));
</chain>
</flow>

View File

@ -31,10 +31,10 @@
</nodes>
<chain name="chain1">
THEN(a, b, c, s1)
THEN(a, b, c, s1);
</chain>
<chain name="chain2">
THEN(d, SWITCH(s2).to(a,b), s3)
THEN(d, SWITCH(s2).to(a,b), s3);
</chain>
</flow>

View File

@ -19,11 +19,11 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a,b,c,s1)"
"value": "THEN(a,b,c,s1);"
},
{
"name": "chain2",
"value": "THEN(d,SWITCH(s2).to(a,b))"
"value": "THEN(d,SWITCH(s2).to(a,b));"
}
]
}

View File

@ -25,11 +25,11 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a,b,c,s1)"
"value": "THEN(a,b,c,s1);"
},
{
"name": "chain2",
"value": "THEN(d,SWITCH(s2).to(a,b), s3)"
"value": "THEN(d,SWITCH(s2).to(a,b), s3);"
}
]
}

View File

@ -25,11 +25,11 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a,b,c,s1)"
"value": "THEN(a,b,c,s1);"
},
{
"name": "chain2",
"value": "THEN(d,SWITCH(s2).to(a,b))"
"value": "THEN(d,SWITCH(s2).to(a,b));"
}
]
}

View File

@ -25,11 +25,11 @@
"chain": [
{
"name": "chain1",
"value": "THEN(a,b,c,s1)"
"value": "THEN(a,b,c,s1);"
},
{
"name": "chain2",
"value": "THEN(d,SWITCH(s2).to(a,b), s3)"
"value": "THEN(d,SWITCH(s2).to(a,b), s3);"
}
]
}

View File

@ -6,10 +6,10 @@
</nodes>
<chain name="chain1">
THEN(a,b,c,s1)
THEN(a,b,c,s1);
</chain>
<chain name="chain2">
THEN(d,SWITCH(s2).to(a,b))
THEN(d,SWITCH(s2).to(a,b));
</chain>
</flow>

View File

@ -7,10 +7,10 @@
</nodes>
<chain name="chain1">
THEN(a,b,c,s1)
THEN(a,b,c,s1);
</chain>
<chain name="chain2">
THEN(d,SWITCH(s2).to(a,b), s3)
THEN(d,SWITCH(s2).to(a,b), s3);
</chain>
</flow>

View File

@ -31,10 +31,10 @@
</nodes>
<chain name="chain1">
THEN(a,b,c,s1)
THEN(a,b,c,s1);
</chain>
<chain name="chain2">
THEN(d,SWITCH(s2).to(a,b))
THEN(d,SWITCH(s2).to(a,b));
</chain>
</flow>

View File

@ -31,10 +31,10 @@
</nodes>
<chain name="chain1">
THEN(a,b,c,s1)
THEN(a,b,c,s1);
</chain>
<chain name="chain2">
THEN(d,SWITCH(s2).to(a,b), s3)
THEN(d,SWITCH(s2).to(a,b), s3);
</chain>
</flow>

View File

@ -2,6 +2,6 @@
<!--这里只是内容,在这个测试用例中这个文件请移到/usr/local/flow.xml中-->
<flow>
<chain name="chain1">
WHEN(a,b,c)
WHEN(a,b,c);
</chain>
</flow>

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a,b,c,d,e)
THEN(a,b,c,d,e);
</chain>
<chain name="chain2">
THEN(a,b,c,WHEN(d,e))
THEN(a,b,c,WHEN(d,e));
</chain>
<chain name="chain3">
THEN(a,b,c,f)
THEN(a,b,c,f);
</chain>
</flow>

View File

@ -6,44 +6,44 @@
a,b,c,
WHEN(d, SWITCH(e).to(f,g)),
chain2
)
);
</chain>
<chain name="chain2">
THEN(b, SWITCH(j).to(a, chain3))
THEN(b, SWITCH(j).to(a, chain3));
</chain>
<chain name="chain3">
WHEN(g, f, h)
WHEN(g, f, h);
</chain>
<chain name="chain3-1">
THEN(WHEN(f, g, i), WHEN(h))
THEN(WHEN(f, g, i), WHEN(h));
</chain>
<chain name="chain3-2">
THEN(WHEN(f, g, i).ignoreError(true), WHEN(h))
THEN(WHEN(f, g, i).ignoreError(true), WHEN(h));
</chain>
<chain name="chain4">
THEN(a, b, c, WHEN(d, i, g, i, h).ignoreError(true))
THEN(a, b, c, WHEN(d, i, g, i, h).ignoreError(true));
</chain>
<chain name="chain5">
THEN(a, b, c, WHEN(d, i, g, i, h))
THEN(a, b, c, WHEN(d, i, g, i, h));
</chain>
<chain name="chain6">
THEN(a, b, c, WHEN(d, i), WHEN(g, i, h).ignoreError(true))
THEN(a, b, c, WHEN(d, i), WHEN(g, i, h).ignoreError(true));
</chain>
<chain name="chain7">
THEN(a, b, c, WHEN(d, i).ignoreError(true), WHEN(g, i, h))
THEN(a, b, c, WHEN(d, i).ignoreError(true), WHEN(g, i, h));
</chain>
<chain name="chain8">
THEN(WHEN(d, g, h).any(true), THEN(a, b, c))
THEN(WHEN(d, g, h).any(true), THEN(a, b, c));
</chain>
</flow>

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a,b,WHEN(c,d))
THEN(a,b,WHEN(c,d));
</chain>
<chain name="chain2">
THEN(
a,b,
SWITCH(e).to(d,f)
)
);
</chain>
<chain name="chain3">
@ -18,7 +18,7 @@
c,
SWITCH(g).to(b, d, THEN(h,i).id("then_1001"))
)
)
);
</chain>
<chain name="chain4">
@ -35,7 +35,7 @@
WHEN(q, THEN(p, r)).id("w01")
),
z
)
);
</chain>
<chain name="chain5">

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b)
THEN(a, b);
</chain>
<chain name="chain2">
THEN(c)
THEN(c);
</chain>
<chain name="chain3">
THEN(d)
THEN(d);
</chain>
<chain name="chain4">
THEN(e)
THEN(e);
</chain>
</flow>

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c, d))
THEN(a, b, WHEN(c, d));
</chain>
<chain name="chain2">
THEN(WHEN(e, a).any(true), b)
THEN(WHEN(e, a).any(true), b);
</chain>
<chain name="chain3">
THEN(a, b, a, a, b)
THEN(a, b, a, a, b);
</chain>
</flow>

View File

@ -15,7 +15,7 @@
)
),
Z
)
);
</chain>
<chain name="chain1_2">

View File

@ -17,7 +17,7 @@
).id("t3")
),
Z
)
);
</chain>
<chain name="chain2_2">

View File

@ -1,30 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a)
THEN(a);
</chain>
<chain name="chain2">
THEN(b)
THEN(b);
</chain>
<chain name="chain3">
THEN(c)
THEN(c);
</chain>
<chain name="chain4">
THEN(a, d, c)
THEN(a, d, c);
</chain>
<chain name="chain5">
THEN(a, e, c)
THEN(a, e, c);
</chain>
<chain name="chain6">
SWITCH(f).to(d, c, b)
SWITCH(f).to(d, c, b);
</chain>
<chain name="chain7">
THEN(g, h)
THEN(g, h);
</chain>
</flow>

View File

@ -10,10 +10,10 @@
</nodes>
<chain name="chain1">
WHEN(a, b, c)
WHEN(a, b, c);
</chain>
<chain name="chain2">
WHEN(d, e, f)
WHEN(d, e, f);
</chain>
</flow>

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain">
WHEN(a, b)
WHEN(a, b);
</chain>
<chain name="chain1">
WHEN(c, d).threadPool("com.yomahub.liteflow.test.customWhenThreadPool.CustomThreadExecutor1")
WHEN(c, d).threadPool("com.yomahub.liteflow.test.customWhenThreadPool.CustomThreadExecutor1");
</chain>
<chain name="chain2">
WHEN(e, f).threadPool("com.yomahub.liteflow.test.customWhenThreadPool.CustomThreadExecutor1")
WHEN(e, f).threadPool("com.yomahub.liteflow.test.customWhenThreadPool.CustomThreadExecutor1");
</chain>
</flow>

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
<chain name="chain2">
THEN(a, b, d)
THEN(a, b, d);
</chain>
<chain name="chain3">
THEN(a, e, b)
THEN(a, e, b);
</chain>
</flow>

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
<chain name="chain3">
THEN(a, WHEN(b, c).ignoreError(false))
THEN(a, WHEN(b, c).ignoreError(false));
</chain>
<chain name="chain4">
THEN(c, d)
THEN(c, d);
</chain>
<chain name="chain5">
SWITCH(e).to(b, c)
SWITCH(e).to(b, c);
</chain>
</flow>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c, d))
THEN(a, b, WHEN(c, d));
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, THEN(c, b, a, d))
THEN(a, b, THEN(c, b, a, d));
</chain>
</flow>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, WHEN(b, c))
THEN(a, WHEN(b, c));
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c, d))
THEN(a, b, WHEN(c, d));
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, THEN(c, b, a))
THEN(a, b, THEN(c, b, a));
</chain>
</flow>

View File

@ -1,4 +1,4 @@
flow:
chain:
- name: chain3
value: "THEN(a, b, c)"
value: "THEN(a, b, c);"

View File

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a)
THEN(a);
</chain>
<chain name="chain2">
THEN(b)
THEN(b);
</chain>
<chain name="chain3">
THEN(c)
THEN(c);
</chain>
<chain name="chain4">
THEN(d)
THEN(d);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c))
THEN(a, b, WHEN(c));
</chain>
</flow>

View File

@ -35,11 +35,11 @@
"chain": [
{
"name": "chain2",
"value": "THEN(c,g,f)"
"value": "THEN(c,g,f);"
},
{
"name": "chain1",
"value": "THEN(a,c,WHEN(b,d,SWITCH(e).to(f,g)), chain2)"
"value": "THEN(a,c,WHEN(b,d,SWITCH(e).to(f,g)), chain2);"
}
]
}

View File

@ -11,10 +11,10 @@
</nodes>
<chain name="chain1">
THEN(a, c, WHEN(b, d, SWITCH(e).to(f,g)), chain2)
THEN(a, c, WHEN(b, d, SWITCH(e).to(f,g)), chain2);
</chain>
<chain name="chain2">
THEN(c, g, f)
THEN(c, g, f);
</chain>
</flow>

View File

@ -17,6 +17,6 @@ flow:
class: com.yomahub.liteflow.test.parser.cmp.GCmp
chain:
- name: chain1
value: "THEN(a, c, WHEN(b, d, SWITCH(e).to(f, g)), chain2)"
value: "THEN(a, c, WHEN(b, d, SWITCH(e).to(f, g)), chain2);"
- name: chain2
value: "THEN(c, g, f)"
value: "THEN(c, g, f);"

View File

@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(PRE(p1, p2), THEN(a, b, c), FINALLY(f1, f2))
THEN(PRE(p1, p2), THEN(a, b, c), FINALLY(f1, f2));
</chain>
<chain name="chain2">
THEN(a, PRE(p1, p2), FINALLY(f1, f2), THEN(b, c))
THEN(a, PRE(p1, p2), FINALLY(f1, f2), THEN(b, c));
</chain>
<chain name="chain3">
THEN(PRE(p1, p2), THEN(a, d, c), FINALLY(f1, f2))
THEN(PRE(p1, p2), THEN(a, d, c), FINALLY(f1, f2));
</chain>
<chain name="chain4">
THEN(a, d, c, FINALLY(f3))
THEN(a, d, c, FINALLY(f3));
</chain>
<chain name="chain5">
THEN(PRE(p1, p2), chain1, FINALLY(f1))
THEN(PRE(p1, p2), chain1, FINALLY(f1));
</chain>
</flow>

View File

@ -16,6 +16,6 @@
b,b,b,b,b,b,b,b,b,b
),
c
)
);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(c, b, a)
THEN(c, b, a);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, c)
THEN(a, b, c);
</chain>
</flow>

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, WHEN(c, d))
THEN(a, b, WHEN(c, d));
</chain>
<chain name="chain2">
THEN(a, b, c, d)
THEN(a, b, c, d);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b)
THEN(a, b);
</chain>
</flow>

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain3">
THEN(f, g)
THEN(f, g);
</chain>
<chain name="chain4">
THEN(h, m)
THEN(h, m);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain1">
THEN(a, b, chain2)
THEN(a, b, chain2);
</chain>
</flow>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<chain name="chain2">
THEN(b, a, chain3)
THEN(b, a, chain3);
</chain>
</flow>

Some files were not shown because too many files have changed in this diff Show More