]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
More missing files.
authorrobertc <>
Sat, 22 Apr 2006 19:18:37 +0000 (19:18 +0000)
committerrobertc <>
Sat, 22 Apr 2006 19:18:37 +0000 (19:18 +0000)
src/tests/testBoilerplate.cc [new file with mode: 0644]
src/tests/testBoilerplate.h [new file with mode: 0644]
src/tests/testHeader_ACL.cc [new file with mode: 0644]
src/tests/testHeader_HttpHeader.cc [new file with mode: 0644]
src/tests/testHeader_HttpHeaderRange.cc [new file with mode: 0644]
src/tests/testHeader_HttpReply.cc [new file with mode: 0644]
src/tests/testHeader_dlink.cc [new file with mode: 0644]

diff --git a/src/tests/testBoilerplate.cc b/src/tests/testBoilerplate.cc
new file mode 100644 (file)
index 0000000..ab7919d
--- /dev/null
@@ -0,0 +1,13 @@
+#include "squid.h"
+#include <stdexcept>
+
+#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 (file)
index 0000000..4cbf386
--- /dev/null
@@ -0,0 +1,26 @@
+
+#ifndef SQUID_SRC_TEST_BOILDERPLATE_H
+#define SQUID_SRC_TEST_BOILDERPLATE_H
+
+#include <cppunit/extensions/HelperMacros.h>
+
+/*
+ * 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 (file)
index 0000000..8a0a37d
--- /dev/null
@@ -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 (file)
index 0000000..612b357
--- /dev/null
@@ -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 (file)
index 0000000..ae5666e
--- /dev/null
@@ -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 (file)
index 0000000..d40364d
--- /dev/null
@@ -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 (file)
index 0000000..4056995
--- /dev/null
@@ -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"