1Cache::CacheTester(3) User Contributed Perl DocumentationCache::CacheTester(3)
2
3
4
6 Cache::CacheTester -- a class for regression testing caches
7
9 The CacheTester is used to verify that a cache implementation honors
10 its contract.
11
13 use Cache::MemoryCache;
14 use Cache::CacheTester;
15
16 my $cache = new Cache::MemoryCache( );
17
18 my $cache_tester = new Cache::CacheTester( 1 );
19
20 $cache_tester->test( $cache );
21
23 new( $initial_count )
24 Construct a new CacheTester object, with the counter starting at
25 $initial_count.
26
27 test( )
28 Run the tests.
29
31 Cache::Cache, Cache::BaseCacheTester
32
34 Original author: DeWitt Clinton <dewitt@unto.net>
35
36 Last author: $Author: dclinton $
37
38 Copyright (C) 2001-2003 DeWitt Clinton
39
40
41
42perl v5.32.1 2021-01-26 Cache::CacheTester(3)