Scroll to navigation

Cache::CacheTester(3pm) User Contributed Perl Documentation Cache::CacheTester(3pm)

NAME

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

DESCRIPTION

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

SYNOPSIS

  use Cache::MemoryCache;
  use Cache::CacheTester;
  my $cache = new Cache::MemoryCache( );
  my $cache_tester = new Cache::CacheTester( 1 );
  $cache_tester->test( $cache );

METHODS

Construct a new CacheTester object, with the counter starting at $initial_count.
Run the tests.

SEE ALSO

Cache::Cache, Cache::BaseCacheTester

AUTHOR

Original author: DeWitt Clinton <dewitt@unto.net>

Last author: $Author: dclinton $

Copyright (C) 2001-2003 DeWitt Clinton

2022-06-30 perl v5.34.0