]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/testStoreHashIndex.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / tests / testStoreHashIndex.cc
index 56c97639b5e15f1d9225fb3a260cdf611f9e280e..17cc99cc68bc06b7f8196c885a97cd4baf5be836 100644 (file)
@@ -1,15 +1,15 @@
 #define SQUID_UNIT_TEST 1
 
 #include "squid.h"
-
-#include "testStoreHashIndex.h"
+#include "Mem.h"
+#include "SquidConfig.h"
+#include "SquidTime.h"
 #include "Store.h"
-#include "SwapDir.h"
-#include "TestSwapDir.h"
 #include "StoreHashIndex.h"
-#include "Mem.h"
 #include "StoreSearch.h"
-#include "SquidTime.h"
+#include "SwapDir.h"
+#include "testStoreHashIndex.h"
+#include "TestSwapDir.h"
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testStoreHashIndex );
 
@@ -21,7 +21,6 @@ addSwapDir(TestSwapDirPointer aStore)
     ++Config.cacheSwap.n_configured;
 }
 
-
 void
 testStoreHashIndex::testStats()
 {
@@ -74,7 +73,7 @@ addedEntry(StorePointer hashStore,
     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;
     }