Changeset 725
- Timestamp:
- 07/20/07 18:45:19 (1 year ago)
- Files:
-
- honeyclient/branches/exp/kindlund-firefox/lib/HoneyClient/Agent/Integrity/Registry/Parser.pm (modified) (1 diff)
- honeyclient/branches/exp/kindlund-firefox/lib/HoneyClient/Agent/Integrity/Registry/Parser.yp (modified) (1 diff)
- honeyclient/branches/exp/kindlund-firefox/t/honeyclient_agent.t (modified) (2 diffs)
- honeyclient/branches/exp/kindlund-firefox/t/honeyclient_agent_driver_activecontent.t (added)
- honeyclient/branches/exp/kindlund-firefox/t/honeyclient_agent_driver_activecontent_flash.t (added)
- honeyclient/branches/exp/kindlund-firefox/t/honeyclient_agent_driver_browser_ff.t (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-firefox/lib/HoneyClient/Agent/Integrity/Registry/Parser.pm
r722 r725 781 781 my ($self, %args) = @_; 782 782 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 791 783 # Log resolved arguments. 792 784 $LOG->debug(sub { honeyclient/branches/exp/kindlund-firefox/lib/HoneyClient/Agent/Integrity/Registry/Parser.yp
r722 r725 626 626 my ($self, %args) = @_; 627 627 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 636 628 # Log resolved arguments. 637 629 $LOG->debug(sub { honeyclient/branches/exp/kindlund-firefox/t/honeyclient_agent.t
r521 r725 30 30 use HoneyClient::Util::Config qw(getVar); 31 31 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. 34 BEGIN { 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."); } 35 require_ok('HoneyClient::Agent::Driver::Browser::IE'); 36 # TODO: Update this list of function names. 37 can_ok('HoneyClient::Agent::Driver::Browser::IE', 'new'); 38 can_ok('HoneyClient::Agent::Driver::Browser::IE', 'drive'); 39 can_ok('HoneyClient::Agent::Driver::Browser::IE', 'getNextLink'); 40 can_ok('HoneyClient::Agent::Driver::Browser::IE', 'next'); 41 can_ok('HoneyClient::Agent::Driver::Browser::IE', 'isFinished'); 42 can_ok('HoneyClient::Agent::Driver::Browser::IE', 'status'); 43 use HoneyClient::Agent::Driver::Browser::IE; 43 44 44 45 # Make sure Storable loads. … … 91 92 92 93 93 # =begin testing94 {95 # XXX: Fill this in.96 1;97 }98 99 100 101 94 102 95 1;
