aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-01-04 23:10:45 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-01-04 23:13:10 +0100
commit0029b2f0423b4a89e7e5ba79b3359868ef6ad0ba (patch)
tree041622ce0b26e5aad0386a65875c18c151e41e93 /tests/data
parent7c5d888ea69a30f29d7b100e4e7a8fcccd0a9e81 (diff)
unittest: 1303 tests Curl_timeleft
I came up with 33 different ways to call it and verify that it returns the correct return code.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am3
-rw-r--r--tests/data/test130326
2 files changed, 28 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index e5e920681..701b32415 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -68,7 +68,8 @@ 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 test1300 test1301 test1302
+ test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \
+ test1303
filecheck:
@mkdir test-place; \
diff --git a/tests/data/test1303 b/tests/data/test1303
new file mode 100644
index 000000000..925b47e15
--- /dev/null
+++ b/tests/data/test1303
@@ -0,0 +1,26 @@
+<testcase>
+<info>
+<keywords>
+unittest
+Curl_timeleft
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+<features>
+unittest
+</features>
+ <name>
+Curl_timeleft unit tests
+ </name>
+<tool>
+unit1303
+</tool>
+</client>
+
+</testcase>