diff options
Diffstat (limited to '')
-rw-r--r-- | tests/expected/libsmartcols/fromfile-tree | 11 | ||||
-rw-r--r-- | tests/expected/libsmartcols/fromfile-tree-end | 11 | ||||
-rw-r--r-- | tests/expected/libsmartcols/fromfile-tree-json | 70 | ||||
-rw-r--r-- | tests/expected/libsmartcols/fromfile-tree-middle | 11 |
4 files changed, 103 insertions, 0 deletions
diff --git a/tests/expected/libsmartcols/fromfile-tree b/tests/expected/libsmartcols/fromfile-tree new file mode 100644 index 0000000..9d345f8 --- /dev/null +++ b/tests/expected/libsmartcols/fromfile-tree @@ -0,0 +1,11 @@ +TREE ID PARENT STRINGS +aaaa 1 0 qqqqqqqqqqqqqqqqqX +|-bbb 2 1 dddddddddddddX +| |-ee 5 2 ddddddddddddddddddddddddddX +| `-ffff 6 2 jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjX +|-ccccc 3 1 ffffffffffffffffffffffffffffffffffffffffX +| `-gggggg 7 3 mmmmmmmmmmmmmmmmmmmX +| |-hhh 8 7 lllllllllllllllllllllllllllllllllllllX +| | `-iiiiii 9 8 yyyyyyyyyyyyyyyyyyyyyyyyyyyyX +| `-jj 10 7 pppppppppX +`-dddddd 4 1 ssssssssssX diff --git a/tests/expected/libsmartcols/fromfile-tree-end b/tests/expected/libsmartcols/fromfile-tree-end new file mode 100644 index 0000000..41aebff --- /dev/null +++ b/tests/expected/libsmartcols/fromfile-tree-end @@ -0,0 +1,11 @@ +ID PARENT STRINGS TREE + 1 0 qqqqqqqqqqqqqqqqqX aaaa + 2 1 dddddddddddddX |-bbb + 5 2 ddddddddddddddddddddddddddX | |-ee + 6 2 jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjX | `-ffff + 3 1 ffffffffffffffffffffffffffffffffffffffffX |-ccccc + 7 3 mmmmmmmmmmmmmmmmmmmX | `-gggggg + 8 7 lllllllllllllllllllllllllllllllllllllX | |-hhh + 9 8 yyyyyyyyyyyyyyyyyyyyyyyyyyyyX | | `-iiiiii +10 7 pppppppppX | `-jj + 4 1 ssssssssssX `-dddddd diff --git a/tests/expected/libsmartcols/fromfile-tree-json b/tests/expected/libsmartcols/fromfile-tree-json new file mode 100644 index 0000000..3d65183 --- /dev/null +++ b/tests/expected/libsmartcols/fromfile-tree-json @@ -0,0 +1,70 @@ +{ + "testtable": [ + { + "tree": "aaaa", + "id": "1", + "parent": "0", + "strings": "qqqqqqqqqqqqqqqqqX", + "children": [ + { + "tree": "bbb", + "id": "2", + "parent": "1", + "strings": "dddddddddddddX", + "children": [ + { + "tree": "ee", + "id": "5", + "parent": "2", + "strings": "ddddddddddddddddddddddddddX" + },{ + "tree": "ffff", + "id": "6", + "parent": "2", + "strings": "jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjX" + } + ] + },{ + "tree": "ccccc", + "id": "3", + "parent": "1", + "strings": "ffffffffffffffffffffffffffffffffffffffffX", + "children": [ + { + "tree": "gggggg", + "id": "7", + "parent": "3", + "strings": "mmmmmmmmmmmmmmmmmmmX", + "children": [ + { + "tree": "hhh", + "id": "8", + "parent": "7", + "strings": "lllllllllllllllllllllllllllllllllllllX", + "children": [ + { + "tree": "iiiiii", + "id": "9", + "parent": "8", + "strings": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyX" + } + ] + },{ + "tree": "jj", + "id": "10", + "parent": "7", + "strings": "pppppppppX" + } + ] + } + ] + },{ + "tree": "dddddd", + "id": "4", + "parent": "1", + "strings": "ssssssssssX" + } + ] + } + ] +} diff --git a/tests/expected/libsmartcols/fromfile-tree-middle b/tests/expected/libsmartcols/fromfile-tree-middle new file mode 100644 index 0000000..b218331 --- /dev/null +++ b/tests/expected/libsmartcols/fromfile-tree-middle @@ -0,0 +1,11 @@ +ID PARENT TREE STRINGS + 1 0 aaaa qqqqqqqqqqqqqqqqqX + 2 1 |-bbb dddddddddddddX + 5 2 | |-ee ddddddddddddddddddddddddddX + 6 2 | `-ffff jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjX + 3 1 |-ccccc ffffffffffffffffffffffffffffffffffffffffX + 7 3 | `-gggggg mmmmmmmmmmmmmmmmmmmX + 8 7 | |-hhh lllllllllllllllllllllllllllllllllllllX + 9 8 | | `-iiiiii yyyyyyyyyyyyyyyyyyyyyyyyyyyyX +10 7 | `-jj pppppppppX + 4 1 `-dddddd ssssssssssX |