NAME

EntityModel::Test::Cache - tests for EntityModel::Cache and subclasses

VERSION

version 0.102

SYNOPSIS

use EntityModel::Test::Cache;
cache_ok('EntityModel::Cache::Perl', '::Perl subclass works');

DESCRIPTION

Provides functions for testing EntityModel::Cache subclasses.

EXPORTS

Since this is a test class, functions are exported automatically to match behaviour of other test modules such as Test::More. To disable this, pass an empty list on the use line or use require instead:

use EntityModel::Test::Cache ();
EntityModel::Test::Cache::cache_ok(...);

FUNCTIONS

cache_ok

Runs all available tests (including attempting to load the module) and returns the usual Test::Builder ok/fail response.

INHERITED METHODS

Exporter

as_heavy, export, export_fail, export_ok_tags, export_tags, export_to_level, import, require_version

EntityModel::BaseClass

clone, dump, new, sap

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2008-2011. Licensed under the same terms as Perl itself.