Changeset 1495
- Timestamp:
- 04/09/08 15:26:50 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-simpler_agent/lib/HoneyClient/Manager.pm
r1491 r1495 194 194 # Make sure the module loads properly, with the exportable 195 195 # functions shared. 196 BEGIN { use_ok('HoneyClient::Manager' , qw(init destroy)) or diag("Can't load HoneyClient::Manager package. Check to make sure the package library is correctly listed within the path."); }196 BEGIN { use_ok('HoneyClient::Manager') or diag("Can't load HoneyClient::Manager package. Check to make sure the package library is correctly listed within the path."); } 197 197 require_ok('HoneyClient::Manager'); 198 can_ok('HoneyClient::Manager', 'init'); 199 can_ok('HoneyClient::Manager', 'destroy'); 200 use HoneyClient::Manager qw(init destroy); 198 use HoneyClient::Manager; 201 199 202 200 # Make sure HonyClient::Manager::VM::Clone loads. honeyclient/branches/exp/kindlund-simpler_agent/t/honeyclient_manager.t
r1490 r1495 59 59 # Make sure the module loads properly, with the exportable 60 60 # functions shared. 61 BEGIN { use_ok('HoneyClient::Manager' , qw(init destroy)) or diag("Can't load HoneyClient::Manager package. Check to make sure the package library is correctly listed within the path."); }61 BEGIN { use_ok('HoneyClient::Manager') or diag("Can't load HoneyClient::Manager package. Check to make sure the package library is correctly listed within the path."); } 62 62 require_ok('HoneyClient::Manager'); 63 can_ok('HoneyClient::Manager', 'init'); 64 can_ok('HoneyClient::Manager', 'destroy'); 65 use HoneyClient::Manager qw(init destroy); 63 use HoneyClient::Manager; 66 64 67 65 # Make sure HonyClient::Manager::VM::Clone loads. … … 107 105 require_ok('Data::Dumper'); 108 106 use Data::Dumper; 109 110 # Make sure Filesys::DfPortable loads111 BEGIN { use_ok('Filesys::DfPortable')112 or diag("Can't load Filesys::DfPortable package. Check to make sure the package library is correctly listed within the path."); }113 require_ok('Filesys::DfPortable');114 use Filesys::DfPortable;115 107 } 116 108 honeyclient/branches/exp/kindlund-simpler_agent/t/honeyclient_manager_vm_clone.t
r1472 r1495 141 141 require_ok('IO::File'); 142 142 use IO::File; 143 144 # Make sure Filesys::DfPortable loads 145 BEGIN { use_ok('Filesys::DfPortable') 146 or diag("Can't load Filesys::DfPortable package. Check to make sure the package library is correctly listed within the path."); } 147 require_ok('Filesys::DfPortable'); 148 use Filesys::DfPortable; 143 149 } 144 150
