diff options
| author | Alex Leferry 2 <alexherbo2@gmail.com> | 2014-06-30 12:22:50 +0200 |
|---|---|---|
| committer | Alex Leferry 2 <alexherbo2@gmail.com> | 2014-06-30 12:22:50 +0200 |
| commit | d20d43bf3622fc4bb416cf2ca95d5cf0c4c88fcf (patch) | |
| tree | 42173f19891a452bdf10b8b7769a457068ecbb7a /test/unit/around | |
| parent | 7aa78d726a54fa57a8dc5ed973ab0b30eeba6bf3 (diff) | |
add testing framework
Diffstat (limited to 'test/unit/around')
36 files changed, 65 insertions, 0 deletions
diff --git a/test/unit/around/WORD/cmd b/test/unit/around/WORD/cmd new file mode 100644 index 00000000..2591ecc3 --- /dev/null +++ b/test/unit/around/WORD/cmd @@ -0,0 +1 @@ +<a-a>W diff --git a/test/unit/around/WORD/in b/test/unit/around/WORD/in new file mode 100644 index 00000000..434f77db --- /dev/null +++ b/test/unit/around/WORD/in @@ -0,0 +1 @@ +foo %(b)ar-baz qux diff --git a/test/unit/around/WORD/selections b/test/unit/around/WORD/selections new file mode 100644 index 00000000..d6311946 --- /dev/null +++ b/test/unit/around/WORD/selections @@ -0,0 +1 @@ +bar-baz diff --git a/test/unit/around/angle/cmd b/test/unit/around/angle/cmd new file mode 100644 index 00000000..43f26e43 --- /dev/null +++ b/test/unit/around/angle/cmd @@ -0,0 +1 @@ +<a-a>a diff --git a/test/unit/around/angle/in b/test/unit/around/angle/in new file mode 100644 index 00000000..8dea61dd --- /dev/null +++ b/test/unit/around/angle/in @@ -0,0 +1 @@ +#include <%(f)oo> diff --git a/test/unit/around/angle/selections b/test/unit/around/angle/selections new file mode 100644 index 00000000..9127b708 --- /dev/null +++ b/test/unit/around/angle/selections @@ -0,0 +1 @@ +<foo> diff --git a/test/unit/around/braces/cmd b/test/unit/around/braces/cmd new file mode 100644 index 00000000..4effbcef --- /dev/null +++ b/test/unit/around/braces/cmd @@ -0,0 +1 @@ +<a-a>B diff --git a/test/unit/around/braces/in b/test/unit/around/braces/in new file mode 100644 index 00000000..b62df918 --- /dev/null +++ b/test/unit/around/braces/in @@ -0,0 +1,3 @@ +{ + "%(foo)": "bar" +} diff --git a/test/unit/around/braces/selections b/test/unit/around/braces/selections new file mode 100644 index 00000000..56cc1e77 --- /dev/null +++ b/test/unit/around/braces/selections @@ -0,0 +1,3 @@ +{ + "foo"\: "bar" +} diff --git a/test/unit/around/brackets/cmd b/test/unit/around/brackets/cmd new file mode 100644 index 00000000..d567e3bd --- /dev/null +++ b/test/unit/around/brackets/cmd @@ -0,0 +1 @@ +<a-a>r diff --git a/test/unit/around/brackets/in b/test/unit/around/brackets/in new file mode 100644 index 00000000..286c5fcb --- /dev/null +++ b/test/unit/around/brackets/in @@ -0,0 +1,3 @@ +[ + "%(foo)" +] diff --git a/test/unit/around/brackets/selections b/test/unit/around/brackets/selections new file mode 100644 index 00000000..de140ba3 --- /dev/null +++ b/test/unit/around/brackets/selections @@ -0,0 +1,3 @@ +[ + "foo" +] diff --git a/test/unit/around/double_quote/cmd b/test/unit/around/double_quote/cmd new file mode 100644 index 00000000..c7d7819b --- /dev/null +++ b/test/unit/around/double_quote/cmd @@ -0,0 +1 @@ +<a-a>Q diff --git a/test/unit/around/double_quote/in b/test/unit/around/double_quote/in new file mode 100644 index 00000000..78428f5e --- /dev/null +++ b/test/unit/around/double_quote/in @@ -0,0 +1 @@ +foo("%(b)ar") diff --git a/test/unit/around/double_quote/selections b/test/unit/around/double_quote/selections new file mode 100644 index 00000000..196e5879 --- /dev/null +++ b/test/unit/around/double_quote/selections @@ -0,0 +1 @@ +"bar" diff --git a/test/unit/around/grave_quote/cmd b/test/unit/around/grave_quote/cmd new file mode 100644 index 00000000..28e4cbc1 --- /dev/null +++ b/test/unit/around/grave_quote/cmd @@ -0,0 +1 @@ +<a-a>g diff --git a/test/unit/around/grave_quote/in b/test/unit/around/grave_quote/in new file mode 100644 index 00000000..6f02c52a --- /dev/null +++ b/test/unit/around/grave_quote/in @@ -0,0 +1 @@ +echo `%(f)oo` diff --git a/test/unit/around/grave_quote/selections b/test/unit/around/grave_quote/selections new file mode 100644 index 00000000..347253a0 --- /dev/null +++ b/test/unit/around/grave_quote/selections @@ -0,0 +1 @@ +`foo` diff --git a/test/unit/around/indent/cmd b/test/unit/around/indent/cmd new file mode 100644 index 00000000..bd04b166 --- /dev/null +++ b/test/unit/around/indent/cmd @@ -0,0 +1 @@ +<a-a>i diff --git a/test/unit/around/indent/in b/test/unit/around/indent/in new file mode 100644 index 00000000..3d074b01 --- /dev/null +++ b/test/unit/around/indent/in @@ -0,0 +1,3 @@ + + foo(%(b)ar) + diff --git a/test/unit/around/indent/selections b/test/unit/around/indent/selections new file mode 100644 index 00000000..80196fbb --- /dev/null +++ b/test/unit/around/indent/selections @@ -0,0 +1,4 @@ + + foo(bar) + + diff --git a/test/unit/around/paragraph/cmd b/test/unit/around/paragraph/cmd new file mode 100644 index 00000000..ffefa67d --- /dev/null +++ b/test/unit/around/paragraph/cmd @@ -0,0 +1 @@ +<a-a>p diff --git a/test/unit/around/paragraph/in b/test/unit/around/paragraph/in new file mode 100644 index 00000000..0da6451e --- /dev/null +++ b/test/unit/around/paragraph/in @@ -0,0 +1,8 @@ +a +b + +%(c) +d + +e +f diff --git a/test/unit/around/paragraph/selections b/test/unit/around/paragraph/selections new file mode 100644 index 00000000..2887a9d6 --- /dev/null +++ b/test/unit/around/paragraph/selections @@ -0,0 +1,4 @@ +c +d + + diff --git a/test/unit/around/parenthesis/cmd b/test/unit/around/parenthesis/cmd new file mode 100644 index 00000000..ef7ad10b --- /dev/null +++ b/test/unit/around/parenthesis/cmd @@ -0,0 +1 @@ +<a-a>b diff --git a/test/unit/around/parenthesis/in b/test/unit/around/parenthesis/in new file mode 100644 index 00000000..3bea1f71 --- /dev/null +++ b/test/unit/around/parenthesis/in @@ -0,0 +1 @@ +foo(%(b)ar) diff --git a/test/unit/around/parenthesis/selections b/test/unit/around/parenthesis/selections new file mode 100644 index 00000000..c115b234 --- /dev/null +++ b/test/unit/around/parenthesis/selections @@ -0,0 +1 @@ +(bar) diff --git a/test/unit/around/sentence/cmd b/test/unit/around/sentence/cmd new file mode 100644 index 00000000..e8d4a543 --- /dev/null +++ b/test/unit/around/sentence/cmd @@ -0,0 +1 @@ +<a-a>s diff --git a/test/unit/around/sentence/in b/test/unit/around/sentence/in new file mode 100644 index 00000000..006cd705 --- /dev/null +++ b/test/unit/around/sentence/in @@ -0,0 +1,6 @@ +%(Lorem ipsum) dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis +nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. +Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore +eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, +sunt in culpa qui officia deserunt mollit anim id est laborum. diff --git a/test/unit/around/sentence/selections b/test/unit/around/sentence/selections new file mode 100644 index 00000000..5dd13409 --- /dev/null +++ b/test/unit/around/sentence/selections @@ -0,0 +1,2 @@ +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. diff --git a/test/unit/around/single_quote/cmd b/test/unit/around/single_quote/cmd new file mode 100644 index 00000000..f1d27c25 --- /dev/null +++ b/test/unit/around/single_quote/cmd @@ -0,0 +1 @@ +<a-a>q diff --git a/test/unit/around/single_quote/in b/test/unit/around/single_quote/in new file mode 100644 index 00000000..ed397c1c --- /dev/null +++ b/test/unit/around/single_quote/in @@ -0,0 +1 @@ +foo('%(b)ar') diff --git a/test/unit/around/single_quote/selections b/test/unit/around/single_quote/selections new file mode 100644 index 00000000..2cde735c --- /dev/null +++ b/test/unit/around/single_quote/selections @@ -0,0 +1 @@ +'bar' diff --git a/test/unit/around/word/cmd b/test/unit/around/word/cmd new file mode 100644 index 00000000..b11a4948 --- /dev/null +++ b/test/unit/around/word/cmd @@ -0,0 +1 @@ +<a-a>w diff --git a/test/unit/around/word/in b/test/unit/around/word/in new file mode 100644 index 00000000..e92570ea --- /dev/null +++ b/test/unit/around/word/in @@ -0,0 +1 @@ +foo %(b)ar baz diff --git a/test/unit/around/word/selections b/test/unit/around/word/selections new file mode 100644 index 00000000..efe82b7c --- /dev/null +++ b/test/unit/around/word/selections @@ -0,0 +1 @@ +bar |
