Changeset 1451
- Timestamp:
- 04/03/08 17:08:26 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-simpler_agent/lib/HoneyClient/Manager/VM/Clone.pm
r1450 r1451 957 957 # A variable reflected the driver assigned to this cloned VM. 958 958 driver_name => getVar(name => "default_driver", 959 namespace => "HoneyClient::Agent") ;959 namespace => "HoneyClient::Agent"), 960 960 961 961 # A SOAP handle to the VM manager daemon. (This internal variable honeyclient/branches/exp/kindlund-simpler_agent/t/honeyclient_manager_vm_clone.t
r1008 r1451 60 60 use HoneyClient::Manager::VM; 61 61 62 # Make sure HoneyClient::Manager::Database loads. 63 BEGIN { use_ok('HoneyClient::Manager::Database') or diag("Can't load HoneyClient::Manager::Database package. Check to make sure the package library is correctly listed within the path."); } 64 require_ok('HoneyClient::Manager::Database'); 65 use HoneyClient::Manager::Database; 66 62 67 # Make sure VMware::VmPerl loads. 63 68 BEGIN { use_ok('VMware::VmPerl', qw(VM_EXECUTION_STATE_ON VM_EXECUTION_STATE_OFF VM_EXECUTION_STATE_STUCK VM_EXECUTION_STATE_SUSPENDED)) or diag("Can't load VMware::VmPerl package. Check to make sure the package library is correctly listed within the path."); } … … 108 113 can_ok('File::Basename', 'basename'); 109 114 use File::Basename qw(dirname basename); 115 116 # Make sure Sys::Hostname loads. 117 BEGIN { use_ok('Sys::Hostname') or diag("Can't load Sys::Hostname package. Check to make sure the package library is correctly listed within the path."); } 118 require_ok('Sys::Hostname'); 119 use Sys::Hostname; 120 121 # Make sure Sys::HostIP loads. 122 BEGIN { use_ok('Sys::HostIP') or diag("Can't load Sys::HostIP package. Check to make sure the package library is correctly listed within the path."); } 123 require_ok('Sys::HostIP'); 124 use Sys::HostIP; 125 126 # Make sure DateTime::HiRes loads. 127 BEGIN { use_ok('DateTime::HiRes') or diag("Can't load Sys::HostIP package. Check to make sure the package library is correctly listed within the path."); } 128 require_ok('DateTime::HiRes'); 129 use DateTime::HiRes; 110 130 } 111 131
