On Sat, 19 Jan 2008, Zoffix Znet wrote:
Hello, would it be possible for you to put
print Dumper( ['results', $_[ARG0], '/results' ]);
in the sub validated{} inside the t/04_event_same_session.t
file and re-run make test?
I am unable to figure out what the exact problem is :\
done. output follows.
[EMAIL
PROTECTED]:~/cpantesting/perl-5.8.8/.cpan/build/POE-Component-WebService-Validato
r-HTML-W3C-0.02-Av7Bif >~/cpantesting/perl-5.8.8/bin/perl -Ilib
t/04_event_same_
session.t
1..8
Auto-smoker detected. Going to dump `$input` just in case
$VAR1 = {
'options' => {
'detailed' => 1,
'timeout' => 10,
'validator_uri' =>
'http://validator.w3.org/check'
},
'errors' => undef,
'_mar' => 'mor',
'in' => 'http://google.ca',
'num_errors' => '46',
'type' => 'uri',
'validator_uri' => 'http://validator.w3.org/check',
'is_valid' => 0
};
ok 1 - {is_valid} key
ok 2 - {num_errors} must be a number but NOT a zero
ok 3 - {errors} key must be present
not ok 4 - {errors} key must have an arrayref of errors
# Failed test '{errors} key must have an arrayref of errors'
# at t/04_event_same_session.t line 102.
# got: ''
# expected: 'ARRAY'
ok 5 - all elements of {errors} must be ISA
WebService::Validator::HTML::W3C::Er
ror
ok 6 - {validator_uri} key should contain a URI of the validator
ok 7 - {in} key must be intact with what we passed to it
ok 8 - user defined key ({_mar}) must be intact
$VAR1 = [
'results',
{
'options' => {
'detailed' => 1,
'timeout' => 10,
'validator_uri' =>
'http://validator.w3.org/check'
},
'errors' => [],
'_mar' => 'mor',
'in' => 'http://google.ca',
'num_errors' => '46',
'type' => 'uri',
'validator_uri' => 'http://validator.w3.org/check',
'is_valid' => 0
},
'/results'
];
# Looks like you failed 1 test of 8.
--
Bob Walker
http://london.randomness.org.uk - http://tech.randomness.org.uk
http://rwc.randomness.org.uk - http://londonjoinery.com
for great beery justice! - meh! bah! indeeed!