Test-HTML-Content v0.08 Perl 5 v5.14.2 x86_64-linux
- Status
- Fail
- From
- Slaven Rezić (SREZIC)
- Dist
-
Test-HTML-Content v0.08
- Platform
- Perl 5 v5.14.2 x86_64-linux
- Date
- 2012-04-12 01:29:53
- ID
- 00e54d1c-843f-11e1-bd71-f70bf4744e2a
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear Max Maischein,
This is a computer-generated report for Test-HTML-Content-0.08
on perl 5.14.2, created by CPAN-Reporter-1.2005.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 /bbbike/ctps/5159linux/install/perl-v5.14.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-prerequisites.t ............................ ok
t/01-fallback-libxml.t .......................... ok
t/01-fallback-pureperl.t ........................ ok
# Failed test 'Missing prerequisites don't let the tests fail'
# at t/01-fallback-xpath.t line 20.
# got: 'No such method textContent in XML::XPath::Node::ElementImpl at /bbbike/cpan/build/Test-HTML-Content-0.08-2Z9N1C/blib/lib/Test/HTML/Content.pm line 278.
# '
# expected: ''
Use of uninitialized value $result in string eq at t/01-fallback-xpath.t line 21.
Use of uninitialized value $result in numeric eq (==) at t/01-fallback-xpath.t line 21.
# Failed test 'Skipped or passed when XML::LibXML is missing'
# at t/01-fallback-xpath.t line 21.
Use of uninitialized value $result in concatenation (.) or string at t/01-fallback-xpath.t line 21.
# Expected 'skip' or '1', but got ''
# Looks like you failed 2 tests of 4.
t/01-fallback-xpath.t ...........................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/01-internal-api.t ............................. ok
t/01-xpath-query-builder.t ...................... ok
t/02-tags.t ..................................... ok
t/03-links.t .................................... ok
t/04-comments.t ................................. ok
t/05-doctype.t .................................. ok
t/06-text.t ..................................... ok
# Failed test 'Finding a link where one should be returns all other links'
# at t/07-errors.link.t line 67.
# STDERR is:
# # Failed test 'Link failure (two links shouldn't exist do)'
# # at t/07-errors.link.t line 65.
# # Expected to find no <a> tag(s) matching
# # href = (?^:.)
# # Got
# # <a href='http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 65.*\n?/
#
# # Expected to find no <a> tag(s) matching
#
# # href = (?-xism:.)
#
# # Got
#
# # <a href='http://www.foo.com'>
#
# # <a href='index.html'>
#
# as expected
# Failed test 'Diagnosing too few links works'
# at t/07-errors.link.t line 85.
# STDERR is:
# # Failed test 'Link failure (too few links)'
# # at t/07-errors.link.t line 84.
# # Expected to find exactly 3 <a> tag(s) matching
# # href = (?^:.)
# # Got
# # <a href='http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 84.*\n?/
#
# # Expected to find exactly 3 <a> tag(s) matching
#
# # href = (?-xism:.)
#
# # Got
#
# # <a href='http://www.foo.com'>
#
# # <a href='index.html'>
#
# as expected
# Failed test 'Diagnosing too many links works'
# at t/07-errors.link.t line 107.
# STDERR is:
# # Failed test 'Link failure (too many links)'
# # at t/07-errors.link.t line 106.
# # Expected to find exactly 3 <a> tag(s) matching
# # href = (?^:.)
# # Got
# # <a href='http://www.bar.com'>
# # <a href='http://www.dot.com'>
# # <a href='http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 106.*\n?/
#
# # Expected to find exactly 3 <a> tag(s) matching
#
# # href = (?-xism:.)
#
# # Got
#
# # <a href='http://www.bar.com'>
#
# # <a href='http://www.dot.com'>
#
# # <a href='http://www.foo.com'>
#
# # <a href='index.html'>
#
# as expected
# Failed test 'Finding a link where one should be returns all other links'
# at t/07-errors.link.t line 67.
# STDERR is:
# # Failed test 'Link failure (two links shouldn't exist do)'
# # at t/07-errors.link.t line 65.
# # Expected to find no <a> tag(s) matching
# # href = (?^:.)
# # Got
# # <a href='http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 65.*\n?/
#
# # Expected to find no <a> tag(s) matching
#
# # href = (?-xism:.)
#
# # Got
#
# # <a href='http://www.foo.com'>
#
# # <a href='index.html'>
#
# as expected
# Failed test 'Diagnosing too few links works'
# at t/07-errors.link.t line 85.
# STDERR is:
# # Failed test 'Link failure (too few links)'
# # at t/07-errors.link.t line 84.
# # Expected to find exactly 3 <a> tag(s) matching
# # href = (?^:.)
# # Got
# # <a href='http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 84.*\n?/
#
# # Expected to find exactly 3 <a> tag(s) matching
#
# # href = (?-xism:.)
#
# # Got
#
# # <a href='http://www.foo.com'>
#
# # <a href='index.html'>
#
# as expected
# Failed test 'Diagnosing too many links works'
# at t/07-errors.link.t line 107.
# STDERR is:
# # Failed test 'Link failure (too many links)'
# # at t/07-errors.link.t line 106.
# # Expected to find exactly 3 <a> tag(s) matching
# # href = (?^:.)
# # Got
# # <a href='http://www.bar.com'>
# # <a href='http://www.dot.com'>
# # <a href='http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/07\-errors\.link\.t line 106.*\n?/
#
# # Expected to find exactly 3 <a> tag(s) matching
#
# # href = (?-xism:.)
#
# # Got
#
# # <a href='http://www.bar.com'>
#
# # <a href='http://www.dot.com'>
#
# # <a href='http://www.foo.com'>
#
# # <a href='index.html'>
#
# as expected
t/07-errors.link.t ..............................
Failed 6/11 subtests
# Failed test 'Finding a comment where none should be returns all comments'
# at t/08-errors.comment.t line 55.
# STDERR is:
# # Failed test 'Comment failure (two comments that shouldn't exist do)'
# # at t/08-errors.comment.t line 53.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected no comment like '(?^:hidden m.ssage)'
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 53.*\n?/
#
# # Saw '<!-- hidden massage -->'
#
# # Saw '<!-- hidden massage -->'
#
# # Expected no comment like '(?-xism:hidden m.ssage)'
#
# as expected
# Failed test 'Diagnosing too few comments works'
# at t/08-errors.comment.t line 68.
# STDERR is:
# # Failed test 'Comment failure (too few comments)'
# # at t/08-errors.comment.t line 66.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 3 comments like '(?^:hidden m.ssage)'
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 66.*\n?/
#
# # Saw '<!-- hidden massage -->'
#
# # Saw '<!-- hidden massage -->'
#
# # Expected exactly 3 comments like '(?-xism:hidden m.ssage)'
#
# as expected
# Failed test 'Diagnosing too many comments works'
# at t/08-errors.comment.t line 81.
# STDERR is:
# # Failed test 'Comment failure (too few comments)'
# # at t/08-errors.comment.t line 79.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 1 comments like '(?^:hidden m.ssage)'
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 79.*\n?/
#
# # Saw '<!-- hidden massage -->'
#
# # Saw '<!-- hidden massage -->'
#
# # Expected exactly 1 comments like '(?-xism:hidden m.ssage)'
#
# as expected
# Failed test 'Finding a comment where none should be returns all comments'
# at t/08-errors.comment.t line 55.
# STDERR is:
# # Failed test 'Comment failure (two comments that shouldn't exist do)'
# # at t/08-errors.comment.t line 53.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected no comment like '(?^:hidden m.ssage)'
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 53.*\n?/
#
# # Saw '<!-- hidden massage -->'
#
# # Saw '<!-- hidden massage -->'
#
# # Expected no comment like '(?-xism:hidden m.ssage)'
#
# as expected
# Failed test 'Diagnosing too few comments works'
# at t/08-errors.comment.t line 68.
# STDERR is:
# # Failed test 'Comment failure (too few comments)'
# # at t/08-errors.comment.t line 66.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 3 comments like '(?^:hidden m.ssage)'
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 66.*\n?/
#
# # Saw '<!-- hidden massage -->'
#
# # Saw '<!-- hidden massage -->'
#
# # Expected exactly 3 comments like '(?-xism:hidden m.ssage)'
#
# as expected
# Failed test 'Diagnosing too many comments works'
# at t/08-errors.comment.t line 81.
# STDERR is:
# # Failed test 'Comment failure (too few comments)'
# # at t/08-errors.comment.t line 79.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 1 comments like '(?^:hidden m.ssage)'
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/08\-errors\.comment\.t line 79.*\n?/
#
# # Saw '<!-- hidden massage -->'
#
# # Saw '<!-- hidden massage -->'
#
# # Expected exactly 1 comments like '(?-xism:hidden m.ssage)'
#
# as expected
t/08-errors.comment.t ...........................
Failed 6/11 subtests
t/09-errors.declaration.t ....................... ok
# Failed test 'Finding no xpath results where some should be outputs the fallback'
# at t/09-errors.xpath.t line 42.
# STDERR is:
# # Failed test 'no XPath results found'
# # at t/09-errors.xpath.t line 41.
# # Got
# # <p foo="bar" />
# # <p foo="foo">1</p>
# # <p foo="baz">2</p>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/09\-errors\.xpath\.t line 41.*\n?/
#
# # Got
#
# # <p foo="bar"/>
#
# # <p foo="foo">1</p>
#
# # <p foo="baz">2</p>
#
# as expected
# Failed test 'Finding xpath results where none should be outputs the fallback'
# at t/09-errors.xpath.t line 57.
# STDERR is:
# # Failed test 'no XPath results found'
# # at t/09-errors.xpath.t line 56.
# # Got
# # <p foo="bar" />
# # <p foo="foo">1</p>
# # <p foo="baz">2</p>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/09\-errors\.xpath\.t line 56.*\n?/
#
# # Got
#
# # <p foo="bar"/>
#
# # <p foo="foo">1</p>
#
# # <p foo="baz">2</p>
#
# as expected
# Failed test 'Finding xpath results (implicit fallback)'
# at t/09-errors.xpath.t line 66.
# STDERR is:
# # Failed test 'no XPath results found'
# # at t/09-errors.xpath.t line 65.
# # Got
# # <p foo="bar" />
# # <p foo="foo">1</p>
# # <p foo="baz">2</p>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/09\-errors\.xpath\.t line 65.*\n?/
#
# # Got
#
# # <p foo="bar"/>
#
# # <p foo="foo">1</p>
#
# # <p foo="baz">2</p>
#
# as expected
# Failed test 'Too few hits get reported'
# at t/09-errors.xpath.t line 75.
# STDERR is:
# # Failed test 'no XPath results found'
# # at t/09-errors.xpath.t line 74.
# # Got
# # <p foo="bar" />
# # <p foo="foo">1</p>
# # <p foo="baz">2</p>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/09\-errors\.xpath\.t line 74.*\n?/
#
# # Got
#
# # <p foo="bar"/>
#
# # <p foo="foo">1</p>
#
# # <p foo="baz">2</p>
#
# as expected
# Failed test 'Too many hits get reported'
# at t/09-errors.xpath.t line 84.
# STDERR is:
# # Failed test 'no XPath results found'
# # at t/09-errors.xpath.t line 83.
# # Got
# # <p foo="bar" />
# # <p foo="foo">1</p>
# # <p foo="baz">2</p>
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/09\-errors\.xpath\.t line 83.*\n?/
#
# # Got
#
# # <p foo="bar"/>
#
# # <p foo="foo">1</p>
#
# # <p foo="baz">2</p>
#
# as expected
t/09-errors.xpath.t .............................
Failed 5/7 subtests
t/10-errors.text.t .............................. ok
t/12-title-fallback.t ........................... ok
No such method textContent in XML::XPath::Node::ElementImpl at /bbbike/cpan/build/Test-HTML-Content-0.08-2Z9N1C/blib/lib/Test/HTML/Content.pm line 278.
# Looks like you planned 7 tests but ran 1.
# Looks like your test exited with 2 just after 1.
t/12-title.t ....................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/7 subtests
no element found at line 1, column 69, byte 69:
<!-- hidden massage --><!-- hidden massage --><!-- hidden massage -->