Cache::BaseCacheTester(3pm)

Cache::BaseCacheTester3pm

Usage

BaseCacheTester provides functionality common to all instances of a class that will test cache implementations.

  package Cache::MyCacheTester;
  use vars qw( @ISA );
  use Cache::BaseCacheTester;
  @ISA = qw( Cache::BaseCacheTester );

Overview

BaseCacheTester provides functionality common to all instances of a class that will test cache implementations.

Methods

new( $base_test_count )

Construct a new BaseCacheTester and initialize the test count to $base_test_count.

ok( )

Print a message to stdout in the form "ok $test_count" and increments the test count.

not_ok( $message )

Print a message to stdout in the form "not ok $test_count # $message " and increments the test count.

skip( $message )

Print a message to stdout in the form "ok $test_count # skipped $message " and increments the test count.

Releases

12 releases since Debian 3.0 (Woody); the text changed 7 times.

  1. 3.0
  2. 3.1
  3. 4.0–5.0
  4. 6.0
  5. 7
  6. 8
  7. 9–11
  8. 12–13

Author

Original author: DeWitt Clinton <[email protected]>

Last author: $Author: dclinton $

Copyright (C) 2001-2003 DeWitt Clinton

From libcache-cache-perl 1.08-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.