Changeset 1495

Show
Ignore:
Timestamp:
04/09/08 15:26:50 (5 months ago)
Author:
kindlund
Message:

Verified unit tests now work perfectly with these changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/kindlund-simpler_agent/lib/HoneyClient/Manager.pm

    r1491 r1495  
    194194# Make sure the module loads properly, with the exportable 
    195195# 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."); } 
     196BEGIN { 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."); } 
    197197require_ok('HoneyClient::Manager'); 
    198 can_ok('HoneyClient::Manager', 'init'); 
    199 can_ok('HoneyClient::Manager', 'destroy'); 
    200 use HoneyClient::Manager qw(init destroy); 
     198use HoneyClient::Manager; 
    201199 
    202200# Make sure HonyClient::Manager::VM::Clone loads. 
  • honeyclient/branches/exp/kindlund-simpler_agent/t/honeyclient_manager.t

    r1490 r1495  
    5959# Make sure the module loads properly, with the exportable 
    6060# 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."); } 
     61BEGIN { 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."); } 
    6262require_ok('HoneyClient::Manager'); 
    63 can_ok('HoneyClient::Manager', 'init'); 
    64 can_ok('HoneyClient::Manager', 'destroy'); 
    65 use HoneyClient::Manager qw(init destroy); 
     63use HoneyClient::Manager; 
    6664 
    6765# Make sure HonyClient::Manager::VM::Clone loads. 
     
    107105require_ok('Data::Dumper'); 
    108106use Data::Dumper; 
    109  
    110 # Make sure Filesys::DfPortable loads 
    111 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; 
    115107} 
    116108 
  • honeyclient/branches/exp/kindlund-simpler_agent/t/honeyclient_manager_vm_clone.t

    r1472 r1495  
    141141require_ok('IO::File'); 
    142142use IO::File; 
     143 
     144# Make sure Filesys::DfPortable loads 
     145BEGIN { 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."); } 
     147require_ok('Filesys::DfPortable'); 
     148use Filesys::DfPortable; 
    143149} 
    144150