#include "squid.h"
#include "DiskIO/DiskIOModule.h"
#include "fde.h"
#include "fs/ufs/UFSSwapDir.h"
#include "globals.h"
#include "HttpHeader.h"
#include "HttpReply.h"
#include "MemObject.h"
#include "RequestFlags.h"
#include "SquidConfig.h"
#include "Store.h"
#include "store/Disks.h"
#include "testStoreSupport.h"
#include "testUfs.h"
#include "unitTestMain.h"
#include <stdexcept>

Go to the source code of this file.
Macros | |
#define | TESTDIR "testUfs_Store" |
Typedefs | |
typedef RefCount< Fs::Ufs::UFSSwapDir > | MySwapDirPointer |
Functions | |
CPPUNIT_TEST_SUITE_REGISTRATION (testUfs) | |
static void | addSwapDir (MySwapDirPointer aStore) |
static void | searchCallback (void *) |
Variables | |
REMOVALPOLICYCREATE | createRemovalPolicy_lru |
static bool | cbcalled |
Macro Definition Documentation
◆ TESTDIR
#define TESTDIR "testUfs_Store" |
Definition at line 27 of file testUfs.cc.
Typedef Documentation
◆ MySwapDirPointer
typedef RefCount<Fs::Ufs::UFSSwapDir> MySwapDirPointer |
Definition at line 31 of file testUfs.cc.
Function Documentation
◆ addSwapDir()
|
static |
Definition at line 35 of file testUfs.cc.
References allocate_new_swapdir(), SquidConfig::cacheSwap, Config, RefCount< C >::getRaw(), Store::DiskConfig::n_configured, and Store::DiskConfig::swapDirs.
Referenced by testUfs::testUfsDefaultEngine(), and testUfs::testUfsSearch().
◆ CPPUNIT_TEST_SUITE_REGISTRATION()
CPPUNIT_TEST_SUITE_REGISTRATION | ( | testUfs | ) |
◆ searchCallback()
|
static |
Definition at line 45 of file testUfs.cc.
References cbcalled.
Referenced by testUfs::testUfsSearch().
Variable Documentation
◆ cbcalled
|
static |
Definition at line 42 of file testUfs.cc.
Referenced by searchCallback(), and testUfs::testUfsSearch().
◆ createRemovalPolicy_lru
|
extern |
Definition at line 20 of file store_repl_lru.cc.
Referenced by testUfs::commonInit().