From: robertc <> Date: Sat, 22 Apr 2006 19:18:37 +0000 (+0000) Subject: More missing files. X-Git-Tag: SQUID_3_0_PRE4~250 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2af48c0923d71a787369ebab399137862342014;p=thirdparty%2Fsquid.git More missing files. --- diff --git a/src/tests/testBoilerplate.cc b/src/tests/testBoilerplate.cc new file mode 100644 index 0000000000..ab7919d61d --- /dev/null +++ b/src/tests/testBoilerplate.cc @@ -0,0 +1,13 @@ +#include "squid.h" +#include + +#include "testBoilerplate.h" + +CPPUNIT_TEST_SUITE_REGISTRATION( testBoilerplate ); + + +void +testBoilerplate::testDemonstration() +{ + CPPUNIT_ASSERT(0 == 0); +} diff --git a/src/tests/testBoilerplate.h b/src/tests/testBoilerplate.h new file mode 100644 index 0000000000..4cbf386a79 --- /dev/null +++ b/src/tests/testBoilerplate.h @@ -0,0 +1,26 @@ + +#ifndef SQUID_SRC_TEST_BOILDERPLATE_H +#define SQUID_SRC_TEST_BOILDERPLATE_H + +#include + +/* + * demonstration test file, as new idioms are made they will + * be shown in the testBoilerplate source. + */ + +class testBoilerplate : public CPPUNIT_NS::TestFixture +{ + CPPUNIT_TEST_SUITE( testBoilerplate ); + /* note the statement here and then the actual prototype below */ + CPPUNIT_TEST( testDemonstration ); + CPPUNIT_TEST_SUITE_END(); + +public: + +protected: + void testDemonstration(); +}; + +#endif /* SQUID_SRC_TEST_BOILDERPLATE_H */ + diff --git a/src/tests/testHeader_ACL.cc b/src/tests/testHeader_ACL.cc new file mode 100644 index 0000000000..8a0a37d10a --- /dev/null +++ b/src/tests/testHeader_ACL.cc @@ -0,0 +1,4 @@ +/* This test tests that the header below can be processed on its own with + * no other #includes. Dont add any! + */ +#include "ACL.h" diff --git a/src/tests/testHeader_HttpHeader.cc b/src/tests/testHeader_HttpHeader.cc new file mode 100644 index 0000000000..612b357340 --- /dev/null +++ b/src/tests/testHeader_HttpHeader.cc @@ -0,0 +1,4 @@ +/* This test tests that the header below can be processed on its own with + * no other #includes. Dont add any! + */ +#include "HttpHeader.h" diff --git a/src/tests/testHeader_HttpHeaderRange.cc b/src/tests/testHeader_HttpHeaderRange.cc new file mode 100644 index 0000000000..ae5666ee5c --- /dev/null +++ b/src/tests/testHeader_HttpHeaderRange.cc @@ -0,0 +1,4 @@ +/* This test tests that the header below can be processed on its own with + * no other #includes. Dont add any! + */ +#include "HttpHeaderRange.h" diff --git a/src/tests/testHeader_HttpReply.cc b/src/tests/testHeader_HttpReply.cc new file mode 100644 index 0000000000..d40364d148 --- /dev/null +++ b/src/tests/testHeader_HttpReply.cc @@ -0,0 +1,4 @@ +/* This test tests that the header below can be processed on its own with + * no other #includes. Dont add any! + */ +#include "HttpReply.h" diff --git a/src/tests/testHeader_dlink.cc b/src/tests/testHeader_dlink.cc new file mode 100644 index 0000000000..40569953a3 --- /dev/null +++ b/src/tests/testHeader_dlink.cc @@ -0,0 +1,4 @@ +/* This test tests that the header below can be processed on its own with + * no other #includes. Dont add any! + */ +#include "dlink.h"