]>
Commit | Line | Data |
---|---|---|
8ff3fa2e | 1 | /* |
f70aedc4 | 2 | * Copyright (C) 1996-2021 The Squid Software Foundation and contributors |
8ff3fa2e | 3 | * |
4e0938ef AJ |
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. | |
8ff3fa2e | 7 | */ |
8 | ||
4e0938ef AJ |
9 | #ifndef SQUID_TESTSTORESUPPORT_H |
10 | #define SQUID_TESTSTORESUPPORT_H | |
8ff3fa2e | 11 | |
12 | #include "EventLoop.h" | |
314782d4 | 13 | #include "SquidTime.h" |
8ff3fa2e | 14 | |
15 | /* construct a stock loop with event dispatching, a time service that advances | |
16 | * 1 second a tick | |
17 | */ | |
18 | ||
19 | class StockEventLoop : public EventLoop | |
20 | { | |
21 | ||
22 | public: | |
23 | StockEventLoop(); | |
24 | TimeEngine default_time_engine; | |
25 | }; | |
26 | ||
27 | #endif /* SQUID_TESTSTORESUPPORT_H */ | |
f53969cc | 28 |