Changeset 725

Show
Ignore:
Timestamp:
07/20/07 18:45:19 (1 year ago)
Author:
kindlund
Message:

Ooops.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/kindlund-firefox/lib/HoneyClient/Agent/Integrity/Registry/Parser.pm

    r722 r725  
    781781    my ($self, %args) = @_; 
    782782 
    783     # Sanity check: Make sure we've been fed an object. 
    784     unless (ref($self)) { 
    785         $LOG->error("Error: Function must be called in reference to a " . 
    786                     __PACKAGE__ . "->new() object!"); 
    787         Carp::croak "Error: Function must be called in reference to a " . 
    788                     __PACKAGE__ . "->new() object!\n"; 
    789     } 
    790  
    791783    # Log resolved arguments. 
    792784    $LOG->debug(sub { 
  • honeyclient/branches/exp/kindlund-firefox/lib/HoneyClient/Agent/Integrity/Registry/Parser.yp

    r722 r725  
    626626    my ($self, %args) = @_; 
    627627 
    628     # Sanity check: Make sure we've been fed an object. 
    629     unless (ref($self)) { 
    630         $LOG->error("Error: Function must be called in reference to a " . 
    631                     __PACKAGE__ . "->new() object!"); 
    632         Carp::croak "Error: Function must be called in reference to a " . 
    633                     __PACKAGE__ . "->new() object!\n"; 
    634     } 
    635  
    636628    # Log resolved arguments. 
    637629    $LOG->debug(sub { 
  • honeyclient/branches/exp/kindlund-firefox/t/honeyclient_agent.t

    r521 r725  
    3030use HoneyClient::Util::Config qw(getVar); 
    3131 
    32 # TODO: Change Driver::IE to Driver::Browser::IE 
    33 # Make sure HoneyClient::Agent::Driver::IE loads. 
    34 BEGIN { use_ok('HoneyClient::Agent::Driver::IE') or diag("Can't load HoneyClient::Agent::Driver::IE package.  Check to make sure the package library is correctly listed within the path."); } 
    35 require_ok('HoneyClient::Agent::Driver::IE'); 
    36 can_ok('HoneyClient::Agent::Driver::IE', 'new'); 
    37 can_ok('HoneyClient::Agent::Driver::IE', 'drive'); 
    38 can_ok('HoneyClient::Agent::Driver::IE', 'getNextLink'); 
    39 can_ok('HoneyClient::Agent::Driver::IE', 'next'); 
    40 can_ok('HoneyClient::Agent::Driver::IE', 'isFinished'); 
    41 can_ok('HoneyClient::Agent::Driver::IE', 'status'); 
    42 use HoneyClient::Agent::Driver::IE; 
     32# TODO: Include FF 
     33# Make sure HoneyClient::Agent::Driver::Browser::IE loads. 
     34BEGIN { use_ok('HoneyClient::Agent::Driver::Browser::IE') or diag("Can't load HoneyClient::Agent::Driver::Browser::IE package.  Check to make sure the package library is correctly listed within the path."); } 
     35require_ok('HoneyClient::Agent::Driver::Browser::IE'); 
     36# TODO: Update this list of function names. 
     37can_ok('HoneyClient::Agent::Driver::Browser::IE', 'new'); 
     38can_ok('HoneyClient::Agent::Driver::Browser::IE', 'drive'); 
     39can_ok('HoneyClient::Agent::Driver::Browser::IE', 'getNextLink'); 
     40can_ok('HoneyClient::Agent::Driver::Browser::IE', 'next'); 
     41can_ok('HoneyClient::Agent::Driver::Browser::IE', 'isFinished'); 
     42can_ok('HoneyClient::Agent::Driver::Browser::IE', 'status'); 
     43use HoneyClient::Agent::Driver::Browser::IE; 
    4344 
    4445# Make sure Storable loads. 
     
    9192 
    9293 
    93 # =begin testing 
    94 { 
    95 # XXX: Fill this in. 
    96 1; 
    97 } 
    98  
    99  
    100  
    10194 
    102951;