From 8e46cda5f157b92f81f92676421a6ecead743df0 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Tue, 30 Mar 2010 19:32:03 +0200 Subject: [PATCH] Marked more cppunit tests. --- lib/tests/testArray.cc | 1 + lib/tests/testRFC1035.cc | 1 + lib/tests/testRFC1738.cc | 1 + src/ip/testIpAddress.cc | 1 + src/tests/testCoss.cc | 1 + src/tests/testEvent.cc | 1 + src/tests/testEventLoop.cc | 1 + src/tests/testHttpReply.cc | 1 + src/tests/testHttpRequest.cc | 1 + src/tests/testNull.cc | 1 + src/tests/testStoreSupport.cc | 1 + src/tests/testString.cc | 1 + src/tests/testURL.cc | 1 + src/tests/testUfs.cc | 1 + src/tests/test_http_range.cc | 1 + 15 files changed, 15 insertions(+) diff --git a/lib/tests/testArray.cc b/lib/tests/testArray.cc index 8e08cebe7f..6e46be9218 100644 --- a/lib/tests/testArray.cc +++ b/lib/tests/testArray.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #if HAVE_ASSERT_H diff --git a/lib/tests/testRFC1035.cc b/lib/tests/testRFC1035.cc index 953ab1431b..986eb01eba 100644 --- a/lib/tests/testRFC1035.cc +++ b/lib/tests/testRFC1035.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #if HAVE_ASSERT_H diff --git a/lib/tests/testRFC1738.cc b/lib/tests/testRFC1738.cc index e58fc1897a..c67a85a53b 100644 --- a/lib/tests/testRFC1738.cc +++ b/lib/tests/testRFC1738.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #if HAVE_ASSERT_H diff --git a/src/ip/testIpAddress.cc b/src/ip/testIpAddress.cc index b4841c52ce..f29d1609d7 100644 --- a/src/ip/testIpAddress.cc +++ b/src/ip/testIpAddress.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #include "compat/getaddrinfo.h" #include "testIpAddress.h" diff --git a/src/tests/testCoss.cc b/src/tests/testCoss.cc index a8896adbf6..3e1b07a46d 100644 --- a/src/tests/testCoss.cc +++ b/src/tests/testCoss.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "squid.h" #include "testCoss.h" #include "Store.h" diff --git a/src/tests/testEvent.cc b/src/tests/testEvent.cc index 8825bbd502..e0b54bbe52 100644 --- a/src/tests/testEvent.cc +++ b/src/tests/testEvent.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #include diff --git a/src/tests/testEventLoop.cc b/src/tests/testEventLoop.cc index 64a421bce4..b490ad8e1d 100644 --- a/src/tests/testEventLoop.cc +++ b/src/tests/testEventLoop.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #include diff --git a/src/tests/testHttpReply.cc b/src/tests/testHttpReply.cc index 7801850847..6585f07f0a 100644 --- a/src/tests/testHttpReply.cc +++ b/src/tests/testHttpReply.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #include diff --git a/src/tests/testHttpRequest.cc b/src/tests/testHttpRequest.cc index a958be9279..4857965b0d 100644 --- a/src/tests/testHttpRequest.cc +++ b/src/tests/testHttpRequest.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #include diff --git a/src/tests/testNull.cc b/src/tests/testNull.cc index 856624fc2f..62e93948ce 100644 --- a/src/tests/testNull.cc +++ b/src/tests/testNull.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "squid.h" #include "testNull.h" #include "Store.h" diff --git a/src/tests/testStoreSupport.cc b/src/tests/testStoreSupport.cc index ae485f69b6..f09c19cb99 100644 --- a/src/tests/testStoreSupport.cc +++ b/src/tests/testStoreSupport.cc @@ -31,6 +31,7 @@ * */ +#define SQUID_UNIT_TEST 1 #include "testStoreSupport.h" #include "event.h" #include "EventLoop.h" diff --git a/src/tests/testString.cc b/src/tests/testString.cc index 9b0df39333..6667d7ac76 100644 --- a/src/tests/testString.cc +++ b/src/tests/testString.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #include "testString.h" diff --git a/src/tests/testURL.cc b/src/tests/testURL.cc index fbf7edcd21..371eda69d4 100644 --- a/src/tests/testURL.cc +++ b/src/tests/testURL.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #include diff --git a/src/tests/testUfs.cc b/src/tests/testUfs.cc index e15c0e3d97..8b5b072853 100644 --- a/src/tests/testUfs.cc +++ b/src/tests/testUfs.cc @@ -1,3 +1,4 @@ +#define SQUID_UNIT_TEST 1 #include "config.h" #include "testUfs.h" #include "Store.h" diff --git a/src/tests/test_http_range.cc b/src/tests/test_http_range.cc index d9b8df69fd..e106f8fe3a 100644 --- a/src/tests/test_http_range.cc +++ b/src/tests/test_http_range.cc @@ -31,6 +31,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. * */ +#define SQUID_UNIT_TEST 1 #include "config.h" #if 0 -- 2.47.2