#define SQUID_UNIT_TEST 1
#include "squid.h"
-
#include "testStoreController.h"
#include "Store.h"
#include "SwapDir.h"
++Config.cacheSwap.n_configured;
}
-
void
testStoreController::testStats()
{
e->swap_filen = 0; /* garh - lower level*/
e->swap_dirn = -1;
- for (int i=0; i < Config.cacheSwap.n_configured; i++) {
+ for (int i=0; i < Config.cacheSwap.n_configured; ++i) {
if (INDEXSD (i) == aStore.getRaw())
e->swap_dirn = i;
}