1Cache::BaseCacheTester(U3s)er Contributed Perl DocumentatCiaocnhe::BaseCacheTester(3)
2
3
4
6 Cache::BaseCacheTester -- abstract cache tester base class
7
9 BaseCacheTester provides functionality common to all instances of a
10 class that will test cache implementations.
11
13 BaseCacheTester provides functionality common to all instances of a
14 class that will test cache implementations.
15
16 package Cache::MyCacheTester;
17
18 use vars qw( @ISA );
19 use Cache::BaseCacheTester;
20
21 @ISA = qw( Cache::BaseCacheTester );
22
24 new( $base_test_count )
25 Construct a new BaseCacheTester and initialize the test count to
26 $base_test_count.
27
28 ok( )
29 Print a message to stdout in the form "ok $test_count" and
30 increments the test count.
31
32 not_ok( $message )
33 Print a message to stdout in the form "not ok $test_count #
34 $message " and increments the test count.
35
36 skip( $message )
37 Print a message to stdout in the form "ok $test_count # skipped
38 $message " and increments the test count.
39
41 Cache::CacheTester, Cache::SizeAwareCacheTester
42
44 Original author: DeWitt Clinton <dewitt@unto.net>
45
46 Last author: $Author: dclinton $
47
48 Copyright (C) 2001-2003 DeWitt Clinton
49
50
51
52perl v5.36.0 2023-01-20 Cache::BaseCacheTester(3)