mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-25 14:27:33 +00:00
Merge pull request #1692 from The-Lum/PatchBranch
tests: add not working example about stdlib
This commit is contained in:
commit
5fe5cafe70
@ -32,6 +32,8 @@ class EaterTest {
|
|||||||
"'@startuml\n!$a=[1, 2, 3]\ntitle xx $a[2] yy\na -> a\n' , xx 3 yy",
|
"'@startuml\n!$a=[1, 2, 3]\ntitle xx $a[2] yy\na -> a\n' , xx 3 yy",
|
||||||
"'@startuml\ntitle\n!foreach $i in [1, 2, 3]\nxx $i yy\n!endfor\nendtitle\na -> a\n' , xx 2 yy",
|
"'@startuml\ntitle\n!foreach $i in [1, 2, 3]\nxx $i yy\n!endfor\nendtitle\na -> a\n' , xx 2 yy",
|
||||||
"'@startuml\ntitle\n!foreach $i in [\"a\", \"b\", \"c\"]\nxx $i yy\n!endfor\nendtitle\na -> a\n' , xx b yy",
|
"'@startuml\ntitle\n!foreach $i in [\"a\", \"b\", \"c\"]\nxx $i yy\n!endfor\nendtitle\na -> a\n' , xx b yy",
|
||||||
|
// TODO: fix code to allow test to access on stdlib, the corresponding (not working) test is here:
|
||||||
|
// "'@startuml\nstdlib\n@enduml', archimate",
|
||||||
})
|
})
|
||||||
void Test_EaterTest(String input, String expected) throws Exception {
|
void Test_EaterTest(String input, String expected) throws Exception {
|
||||||
assertRenderExpectedOutput(input, expected);
|
assertRenderExpectedOutput(input, expected);
|
||||||
|
Loading…
Reference in New Issue
Block a user