1Cache::CacheTester(3) User Contributed Perl DocumentationCache::CacheTester(3)
2
3
4

NAME

6       Cache::CacheTester -- a class for regression testing caches
7

DESCRIPTION

9       The CacheTester is used to verify that a cache implementation honors
10       its contract.
11

SYNOPSIS

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

METHODS

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

SEE ALSO

31       Cache::Cache, Cache::BaseCacheTester
32

AUTHOR

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.34.0                      2022-01-20             Cache::CacheTester(3)
Impressum