Cache::SizeAwareCacheTester3pm
Usage
use Cache::SizeAwareMemoryCache;use Cache::SizeAwareCacheTester;my $cache = new Cache::SizeAwareMemoryCache( );my $cache_tester = new Cache::SizeAwareCacheTester( 1 );$cache_tester->test( $cache );
Overview
The SizeCacheTester is used to verify that a cache implementation honors its contract with respect to resizing capabilities
Methods
- new( $initial_count )
-
Construct a new SizeAwareCacheTester object, with the counter starting at $initial_count.
- test( )
-
Run the tests.
Releases
12 releases since Debian 3.0 (Woody); the text changed 7 times.