From 35e1d6538a8767526b9cae66134441b146503a21 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 1 Jan 2011 17:33:42 +0100 Subject: unittest: framework for unit-testing This is the first approach at doing fairly clean and easy to write and debug unit tests. --- tests/data/Makefile.am | 2 +- tests/data/test1300 | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 tests/data/test1300 (limited to 'tests/data') 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 @@ + + + +unittest + + + +# +# Client-side + + +none + + +llist unit tests + + +unit1300 + + +unit1300 + + + +# +# Verify data after the test has been "shot" + + + + -- cgit v1.2.3