]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/testDiskIO.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / testDiskIO.cc
index ca3f1ff2b01ee4d98a04a2fd494a0cb2b81c83a6..fcfdf73420ccf383f0a290e0a3e3f3be3eb754bf 100644 (file)
@@ -1,23 +1,23 @@
-#define SQUID_UNIT_TEST 1
+/*
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
 
-#include "squid-old.h"
-#include "testDiskIO.h"
-#include "Store.h"
-#include "SwapDir.h"
+#include "squid.h"
 #include "DiskIO/DiskIOModule.h"
-#if 0 // AYJ: COSS in Squid-3 is disabled.
-#include "fs/coss/CossSwapDir.h"
-#endif
-#include "Mem.h"
-#include "MemObject.h"
 #include "HttpHeader.h"
 #include "HttpReply.h"
+#include "MemObject.h"
+#include "Store.h"
 #include "StoreFileSystem.h"
+#include "testDiskIO.h"
 #include "testStoreSupport.h"
+#include "unitTestMain.h"
 
-#if HAVE_STDEXCEPT
 #include <stdexcept>
-#endif
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testDiskIO );
 
@@ -40,3 +40,4 @@ testDiskIO::testFindDefault()
     CPPUNIT_ASSERT(module == NULL);
 #endif
 }
+