/*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#define SQUID_SRC_TEST_STORE_H
#include "Store.h"
+#include "store/Controlled.h"
#include <cppunit/extensions/HelperMacros.h>
void testMaxSize();
};
-/* subclass of Store to allow testing of methods without having all the
- * other components live
- */
-
-class TestStore : public Store
+/// allows testing of methods without having all the other components live
+class TestStore : public Store::Controller
{
public:
virtual void reference(StoreEntry &) {} /* Reference this object */
- virtual bool dereference(StoreEntry &, bool) { return true; }
+ virtual bool dereference(StoreEntry &) { return true; }
- virtual StoreSearch *search(String const url, HttpRequest *);
+ virtual StoreSearch *search();
};
typedef RefCount<TestStore> TestStorePointer;