1. Toby Inkster
  2. p5-cache-moustache

Commits

Toby Inkster  committed 42e1923

remove Cache::Cache dep

  • Participants
  • Parent commits 7625073
  • Branches default

Comments (0)

Files changed (2)

File t/lib/Cache/BaseCacheTester.pm

View file
  • Ignore whitespace
 
 1;
 
-
-__END__
-
-
-=pod
-
-=head1 NAME
-
-Cache::BaseCacheTester -- abstract cache tester base class
-
-=head1 DESCRIPTION
-
-BaseCacheTester provides functionality common to all instances of a
-class that will test cache implementations.
-
-=head1 SYNOPSIS
-
-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 );
-
-=head1 METHODS
-
-=over
-
-=item B<new( $base_test_count )>
-
-Construct a new BaseCacheTester and initialize the test count to
-I<$base_test_count>.
-
-=item B<ok( )>
-
-Print a message to stdout in the form "ok $test_count" and
-incremements the test count.
-
-=item B<not_ok( $message )>
-
-Print a message to stdout in the form "not ok $test_count # I<$message> "
-and incremements the test count.
-
-=item B<skip( $message )>
-
-Print a message to stdout in the form "ok $test_count # skipped I<$message> "
-and incremements the test count.
-
-=back
-
-=head1 SEE ALSO
-
-Cache::CacheTester, Cache::SizeAwareCacheTester
-
-=head1 AUTHOR
-
-Original author: DeWitt Clinton <dewitt@unto.net>
-
-Last author:     $Author: dclinton $
-
-Copyright (C) 2001-2003 DeWitt Clinton
-
-=cut
-
-

File t/lib/Cache/CacheTester.pm

View file
  • Ignore whitespace
 
 use strict;
 use Cache::BaseCacheTester;
-use Cache::Cache;
 
 our @ISA           = qw( Cache::BaseCacheTester );
 our $EXPIRES_DELAY = 2;
 }
 
 
-1;
-
-
-__END__
-
-=pod
-
-=head1 NAME
-
-Cache::CacheTester -- a class for regression testing caches
-
-=head1 DESCRIPTION
-
-The CacheTester is used to verify that a cache implementation honors
-its contract.
-
-=head1 SYNOPSIS
-
-  use Cache::MemoryCache;
-  use Cache::CacheTester;
-
-  my $cache = new Cache::MemoryCache( );
-
-  my $cache_tester = new Cache::CacheTester( 1 );
-
-  $cache_tester->test( $cache );
-
-=head1 METHODS
-
-=over
-
-=item B<new( $initial_count )>
-
-Construct a new CacheTester object, with the counter starting at
-I<$initial_count>.
-
-=item B<test( )>
-
-Run the tests.
-
-=back
-
-=head1 SEE ALSO
-
-Cache::Cache, Cache::BaseCacheTester
-
-=head1 AUTHOR
-
-Original author: DeWitt Clinton <dewitt@unto.net>
-
-Last author:     $Author: dclinton $
-
-Copyright (C) 2001-2003 DeWitt Clinton
-
-=cut
-
+1;