-%# $Id: layout.mc,v 1.7 2006-09-25 16:47:36 mike Exp $
+%# $Id: layout.mc,v 1.8 2006-09-26 09:30:28 mike Exp $
<%args>
$debug => undef
$title
</%args>
<%once>
use lib "/usr/local/src/cvs/irspy/lib";
-use ZOOM::IRSpy;
+use ZOOM::IRSpy::Web;
use ZOOM::IRSpy::Record qw(xml_encode);
</%once>
<& /chrome/head.mc, title => $title &>
-%# $Id: check.mc,v 1.4 2006-09-23 07:13:43 mike Exp $
+%# $Id: check.mc,v 1.5 2006-09-26 09:30:20 mike Exp $
<%args>
@id
</%args>
<%perl>
my $allTargets = (@id == 1 && $id[0] eq "");
print "<h2>Testing ...</h2>\n";
-my $spy = new ZOOM::IRSpy("localhost:3313/IR-Explain---1",
- admin => "fruitbat");
print " <ul>\n", join("", map { " <li>$_\n" } @id), "</ul>\n"
if !$allTargets;
-ZOOM::Log::mask_str("irspy,irspy_test"); # Do we need this?
-ZOOM::Log::init_level(ZOOM::Log::module_level("irspy,irspy_test"));
-ZOOM::Log::time_format("%F %T"); # ISO-8601 format
-### Arrange to capture logging output ... somehow.
-
+my $spy = new ZOOM::IRSpy::Web("localhost:3313/IR-Explain---1",
+ admin => "fruitbat");
$spy->targets(@id) if !$allTargets;
$spy->initialise();
my $res = $spy->check();