NAME
Nuvol::Test::Roles - Test functions for Nuvol roles
SYNOPSIS
# File
use Nuvol::Test::Roles ':file';
test_file_prerequisites;
test_file_applied;
test_file_methods;
# Metadata
use Nuvol::Test::Roles ':metadata';
test_metadata_prerequisites;
test_metadata_applied;
test_metadata_methods;
DESCRIPTION
Nuvol::Test::Roles provides test functions for Nuvol roles.
FUNCTIONS
test_file_applied
test_file_applied $object, $service;
Tests if the File role and the service file role are applied.
test_file_methods
test_file_methods $object, $service; # live tests only
Tests if the File methods return values.
test_file_prerequisites
test_file_prerequisites $package, $service;
Tests if all the prerequisites for the File and the service file roles are met.
test_folder_applied
test_folder_applied $object, $service;
Tests if the Folder role and the service folder role are applied.
test_folder_methods
test_folder_methods $object, $service; # live tests only
Tests if the Folder methods return values.
test_folder_prerequisites
test_folder_prerequisites $package, $service;
Tests if all the prerequisites for the Folder and the service folder roles are met.
test_metadata_applied
test_metadata_applied $object, $service;
Tests if the Metadata role is applied.
test_metadata_methods
test_metadata_methods $object, $service; # live tests only
Tests if the Metadata methods return values.
test_metadata_prerequisites
test_metadata_prerequisites $package, $service;
Tests if all the prerequisites for the Metadata role are met.
SEE ALSO
Nuvol::Test, Nuvol::Test::Connector, Nuvol::Test::Drive, Nuvol::Test::Item.