summaryrefslogtreecommitdiff
path: root/test/unit/START
diff options
context:
space:
mode:
authorAlex Leferry 2 <alexherbo2@gmail.com>2014-06-30 12:22:50 +0200
committerAlex Leferry 2 <alexherbo2@gmail.com>2014-06-30 12:22:50 +0200
commitd20d43bf3622fc4bb416cf2ca95d5cf0c4c88fcf (patch)
tree42173f19891a452bdf10b8b7769a457068ecbb7a /test/unit/START
parent7aa78d726a54fa57a8dc5ed973ab0b30eeba6bf3 (diff)
add testing framework
Diffstat (limited to 'test/unit/START')
-rw-r--r--test/unit/START/WORD/cmd1
-rw-r--r--test/unit/START/WORD/in1
-rw-r--r--test/unit/START/WORD/selections1
-rw-r--r--test/unit/START/angle/cmd1
-rw-r--r--test/unit/START/angle/in1
-rw-r--r--test/unit/START/angle/selections1
-rw-r--r--test/unit/START/braces/cmd1
-rw-r--r--test/unit/START/braces/in3
-rw-r--r--test/unit/START/braces/selections2
-rw-r--r--test/unit/START/brackets/cmd1
-rw-r--r--test/unit/START/brackets/in3
-rw-r--r--test/unit/START/brackets/selections2
-rw-r--r--test/unit/START/double_quote/cmd1
-rw-r--r--test/unit/START/double_quote/in1
-rw-r--r--test/unit/START/double_quote/selections1
-rw-r--r--test/unit/START/grave_quote/cmd1
-rw-r--r--test/unit/START/grave_quote/in1
-rw-r--r--test/unit/START/grave_quote/selections1
-rw-r--r--test/unit/START/indent/cmd1
-rw-r--r--test/unit/START/indent/in3
-rw-r--r--test/unit/START/indent/selections3
-rw-r--r--test/unit/START/paragraph/cmd1
-rw-r--r--test/unit/START/paragraph/in8
-rw-r--r--test/unit/START/paragraph/selections4
-rw-r--r--test/unit/START/parenthesis/cmd1
-rw-r--r--test/unit/START/parenthesis/in1
-rw-r--r--test/unit/START/parenthesis/selections1
-rw-r--r--test/unit/START/sentence/cmd1
-rw-r--r--test/unit/START/sentence/in6
-rw-r--r--test/unit/START/sentence/selections2
-rw-r--r--test/unit/START/single_quote/cmd1
-rw-r--r--test/unit/START/single_quote/in1
-rw-r--r--test/unit/START/single_quote/selections1
-rw-r--r--test/unit/START/word/cmd1
-rw-r--r--test/unit/START/word/in1
-rw-r--r--test/unit/START/word/selections1
36 files changed, 62 insertions, 0 deletions
diff --git a/test/unit/START/WORD/cmd b/test/unit/START/WORD/cmd
new file mode 100644
index 00000000..f2ed5a2e
--- /dev/null
+++ b/test/unit/START/WORD/cmd
@@ -0,0 +1 @@
+{W
diff --git a/test/unit/START/WORD/in b/test/unit/START/WORD/in
new file mode 100644
index 00000000..82588cdb
--- /dev/null
+++ b/test/unit/START/WORD/in
@@ -0,0 +1 @@
+foo bar-ba%(z) qux
diff --git a/test/unit/START/WORD/selections b/test/unit/START/WORD/selections
new file mode 100644
index 00000000..d6311946
--- /dev/null
+++ b/test/unit/START/WORD/selections
@@ -0,0 +1 @@
+bar-baz
diff --git a/test/unit/START/angle/cmd b/test/unit/START/angle/cmd
new file mode 100644
index 00000000..e61ebcbe
--- /dev/null
+++ b/test/unit/START/angle/cmd
@@ -0,0 +1 @@
+{a
diff --git a/test/unit/START/angle/in b/test/unit/START/angle/in
new file mode 100644
index 00000000..8dea61dd
--- /dev/null
+++ b/test/unit/START/angle/in
@@ -0,0 +1 @@
+#include <%(f)oo>
diff --git a/test/unit/START/angle/selections b/test/unit/START/angle/selections
new file mode 100644
index 00000000..1ab3973e
--- /dev/null
+++ b/test/unit/START/angle/selections
@@ -0,0 +1 @@
+<f
diff --git a/test/unit/START/braces/cmd b/test/unit/START/braces/cmd
new file mode 100644
index 00000000..63b248b1
--- /dev/null
+++ b/test/unit/START/braces/cmd
@@ -0,0 +1 @@
+{B
diff --git a/test/unit/START/braces/in b/test/unit/START/braces/in
new file mode 100644
index 00000000..b62df918
--- /dev/null
+++ b/test/unit/START/braces/in
@@ -0,0 +1,3 @@
+{
+ "%(foo)": "bar"
+}
diff --git a/test/unit/START/braces/selections b/test/unit/START/braces/selections
new file mode 100644
index 00000000..6e365bec
--- /dev/null
+++ b/test/unit/START/braces/selections
@@ -0,0 +1,2 @@
+{
+ "foo
diff --git a/test/unit/START/brackets/cmd b/test/unit/START/brackets/cmd
new file mode 100644
index 00000000..13cd076e
--- /dev/null
+++ b/test/unit/START/brackets/cmd
@@ -0,0 +1 @@
+{r
diff --git a/test/unit/START/brackets/in b/test/unit/START/brackets/in
new file mode 100644
index 00000000..286c5fcb
--- /dev/null
+++ b/test/unit/START/brackets/in
@@ -0,0 +1,3 @@
+[
+ "%(foo)"
+]
diff --git a/test/unit/START/brackets/selections b/test/unit/START/brackets/selections
new file mode 100644
index 00000000..a42eb4eb
--- /dev/null
+++ b/test/unit/START/brackets/selections
@@ -0,0 +1,2 @@
+[
+ "foo
diff --git a/test/unit/START/double_quote/cmd b/test/unit/START/double_quote/cmd
new file mode 100644
index 00000000..94fa0cfd
--- /dev/null
+++ b/test/unit/START/double_quote/cmd
@@ -0,0 +1 @@
+{Q
diff --git a/test/unit/START/double_quote/in b/test/unit/START/double_quote/in
new file mode 100644
index 00000000..78428f5e
--- /dev/null
+++ b/test/unit/START/double_quote/in
@@ -0,0 +1 @@
+foo("%(b)ar")
diff --git a/test/unit/START/double_quote/selections b/test/unit/START/double_quote/selections
new file mode 100644
index 00000000..87e31fb8
--- /dev/null
+++ b/test/unit/START/double_quote/selections
@@ -0,0 +1 @@
+"b
diff --git a/test/unit/START/grave_quote/cmd b/test/unit/START/grave_quote/cmd
new file mode 100644
index 00000000..28f8b01b
--- /dev/null
+++ b/test/unit/START/grave_quote/cmd
@@ -0,0 +1 @@
+{g
diff --git a/test/unit/START/grave_quote/in b/test/unit/START/grave_quote/in
new file mode 100644
index 00000000..6f02c52a
--- /dev/null
+++ b/test/unit/START/grave_quote/in
@@ -0,0 +1 @@
+echo `%(f)oo`
diff --git a/test/unit/START/grave_quote/selections b/test/unit/START/grave_quote/selections
new file mode 100644
index 00000000..e20e0382
--- /dev/null
+++ b/test/unit/START/grave_quote/selections
@@ -0,0 +1 @@
+`f
diff --git a/test/unit/START/indent/cmd b/test/unit/START/indent/cmd
new file mode 100644
index 00000000..d7379be4
--- /dev/null
+++ b/test/unit/START/indent/cmd
@@ -0,0 +1 @@
+{i
diff --git a/test/unit/START/indent/in b/test/unit/START/indent/in
new file mode 100644
index 00000000..3d074b01
--- /dev/null
+++ b/test/unit/START/indent/in
@@ -0,0 +1,3 @@
+
+ foo(%(b)ar)
+
diff --git a/test/unit/START/indent/selections b/test/unit/START/indent/selections
new file mode 100644
index 00000000..dbf75bb0
--- /dev/null
+++ b/test/unit/START/indent/selections
@@ -0,0 +1,3 @@
+
+ foo(bar)
+
diff --git a/test/unit/START/paragraph/cmd b/test/unit/START/paragraph/cmd
new file mode 100644
index 00000000..86fb08f1
--- /dev/null
+++ b/test/unit/START/paragraph/cmd
@@ -0,0 +1 @@
+{p
diff --git a/test/unit/START/paragraph/in b/test/unit/START/paragraph/in
new file mode 100644
index 00000000..0da6451e
--- /dev/null
+++ b/test/unit/START/paragraph/in
@@ -0,0 +1,8 @@
+a
+b
+
+%(c)
+d
+
+e
+f
diff --git a/test/unit/START/paragraph/selections b/test/unit/START/paragraph/selections
new file mode 100644
index 00000000..d1d9c6f7
--- /dev/null
+++ b/test/unit/START/paragraph/selections
@@ -0,0 +1,4 @@
+a
+b
+
+c
diff --git a/test/unit/START/parenthesis/cmd b/test/unit/START/parenthesis/cmd
new file mode 100644
index 00000000..e3b685c2
--- /dev/null
+++ b/test/unit/START/parenthesis/cmd
@@ -0,0 +1 @@
+{b
diff --git a/test/unit/START/parenthesis/in b/test/unit/START/parenthesis/in
new file mode 100644
index 00000000..3bea1f71
--- /dev/null
+++ b/test/unit/START/parenthesis/in
@@ -0,0 +1 @@
+foo(%(b)ar)
diff --git a/test/unit/START/parenthesis/selections b/test/unit/START/parenthesis/selections
new file mode 100644
index 00000000..a4f1ddd7
--- /dev/null
+++ b/test/unit/START/parenthesis/selections
@@ -0,0 +1 @@
+(b
diff --git a/test/unit/START/sentence/cmd b/test/unit/START/sentence/cmd
new file mode 100644
index 00000000..b22d6c52
--- /dev/null
+++ b/test/unit/START/sentence/cmd
@@ -0,0 +1 @@
+{s
diff --git a/test/unit/START/sentence/in b/test/unit/START/sentence/in
new file mode 100644
index 00000000..0e5983b9
--- /dev/null
+++ b/test/unit/START/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/START/sentence/selections b/test/unit/START/sentence/selections
new file mode 100644
index 00000000..837b6bb4
--- /dev/null
+++ b/test/unit/START/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/START/single_quote/cmd b/test/unit/START/single_quote/cmd
new file mode 100644
index 00000000..7bf02d06
--- /dev/null
+++ b/test/unit/START/single_quote/cmd
@@ -0,0 +1 @@
+{q
diff --git a/test/unit/START/single_quote/in b/test/unit/START/single_quote/in
new file mode 100644
index 00000000..ed397c1c
--- /dev/null
+++ b/test/unit/START/single_quote/in
@@ -0,0 +1 @@
+foo('%(b)ar')
diff --git a/test/unit/START/single_quote/selections b/test/unit/START/single_quote/selections
new file mode 100644
index 00000000..52d63ab2
--- /dev/null
+++ b/test/unit/START/single_quote/selections
@@ -0,0 +1 @@
+'b
diff --git a/test/unit/START/word/cmd b/test/unit/START/word/cmd
new file mode 100644
index 00000000..bd2198bc
--- /dev/null
+++ b/test/unit/START/word/cmd
@@ -0,0 +1 @@
+{w
diff --git a/test/unit/START/word/in b/test/unit/START/word/in
new file mode 100644
index 00000000..6cac4552
--- /dev/null
+++ b/test/unit/START/word/in
@@ -0,0 +1 @@
+foo ba%(r) baz
diff --git a/test/unit/START/word/selections b/test/unit/START/word/selections
new file mode 100644
index 00000000..efe82b7c
--- /dev/null
+++ b/test/unit/START/word/selections
@@ -0,0 +1 @@
+bar