-#define SQUID_UNIT_TEST 1
+/*
+ * Copyright (C) 1996-2023 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.h"
#include "DiskIO/DiskIOModule.h"
#include "HttpHeader.h"
#include "HttpReply.h"
-#include "Mem.h"
#include "MemObject.h"
#include "Store.h"
#include "StoreFileSystem.h"
-#include "SwapDir.h"
#include "testDiskIO.h"
#include "testStoreSupport.h"
+#include "unitTestMain.h"
-#if HAVE_STDEXCEPT
#include <stdexcept>
-#endif
CPPUNIT_TEST_SUITE_REGISTRATION( testDiskIO );
DiskIOModule * module = DiskIOModule::FindDefault();
#if USE_DISKIO
/* enabled. we expect at least ONE */
- CPPUNIT_ASSERT(module != NULL);
+ CPPUNIT_ASSERT(module != nullptr);
#else
/* disabled. we don't expect ANY */
CPPUNIT_ASSERT(module == NULL);
#endif
}
+