1//
2// ExpireCacheTest.h
3//
4// Tests for ExpireCache
5//
6// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12#ifndef ExpireCacheTest_INCLUDED
13#define ExpireCacheTest_INCLUDED
14
15
16#include "Poco/Foundation.h"
17#include "Poco/CppUnit/TestCase.h"
18
19
20class ExpireCacheTest: public CppUnit::TestCase
21{
22public:
23 ExpireCacheTest(const std::string& name);
24 ~ExpireCacheTest();
25
26 void testClear();
27 void testDuplicateAdd();
28 void testExpire0();
29 void testExpireN();
30 void testAccessExpireN();
31 void testExpireWithHas();
32
33
34 void setUp();
35 void tearDown();
36 static CppUnit::Test* suite();
37};
38
39
40#endif // ExpireCacheTest_INCLUDED
41