aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-01-01 17:33:42 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-01-03 19:38:10 +0100
commit35e1d6538a8767526b9cae66134441b146503a21 (patch)
tree871888fc2da33021b88546f78c33e90add2d675b /tests/data
parent45cea7196870f2b5e7096a619dc1a9725295ca1a (diff)
unittest: framework for unit-testing
This is the first approach at doing fairly clean and easy to write and debug unit tests.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test130030
2 files changed, 31 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index d4fa32abc..c7a1b467f 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -68,7 +68,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test1108 test1109 test1110 test1111 test1112 test129 test567 test568 \
test569 test570 test571 test572 test804 test805 test806 test807 test573 \
test313 test1115 test578 test579 test1116 test1200 test1201 test1202 \
- test1203 test1117 test1118 test1119 test1120
+ test1203 test1117 test1118 test1119 test1120 test1300
filecheck:
@mkdir test-place; \
diff --git a/tests/data/test1300 b/tests/data/test1300
new file mode 100644
index 000000000..8bbbecdef
--- /dev/null
+++ b/tests/data/test1300
@@ -0,0 +1,30 @@
+<testcase>
+<info>
+<keywords>
+unittest
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+ <name>
+llist unit tests
+ </name>
+<tool>
+unit1300
+</tool>
+<command>
+unit1300
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+
+</verify>
+</testcase>