]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/testDiskIO.cc
2 * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 #include "DiskIO/DiskIOModule.h"
11 #include "HttpHeader.h"
12 #include "HttpReply.h"
13 #include "MemObject.h"
15 #include "StoreFileSystem.h"
16 #include "testDiskIO.h"
17 #include "testStoreSupport.h"
18 #include "unitTestMain.h"
22 CPPUNIT_TEST_SUITE_REGISTRATION( testDiskIO
);
28 DiskIOModule::SetupAllModules();
32 testDiskIO::testFindDefault()
34 DiskIOModule
* module
= DiskIOModule::FindDefault();
36 /* enabled. we expect at least ONE */
37 CPPUNIT_ASSERT(module
!= NULL
);
39 /* disabled. we don't expect ANY */
40 CPPUNIT_ASSERT(module
== NULL
);