Subject: | More tv.com updates, break 0.14 |
Date: | Mon, 30 Mar 2009 15:05:40 -0400 |
To: | bug-WWW-TV [...] rt.cpan.org |
From: | Jason Johnston-McLeod <anakin [...] sdf1.net> |
Looks like parsing is off, and causing variables to be empty.
WWW-TV-0.14]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10_episode.........ok 1/41Ignoring unknown site value: [bogus]
Use of uninitialized value in substitution (s///) at /Users/anakin/
Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Episode.pm line 133.
Use of uninitialized value in substitution (s///) at /Users/anakin/
Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Episode.pm line 134.
Use of uninitialized value in substitution (s///) at /Users/anakin/
Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Episode.pm line 135.
Use of uninitialized value in substitution (s///) at /Users/anakin/
Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Episode.pm line 135.
t/10_episode.........NOK 13
# Failed test 'summary includes: Fox River'
# in t/10_episode.t at line 49.
t/10_episode.........ok 14/41
t/10_episode.........NOK 15# Failed test 'title is: Pilot'
# in t/10_episode.t at line 51.
# got: undef
# expected: 'Pilot'
t/10_episode.........NOK 16# Failed test 'season number is 1'
# in t/10_episode.t at line 52.
# got: undef
# expected: '1'
t/10_episode.........NOK 17# Failed test 'episode_number is 1'
# in t/10_episode.t at line 53.
# got: undef
# expected: '1'
Use of uninitialized value in pattern match (m//) at t/10_episode.t
line 54.
t/10_episode.........NOK 18# Failed test 'stars include: Wentworth
Miller'
# in t/10_episode.t at line 54.
Use of uninitialized value in pattern match (m//) at t/10_episode.t
line 55.
t/10_episode.........NOK 19# Failed test 'guest_stars include: Jeff
Parker'
# in t/10_episode.t at line 55.
Use of uninitialized value in pattern match (m//) at t/10_episode.t
line 56.
# Failed test 'recurring_roles include: Stacy Keach'
# in t/10_episode.t at line 56.
# Failed test 'directors is: Brett Ratner'
# in t/10_episode.t at line 57.
# got: undef
# expected: 'Brett Ratner'
# Failed test 'writers is: Paul T. Scheuring'
# in t/10_episode.t at line 58.
# got: undef
# expected: 'Paul T. Scheuring'
# Failed test 'first_aired is: 2005-08-29'
# in t/10_episode.t at line 59.
# got: 'n/a'
# expected: '2005-08-29'
Use of uninitialized value in substitution iterator at /Users/anakin/
Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Episode.pm line 214.
# Failed test 'format_details: %I - series ID'
# in t/10_episode.t at line 62.
# got: ''
# expected: '31635'
t/10_episode.........NOK 24Can't find series_id for this episode at t/
10_episode.t line 67
# Looks like you planned 41 tests but only ran 24.
# Looks like you failed 11 tests of 24 run.
# Looks like your test died just after 24.
t/10_episode.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 13, 15-41
Failed 28/41 tests, 31.71% okay
t/20_series..........ok 1/33
# Failed test 'series name is: M*A*S*H'
# in t/20_series.t at line 14.
# got: undef
# expected: 'M*A*S*H'
Use of uninitialized value in split at /Users/anakin/Downloads/WWW-
TV-0.14/blib/lib/WWW/TV/Series.pm line 158.
# Failed test 'genres (scalar context) are: Comedy, Drama'
# in t/20_series.t at line 20.
# got: ''
# expected: 'Comedy, Drama'
t/20_series..........NOK 5Use of uninitialized value in split at /
Users/anakin/Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Series.pm line 275.
# Failed test 'total episode count'
# in t/20_series.t at line 27.
# got: '0'
# expected: '251'
t/20_series..........NOK 6
# Failed test 'total episode count (using season 0)'
# in t/20_series.t at line 30.
t/20_series..........NOK 7# got: '0'
# expected: '251'
Use of uninitialized value in split at /Users/anakin/Downloads/WWW-
TV-0.14/blib/lib/WWW/TV/Series.pm line 275.
# Failed test 'season 1 episode count'
# in t/20_series.t at line 33.
# got: '0'
# expected: '24'
t/20_series..........NOK 8Use of uninitialized value in split at /
Users/anakin/Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Series.pm line 275.
# Failed test 'season 9 episode count'
# in t/20_series.t at line 36.
# got: '0'
# expected: '20'
t/20_series..........NOK 9
# Failed test 'genres (array context)'
# in t/20_series.t at line 39.
t/20_series..........NOK 10# got: '0'
# expected: '2'
t/20_series..........ok 11/33Use of uninitialized value in
substitution (s///) at /Users/anakin/Downloads/WWW-TV-0.14/blib/lib/
WWW/TV/Series.pm line 125.
Use of uninitialized value in substitution (s///) at /Users/anakin/
Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Series.pm line 126.
Use of uninitialized value in substitution (s///) at /Users/anakin/
Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Series.pm line 127.
Use of uninitialized value in substitution (s///) at /Users/anakin/
Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Series.pm line 127.
# Failed test 'summary includes "fox river"'
# in t/20_series.t at line 49.
t/20_series..........NOK 13Use of uninitialized value in split at /
Users/anakin/Downloads/WWW-TV-0.14/blib/lib/WWW/TV/Series.pm line 190.
# Failed test 'cast (scalar context) includes Wentworth Miller'
# in t/20_series.t at line 50.
t/20_series..........NOK 14
# Failed test 'cast (array context)'
# in t/20_series.t at line 55.
t/20_series..........NOK 15# got: '0'
# expected: '5'
Use of uninitialized value in pattern match (m//) at t/20_series.t
line 56.
# Failed test 'series image uri includes .jpg'
# in t/20_series.t at line 56.
t/20_series..........ok 17/33
# Failed test 'series name is: Joey'
# in t/20_series.t at line 62.
t/20_series..........NOK 18# got: undef
# expected: 'Joey'
Use of uninitialized value in split at /Users/anakin/Downloads/WWW-
TV-0.14/blib/lib/WWW/TV/Series.pm line 275.
# Failed test 'The object isa WWW::TV::Episode'
# in t/20_series.t at line 63.
t/20_series..........NOK 19# The object isn't defined
Can't call method "name" on an undefined value at t/20_series.t line 67.
# Looks like you planned 33 tests but only ran 19.
# Looks like you failed 13 tests of 19 run.
# Looks like your test died just after 19.
t/20_series..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3, 5-10, 13-16, 18-33
Failed 27/33 tests, 18.18% okay
t/98_pod.............skipped
all skipped: Skipping author tests
t/99_pod_coverage....skipped
all skipped: Skipping author tests
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10_episode.t 255 65280 41 45 109.76% 13 15-41
t/20_series.t 255 65280 33 41 124.24% 3 5-10 13-16 18-33
2 tests skipped.
Failed 2/4 test scripts, 50.00% okay. 55/74 subtests failed, 25.68%
okay.
make: *** [test_dynamic] Error 255