phpman > perldoc > Cache::CacheTester(3pm)

Markdown | JSON | MCP    

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
    new( $initial_count )
        Construct a new CacheTester object, with the counter starting at *$initial_count*.

    test( )
        Run the tests.

SEE ALSO
    Cache::Cache, Cache::BaseCacheTester

AUTHOR
    Original author: DeWitt Clinton <dewitt AT unto.net>

    Last author: $Author: dclinton $

    Copyright (C) 2001-2003 DeWitt Clinton

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-13 14:41 @216.73.216.28
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!