Cache::SizeAwareCacheTester -- a class for regression testing size aware caches
The SizeCacheTester is used to verify that a cache implementation honors its contract with respect to resizing capabilities
use Cache::SizeAwareMemoryCache; use Cache::SizeAwareCacheTester; my $cache = new Cache::SizeAwareMemoryCache( ); my $cache_tester = new Cache::SizeAwareCacheTester( 1 ); $cache_tester->test( $cache );
Construct a new SizeAwareCacheTester object, with the counter starting at $initial_count.
Run the tests.
Cache::Cache, Cache::BaseCacheTester, Cache::CacheTester
Original author: DeWitt Clinton <dewitt@unto.net>
Last author: $Author: dclinton $
Copyright (C) 2001-2003 DeWitt Clinton
To install Cache::Cache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cache::Cache
CPAN shell
perl -MCPAN -e shell install Cache::Cache
For more information on module installation, please visit the detailed CPAN module installation guide.