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..b8c68dc9
--- /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..3a8d2ba3
--- /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..7f884a79
--- /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..f4c7fa13
--- /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..dad92fad
--- /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..46ed1d05
--- /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..3a5bba76
--- /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..4976613e
--- /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..3a41e248
--- /dev/null
+++ b/test/unit/start/paragraph/selections
@@ -0,0 +1,4 @@
+a
+b
+
+
diff --git a/test/unit/start/parenthesis/cmd b/test/unit/start/parenthesis/cmd
new file mode 100644
index 00000000..f78a0e94
--- /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..e7c8a2c6
--- /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..93673f74
--- /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..4198f90f
--- /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