1Cache::SizeAwareCacheTeUssteerr(C3o)ntributed Perl DocumCeancthaet:i:oSnizeAwareCacheTester(3)
2
3
4
6 Cache::SizeAwareCacheTester -- a class for regression testing size
7 aware caches
8
10 The SizeCacheTester is used to verify that a cache implementation
11 honors its contract with respect to resizing capabilities
12
14 use Cache::SizeAwareMemoryCache;
15 use Cache::SizeAwareCacheTester;
16
17 my $cache = new Cache::SizeAwareMemoryCache( );
18
19 my $cache_tester = new Cache::SizeAwareCacheTester( 1 );
20
21 $cache_tester->test( $cache );
22
24 new( $initial_count )
25 Construct a new SizeAwareCacheTester object, with the counter
26 starting at $initial_count.
27
28 test( )
29 Run the tests.
30
32 Cache::Cache, Cache::BaseCacheTester, Cache::CacheTester
33
35 Original author: DeWitt Clinton <dewitt@unto.net>
36
37 Last author: $Author: dclinton $
38
39 Copyright (C) 2001-2003 DeWitt Clinton
40
41
42
43perl v5.30.1 2020-01-29 Cache::SizeAwareCacheTester(3)