Start 2008-10-28T18:22:02
Going to read /Users/fly818/var/cpan/Metadata
Database was generated on Tue, 28 Oct 2008 14:29:34 GMT
Running make for L/LB/LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz
Fetching with LWP:
http://cpan.nas.activestate.com/authors/id/L/LB/LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz
Fetching with LWP:
http://cpan.nas.activestate.com/authors/id/L/LB/LBROCARD/CHECKSUMS
Checksum for /Users/fly818/var/cpan/sources/authors/id/L/LB/LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz ok
Test-WWW-Mechanize-Catalyst-0.44/
Test-WWW-Mechanize-Catalyst-0.44/CHANGES
Test-WWW-Mechanize-Catalyst-0.44/META.yml
Test-WWW-Mechanize-Catalyst-0.44/t/
Test-WWW-Mechanize-Catalyst-0.44/t/cookies.t
Test-WWW-Mechanize-Catalyst-0.44/t/pod.t
Test-WWW-Mechanize-Catalyst-0.44/t/redirect.t
Test-WWW-Mechanize-Catalyst-0.44/t/pod_coverage.t
Test-WWW-Mechanize-Catalyst-0.44/t/multi_content_type.t
Test-WWW-Mechanize-Catalyst-0.44/t/auth-test.t
Test-WWW-Mechanize-Catalyst-0.44/t/simple.t
Test-WWW-Mechanize-Catalyst-0.44/t/lib/
Test-WWW-Mechanize-Catalyst-0.44/t/lib/ExternalCatty.pm
Test-WWW-Mechanize-Catalyst-0.44/t/lib/CattySession.pm
Test-WWW-Mechanize-Catalyst-0.44/t/lib/Catty.pm
Test-WWW-Mechanize-Catalyst-0.44/Makefile.PL
Test-WWW-Mechanize-Catalyst-0.44/README
Test-WWW-Mechanize-Catalyst-0.44/lib/
Test-WWW-Mechanize-Catalyst-0.44/lib/Test/
Test-WWW-Mechanize-Catalyst-0.44/lib/Test/WWW/
Test-WWW-Mechanize-Catalyst-0.44/lib/Test/WWW/Mechanize/
Test-WWW-Mechanize-Catalyst-0.44/lib/Test/WWW/Mechanize/Catalyst.pm
Test-WWW-Mechanize-Catalyst-0.44/MANIFEST
CPAN.pm: Going to build L/LB/LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz
>>> /Users/fly818/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: prerequisite WWW::Mechanize 1.50 not found. We have 1.34.
Writing Makefile for Test::WWW::Mechanize::Catalyst
---- Unsatisfied dependencies detected during ----
---- LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz ----
WWW::Mechanize [requires]
Running make test
Delayed until after prerequisites
Running test for module 'WWW::Mechanize'
Running make for P/PE/PETDANCE/WWW-Mechanize-1.50.tar.gz
Fetching with LWP:
http://cpan.nas.activestate.com/authors/id/P/PE/PETDANCE/WWW-Mechanize-1.50.tar.gz
Checksum for /Users/fly818/var/cpan/sources/authors/id/P/PE/PETDANCE/WWW-Mechanize-1.50.tar.gz ok
WWW-Mechanize-1.50/
WWW-Mechanize-1.50/bin/
WWW-Mechanize-1.50/bin/mech-dump
WWW-Mechanize-1.50/Changes
WWW-Mechanize-1.50/etc/
WWW-Mechanize-1.50/etc/www-mechanize-logo.png
WWW-Mechanize-1.50/lib/
WWW-Mechanize-1.50/lib/WWW/
WWW-Mechanize-1.50/lib/WWW/Mechanize/
WWW-Mechanize-1.50/lib/WWW/Mechanize/Cookbook.pod
WWW-Mechanize-1.50/lib/WWW/Mechanize/Examples.pod
WWW-Mechanize-1.50/lib/WWW/Mechanize/FAQ.pod
WWW-Mechanize-1.50/lib/WWW/Mechanize/Image.pm
WWW-Mechanize-1.50/lib/WWW/Mechanize/Link.pm
WWW-Mechanize-1.50/lib/WWW/Mechanize.pm
WWW-Mechanize-1.50/Makefile.PL
WWW-Mechanize-1.50/MANIFEST
WWW-Mechanize-1.50/META.yml
WWW-Mechanize-1.50/perlcriticrc
WWW-Mechanize-1.50/t/
WWW-Mechanize-1.50/t/00-load.t
WWW-Mechanize-1.50/t/add_header.t
WWW-Mechanize-1.50/t/aliases.t
WWW-Mechanize-1.50/t/area_link.html
WWW-Mechanize-1.50/t/area_link.t
WWW-Mechanize-1.50/t/autocheck.t
WWW-Mechanize-1.50/t/clone.t
WWW-Mechanize-1.50/t/die.t
WWW-Mechanize-1.50/t/field.html
WWW-Mechanize-1.50/t/field.t
WWW-Mechanize-1.50/t/find_frame.html
WWW-Mechanize-1.50/t/find_frame.t
WWW-Mechanize-1.50/t/find_image.t
WWW-Mechanize-1.50/t/find_inputs.html
WWW-Mechanize-1.50/t/find_inputs.t
WWW-Mechanize-1.50/t/find_link-warnings.t
WWW-Mechanize-1.50/t/find_link.html
WWW-Mechanize-1.50/t/find_link.t
WWW-Mechanize-1.50/t/find_link_id.html
WWW-Mechanize-1.50/t/find_link_id.t
WWW-Mechanize-1.50/t/form-parsing.t
WWW-Mechanize-1.50/t/frames.html
WWW-Mechanize-1.50/t/frames.t
WWW-Mechanize-1.50/t/google.html
WWW-Mechanize-1.50/t/image-new.t
WWW-Mechanize-1.50/t/image-parse.html
WWW-Mechanize-1.50/t/image-parse.t
WWW-Mechanize-1.50/t/link-base.t
WWW-Mechanize-1.50/t/link-relative.t
WWW-Mechanize-1.50/t/link.t
WWW-Mechanize-1.50/t/live/
WWW-Mechanize-1.50/t/live/computers4sure.t
WWW-Mechanize-1.50/t/live/encoding.t
WWW-Mechanize-1.50/t/live/wikipedia.t
WWW-Mechanize-1.50/t/local/
WWW-Mechanize-1.50/t/local/back.t
WWW-Mechanize-1.50/t/local/click.t
WWW-Mechanize-1.50/t/local/click_button.t
WWW-Mechanize-1.50/t/local/failure.t
WWW-Mechanize-1.50/t/local/follow.t
WWW-Mechanize-1.50/t/local/form.t
WWW-Mechanize-1.50/t/local/get.t
WWW-Mechanize-1.50/t/local/LocalServer.pm
WWW-Mechanize-1.50/t/local/log-server
WWW-Mechanize-1.50/t/local/overload.t
WWW-Mechanize-1.50/t/local/page_stack.t
WWW-Mechanize-1.50/t/local/referer-server
WWW-Mechanize-1.50/t/local/referer.t
WWW-Mechanize-1.50/t/local/reload.t
WWW-Mechanize-1.50/t/local/submit.t
WWW-Mechanize-1.50/t/mech-dump/
WWW-Mechanize-1.50/t/mech-dump/mech-dump.t
WWW-Mechanize-1.50/t/new.t
WWW-Mechanize-1.50/t/pod-coverage.t
WWW-Mechanize-1.50/t/pod.t
WWW-Mechanize-1.50/t/regex-error.t
WWW-Mechanize-1.50/t/save_content.t
WWW-Mechanize-1.50/t/select.html
WWW-Mechanize-1.50/t/select.t
WWW-Mechanize-1.50/t/taint.t
WWW-Mechanize-1.50/t/tick.html
WWW-Mechanize-1.50/t/tick.t
WWW-Mechanize-1.50/t/upload.html
WWW-Mechanize-1.50/t/upload.t
WWW-Mechanize-1.50/t/warn.t
WWW-Mechanize-1.50/t/warnings.t
CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.50.tar.gz
>>> /Users/fly818/bin/perl Makefile.PL
WWW::Mechanize likes to have a lot of test modules for some of its tests.
The following are modules that would be nice to have, but not required.
Test::Taint
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Mechanize
>>> make
cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod
cp lib/WWW/Mechanize/Link.pm blib/lib/WWW/Mechanize/Link.pm
cp lib/WWW/Mechanize/Image.pm blib/lib/WWW/Mechanize/Image.pm
cp lib/WWW/Mechanize/Cookbook.pod blib/lib/WWW/Mechanize/Cookbook.pod
cp lib/WWW/Mechanize/FAQ.pod blib/lib/WWW/Mechanize/FAQ.pod
cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm
cp bin/mech-dump blib/script/mech-dump
/Users/fly818/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mech-dump
Manifying blib/man1/mech-dump.1
Manifying blib/man3/WWW::Mechanize::Link.3
Manifying blib/man3/WWW::Mechanize::Examples.3
Manifying blib/man3/WWW::Mechanize::Image.3
Manifying blib/man3/WWW::Mechanize::FAQ.3
Manifying blib/man3/WWW::Mechanize::Cookbook.3
Manifying blib/man3/WWW::Mechanize.3
PETDANCE/WWW-Mechanize-1.50.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /Users/fly818/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/00-load.t t/add_header.t t/aliases.t t/area_link.t t/autocheck.t t/clone.t t/die.t t/field.t t/find_frame.t t/find_image.t t/find_inputs.t t/find_link-warnings.t t/find_link.t t/find_link_id.t t/form-parsing.t t/frames.t t/image-new.t t/image-parse.t t/link-base.t t/link-relative.t t/link.t t/new.t t/pod-coverage.t t/pod.t t/regex-error.t t/save_content.t t/select.t t/taint.t t/tick.t t/upload.t t/warn.t t/warnings.t t/local/back.t t/local/click.t t/local/click_button.t t/local/failure.t t/local/follow.t t/local/form.t t/local/get.t t/local/overload.t t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t t/live/computers4sure.t t/live/encoding.t t/live/wikipedia.t t/mech-dump/mech-dump.t
t/00-load................
1..2
ok 1 - use WWW::Mechanize;
ok 2 - use WWW::Mechanize::Link;
# Testing WWW::Mechanize 1.50, with LWP 5.818, Perl 5.008008, /Users/fly818/bin/perl
ok
t/add_header.............
1..4
ok 1 - use WWW::Mechanize;
ok 2 - Created agent isa WWW::Mechanize
ok 3 - Referer's in there
ok 4 - Referer's not there
ok
t/aliases................
1..8
ok 1 - use WWW::Mechanize;
ok 2 - All aliases accounted for
ok 3 - We only know Mac, Windows or Linux
ok 4 - We only know Mac, Windows or Linux
ok 5 - We only know Mac, Windows or Linux
ok 6 - We only know Mac, Windows or Linux
ok 7 - We only know Mac, Windows or Linux
ok 8 - We only know Mac, Windows or Linux
ok
t/area_link..............
1..9
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/area_link.html
ok 4 - Correct links came back
ok 5 - Correct links came back
ok 6 - Link list: no cycles
ok 7 - Single link: no cycles
ok 8 - URI: no cycles
ok 9 - Mech: no cycles
ok
t/autocheck..............
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Didn't fetch, but didn't die, either
ok 4 - The object isa WWW::Mechanize
ok 5 - Mech would die 4 u
ok
t/clone..................
1..3
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - The object isa WWW::Mechanize
ok
t/die....................
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Expecting to die
ok 4 - The object isa WWW::Mechanize
ok 5 - Expecting to die
ok
t/field..................
1..8
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/field.html
ok 4 - dingo got changed
ok 5 - dingo changed
ok 6 - bongo changed
ok 7 - wango changed
ok 8 - dingo changed
ok
t/find_frame.............
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/find_frame.html
ok 4 - The object isa WWW::Mechanize::Link
ok 5 - First link sequentially
ok
t/find_image.............
1..17
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/image-parse.html
ok 4 - survived eval
ok 5 - Exactly three images
ok 6 - Got the first image
ok 7 - img tag
ok 8
ok 9 - Got the second image
ok 10 - input tag
ok 11 - alt
ok 12 - height
ok 13 - width
ok 14 - Got the third image
ok 15 - input tag
ok 16 - alt
ok 17
ok
t/find_inputs............
1..11
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/find_inputs.html
ok 4 - Exactly three inputs
ok 5 - Exactly two submits
ok 6 - Exactly four inputs
ok 7 - Exactly one submit
ok 8 - Exactly five inputs
ok 9 - Found four relatives
ok 10 - Found two sisters
ok 11 - But no sisters are submits
ok
t/find_link-warnings.....
1..19
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/find_link.html
ok 4 - detected usage error: TEXT => 'string'
ok 5 - detected usage error: NAME => 'string'
ok 6 - detected usage error: URL => 'string'
ok 7 - detected usage error: TAG => 'string'
ok 8 - detected usage error: text_regex => 'string'
ok 9 - detected usage error: name_regex => 'string'
ok 10 - detected usage error: url_regex => 'string'
ok 11 - detected usage error: tag_regex => 'string'
ok 12 - detected usage error: text => Regex
ok 13 - detected usage error: name => Regex
ok 14 - detected usage error: url => Regex
ok 15 - detected usage error: tag => Regex
ok 16 - detected usage error: text => padded-string
ok 17 - detected usage error: name => padded-string
ok 18 - detected usage error: url => padded-string
ok 19 - detected usage error: tag => padded-string
ok
t/find_link..............
1..59
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/find_link.html
ok 4 - The object isa WWW::Mechanize::Link
ok 5 - First link on the page
ok 6 - First link on the page
ok 7 - The object isa WWW::Mechanize::Link
ok 8 - found link in uppercase meta tag
ok 9 - The object isa WWW::Mechanize::Link
ok 10 - First CPAN link
ok 11 - First CPAN link
ok 12 - No url matching CPAN
ok 13 - The object isa WWW::Mechanize::Link
ok 14 - 3rd CPAN text
ok 15 - 3rd CPAN text
ok 16 - No 34th CPAN text
ok 17 - The object isa WWW::Mechanize::Link
ok 18 - Got 1st cpan via regex
ok 19 - Got 1st cpan via regex
ok 20 - The object isa WWW::Mechanize::Link
ok 21 - Got 1st cpan via regex
ok 22 - Got 1st cpan via regex
ok 23 - No 153rd cpan link
ok 24 - The object isa WWW::Mechanize::Link
ok 25 - Got b.cpan.org
ok 26 - Got b.cpan.org
ok 27 - Not a second b.cpan.org
ok 28 - The object isa WWW::Mechanize::Link
ok 29 - Got c.cpan.org
ok 30 - Got c.cpan.org
ok 31 - Correct links came back
ok 32 - Correct links came back
ok 33 - The object isa WWW::Mechanize::Link
ok 34 - First News is MSNBC
ok 35 - First News is MSNBC
ok 36 - The object isa WWW::Mechanize::Link
ok 37 - First BBC news link
ok 38 - First BBC news link
ok 39 - First BBC news text
ok 40 - First BBC news text
ok 41 - The object isa WWW::Mechanize::Link
ok 42 - First CNN news link
ok 43 - First CNN news link
ok 44 - First CNN news text
ok 45 - First CNN news text
ok 46 - Correct links came back
ok 47 - The object isa WWW::Mechanize::Link
ok 48 - Got the CPAN C link
ok 49 - The object isa WWW::Mechanize::Link
ok 50 - Got 2nd link that begins with a capital
ok 51 - The object isa WWW::Mechanize::Link
ok 52 - Got 3rd tag
ok 53 - The object isa WWW::Mechanize::Link
ok 54 - Got 7th or tag
ok 55 - The object isa WWW::Mechanize::Link
ok 56 - Got the JavaScript link
ok 57 - The object isa WWW::Mechanize::Link
ok 58 - No match
ok 59 - The object isa WWW::Mechanize::Link
ok
t/find_link_id...........
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/find_link_id.html
ok 4 - The object isa WWW::Mechanize::Link
ok 5 - found link with given ID
ok 6 - The object isa WWW::Mechanize::Link
ok 7 - found link within "iframe" with given class
ok 8 - The object isa WWW::Mechanize::Link
ok 9 - found link with ID matching a regex
ok 10 - The object isa WWW::Mechanize::Link
ok 11 - found link with class matching a regex
1..11
ok
t/form-parsing...........
1..1
ok 1 - Find one form, please
ok
t/frames.................
1..7
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/frames.html
ok 4 - The object isa WWW::Mechanize::Link
ok 5 - Only two links
ok 6 - First frame OK
ok 7 - Second frame OK
ok
t/image-new..............
1..10
ok 1 - use WWW::Mechanize::Image;
ok 2 - url() works
ok 3 - base() works
ok 4 - name() works
ok 5 - alt() works
ok 6 - tag() works
ok 7 - height works
ok 8 - width works
ok 9 - url_abs works
ok 10 - Returns an object isa URI::URL
ok
t/image-parse............
1..15
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/image-parse.html
ok 4 - Only two images
ok 5 - img tag
ok 6 - URL matches
ok 7 - alt matches
ok 8 - input tag
ok 9 - URL matches
ok 10 - alt matches
ok 11 - height
ok 12 - width
ok 13 - Got the third image
ok 14 - input tag
ok 15 - alt
ok
t/link-base..............
1..5
ok 1 - use WWW::Mechanize::Link;
ok 2 - constructor OK isa WWW::Mechanize::Link
ok 3 - URI is proper type isa URI::URL
ok 4 - Short form of the url
ok 5 - url_abs works
ok
t/link-relative..........
1..6
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/image-parse.html
ok 4 - Fetch select.html, no directory
ok 5 - Fetch select.html from ./
ok 6 - Fetched click.t
ok
t/link...................
1..23
ok 1 - use WWW::Mechanize::Link;
ok 2 - The object isa WWW::Mechanize::Link
ok 3 - Should have five elements
ok 4 - url() works
ok 5 - text() works
ok 6 - name() works
ok 7 - tag() works
ok 8 - base() works
ok 9 - attrs() works
ok 10 - parm 0 is url
ok 11 - parm 1 is text
ok 12 - parm 2 is name
ok 13 - parm 3 is tag
ok 14 - parm 4 is base
ok 15 - URI is proper type isa URI::URL
ok 16 - Short form of the url
ok 17 - url_abs works
ok 18 - url() works
ok 19 - text() works
ok 20 - name() works
ok 21 - tag() works
ok 22 - base() works
ok 23 - attrs() works
ok
t/live/computers4sure....
1..9
ok 1 - use WWW::Mechanize;
ok 2 - Created object isa WWW::Mechanize
ok 3 - Fetched http://www.computers4sure.com/
ok 4 - Found a likely word in the first page
ok 5 - Should have lots of product links
ok 6 - The object isa WWW::Mechanize::Link
ok 7 - Fetched http://www.computers4sure.com/product.asp?productid=5479041
ok 8 - Found a likely phrase in the second page
ok 9 - No memory cycles found
ok
t/live/encoding..........
1..13
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched http://delicious.com/
ok 4 - ... Got encoding utf-8
ok 5 - Got back UTF-8
ok 6 - The object isa WWW::Mechanize
ok 7 - Fetched http://oops-music.com/
ok 8 - ... Got encoding EUC-JP
ok 9 - Got back UTF-8
ok 10 - The object isa WWW::Mechanize
ok 11 - Fetched http://www.liveinternet.ru/users/dashdi/blog
ok 12 - ... Got encoding cp1251
ok 13 - Got back UTF-8
ok
t/live/wikipedia.........
1..15
ok 1 - use WWW::Mechanize;
ok 2 - Created object isa WWW::Mechanize
ok 3 - Got http://en.wikipedia.org/
ok 4 - Over 50 links on http://en.wikipedia.org/
ok 5 - Got http://it.wikipedia.org/
ok 6 - Over 50 links on http://it.wikipedia.org/
ok 7 - Got http://ja.wikipedia.org/
ok 8 - Over 50 links on http://ja.wikipedia.org/
ok 9 - Got http://es.wikipedia.org/
ok 10 - Over 50 links on http://es.wikipedia.org/
ok 11 - Got http://nl.wikipedia.org/
ok 12 - Over 50 links on http://nl.wikipedia.org/
ok 13 - Got http://pl.wikipedia.org/
ok 14 - Over 50 links on http://pl.wikipedia.org/
ok 15 - No memory cycles found
ok
t/local/back.............
1..38
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - this $mech starts with a cookie jar
# Started http://localhost:50548/
ok 4 - The object isa LocalServer
ok 5 - Fetched OK
ok 6 - Followed OK
ok 7 - Did the base get set back?
ok 8 - Title set back?
ok 9 - Followed OK
ok 10 - Did the base get set back?
ok 11 - Title set back?
ok 12 - Pre-search check
ok 13 - Searched for Perl
ok 14 - Right page title
ok 15 - POST is in the stack
ok 16 - HEAD succeeded
ok 17 - HEAD is not in the stack
ok 18 - Back
ok 19 - Did the base get set back?
ok 20 - Title set back?
ok 21 - Post-search check
ok 22 - reload() does not push page to stack
ok 23 - $mech still has a cookie jar after a number of back()
ok 24 - No memory cycles found
ok 25 - The object isa WWW::Mechanize
ok 26 - Got root URL
ok 27 - Pre-404 check
ok 28 - 404 check
ok 29 - Even 404s get on the stack
ok 30 - Back from the 404
ok 31 - Post-404 check
ok 32 - Get /scripts
ok 33 - Back from /scripts
ok 34 - Get /ports/
ok 35 - Back from /ports/
ok 36 - Get modules/
ok 37 - Back from modules/
ok 38 - No memory cycles found
ok
t/local/click............
1..10
ok 1 - use WWW::Mechanize;
ok 2 - Created the object isa WWW::Mechanize
# Started http://localhost:50563/
ok 3 - The object isa LocalServer
ok 4 - Got back a response isa HTTP::Response
ok 5 - Got URL
ok 6 - Local page is HTML
ok 7 - Only one form
ok 8 - Got back a response isa HTTP::Response
ok 9 - Can click 'Go' ('Google Search' button)
ok 10 - Filled field correctly
ok
t/local/click_button.....
1..18
ok 1 - use WWW::Mechanize;
ok 2 - Created the object isa WWW::Mechanize
# Started http://localhost:50567/
ok 3 - The object isa LocalServer
ok 4 - Got back a response isa HTTP::Response
ok 5 - Got URL
ok 6 - Local page is HTML
ok 7 - Only one form
ok 8 - Clicking on button by number
ok 9 - Correct button was pressed
ok 10 - Parameters got transmitted OK
ok 11 - Button number out of range
ok 12 - Clicking on button by name
ok 13 - Correct button was pressed
ok 14 - Parameters got transmitted OK
ok 15 - Button name unknown
ok 16 - Clicking on button by object reference
ok 17 - Correct button was pressed
ok 18 - Parameters got transmitted OK
ok
t/local/failure..........
1..16
ok 1 - use WWW::Mechanize;
# Started http://localhost:50573/
ok 2 - The object isa LocalServer
ok 3 - Created object isa WWW::Mechanize
ok 4 - The object isa HTTP::Response
ok 5 - Success
ok 6 - Get webpage
ok 7 - It's HTML
ok 8 - Correct title
ok 9 - 10 links, please
ok 10 - One form
ok 11 - The object isa HTML::Form
ok 12 - Failed the fetch
ok 13 - Isn't HTML
ok 14 - No title
ok 15 - No links
ok 16 - No forms
ok
t/local/follow...........
1..21
ok 1 - use WWW::Mechanize;
# Started http://localhost:50576/
ok 2 - The object isa LocalServer
ok 3 - Created object isa WWW::Mechanize
ok 4 - Got some page
ok 5 - Got local server page
ok 6 - Can't follow too-high-numbered link
ok 7 - Can follow first link
ok 8 - Need to be on a separate page
ok 9 - Can go back
ok 10 - Back at the first page
ok 11 - Can't follow unlikely named link
ok 12 - Can follow obvious named link
ok 13 - Need to be on a separate page
ok 14 - Can still go back
ok 15 - Can follow link with o-umlaut
ok 16 - Need to be on a separate page
ok 17 - Can still go back
ok 18 - Can follow link with o-umlaut, when it's encoded in the HTML, but not in 'follow'
ok 19 - Need to be on a separate page
ok 20 - Can still go back
ok 21 - Back at the start page again
ok
t/local/form.............
1..11
ok 1 - use WWW::Mechanize;
# Started http://localhost:50583/
ok 2 - The object isa LocalServer
ok 3 - The object isa WWW::Mechanize
ok 4 - Got a page
ok 5 - Got page
ok 6 - Can select the first form isa HTML::Form
ok 7 - Set the form attribute
ok 8 - cannot select the 99th form
ok 9 - Form is still set to 1
ok 10 - Can select the form isa HTML::Form
ok 11 - cannot select non-existent form
ok
t/local/get..............
1..32
ok 1 - use WWW::Mechanize;
# Started http://localhost:50586/
ok 2 - The object isa LocalServer
ok 3 - Created object isa WWW::Mechanize
ok 4 - The object isa HTTP::Response
ok 5 - The object isa HTTP::Response
ok 6 - Page read OK
ok 7 - Get webpage
ok 8 - Got the content-type...
ok 9 - ... and the is_html wrapper
ok 10 - Titles match
ok 11 - Got the /foo
ok 12 - Got relative OK
ok 13 - Got HTML back
ok 14 - Got the right page
ok 15 - Got the /bar page
ok 16 - Got relative OK
ok 17 - is HTML
ok 18 - Got the right page
ok 19 - Got the basics page
ok 20 - Got relative OK
ok 21 - is HTML
ok 22 - Title matches
ok 23 - Got the right page
ok 24 - Got the "refine search" page
ok 25 - Got relative OK
ok 26 - is HTML
ok 27 - Title matches
ok 28 - Got the right page
ok 29 - tempfile not there right now
ok 30 - File exists
ok 31 - Did all the bytes get saved?
ok 32 - Mech: no cycles
ok
t/local/overload.........
1..0 # Skip Mysteriously stopped passing, and I don't know why.
skipped: Mysteriously stopped passing, and I don't know why.
t/local/page_stack.......
1..16
ok 1 - use WWW::Mechanize;
# Started http://localhost:50594/
ok 2 - The object isa LocalServer
ok 3 - Created object isa WWW::Mechanize
ok 4 - Page stack starts empty
ok 5 - Got start page
ok 6 - Page stack starts empty
ok 7 - Pushed item onto page stack
ok 8 - Pushed item onto page stack
ok 9 - Popped item from page stack
ok 10 - Popped item from page stack
ok 11 - Cannot pop beyond end of page stack
ok 12 - Created object isa WWW::Mechanize
ok 13 - Page stack starts empty
ok 14 - Got start page
ok 15 - Page stack starts empty
ok 16 - Pushing has no effect
ok
t/local/referer..........
1..13
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Got first page
ok 4 - First page gets sent with empty referrer
ok 5 - Got second page
ok 6 - Referer got sent for absolute url
ok 7 - Got third page
ok 8 - Referer got sent for relative url
ok 9 - Got fourth page
ok 10 - Referer can be set to empty again
ok 11 - Got fourth page
ok 12 - Custom referer can be set
ok 13 - No memory cycles found
ok
t/local/reload...........
1..14
ok 1 - use WWW::Mechanize;
# Started http://localhost:50604/
ok 2 - The object isa LocalServer
ok 3 - Created object isa WWW::Mechanize
ok 4 - Initial reload should fail
ok 5 - The object isa HTTP::Response
ok 6 - Get google webpage
ok 7 - Valid HTML
ok 8
ok 9
ok 10 - Not HTML
ok 11 - The object isa HTTP::Response
ok 12 - Valid HTML
ok 13 - WWW::Mechanize::Shell test page
ok 14 - Mech: no cycles
ok
t/local/submit...........
1..13
ok 1 - use WWW::Mechanize;
# Started http://localhost:50608/
ok 2 - The object isa LocalServer
ok 3 - Created the object isa WWW::Mechanize
ok 4 - Got back a response isa HTTP::Response
ok 5 - Got the correct page
ok 6 - Got local page
ok 7 - is HTML
ok 8 - Hopefully no upload happens
ok 9 - Got back a response isa HTTP::Response
ok 10 - Can click "submit" ("submit" button)
ok 11 - Found "Foo"
ok 12 - No upload happens
ok 13 - Mech: no cycles
ok
t/mech-dump/mech-dump....
1..4
ok 1 - First line matches
ok 2 - Still some expected
ok 3 - Still some actual
ok 4 - Rest of the lines match
ok
t/new....................
1..14
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - success() is false before any get
ok 4 - res() is undef
ok 5 - The object isa WWW::Mechanize
ok 6 - WWW::Mechanize->can('request')
ok 7 - Set user agent string
ok 8 - Set user agent version
ok 9 - Can set the agent
ok 10 - The object isa WWW::Mechanize
ok 11 - WWW::Mechanize->can('request')
ok 12 - Aliases don't get translated in the constructor
ok 13 - Alias sets the agent
ok 14 - Can still set the agent
ok
t/pod-coverage...........
1..3
ok 1 - Pod coverage on WWW::Mechanize
ok 2 - Pod coverage on WWW::Mechanize::Image
ok 3 - Pod coverage on WWW::Mechanize::Link
ok
t/pod....................
1..7
ok 1 - blib/script/mech-dump
ok 2 - blib/lib/WWW/Mechanize.pm
ok 3 - blib/lib/WWW/Mechanize/Cookbook.pod
ok 4 - blib/lib/WWW/Mechanize/Examples.pod
ok 5 - blib/lib/WWW/Mechanize/FAQ.pod
ok 6 - blib/lib/WWW/Mechanize/Image.pm
ok 7 - blib/lib/WWW/Mechanize/Link.pm
ok
t/regex-error............
1..4
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Passes message, and includes the line number
ok 4 - Passes message, and includes the line number
ok
t/save_content...........
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/find_inputs.html
ok 4 - saved.test.txt does not exist
ok 5 - Saved copy matches the original
ok
t/select.................
1..14
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/select.html
ok 4 - set form to number 1
ok 5 - multi->multi value is bbb ccc
ok 6 - multi->multi value is bbb ccc
ok 7 - single->multi value is 'aaa'
ok 8 - single->multi value is 'aaa'
ok 9 - multi->single value is bbb
ok 10 - multi->single value is bbb
ok 11 - single->single value is 'aaa'
ok 12 - single->single value is 'aaa'
ok 13 - return 1 after successful select
ok 14 - return undef after failed select
ok
t/taint..................
1..0 # Skip Test::Taint required for checking taintedness
skipped: Test::Taint required for checking taintedness
t/tick...................
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/tick.html
ok 4 - The object isa HTML::Form
ok 5 - Proper posting
ok
t/upload.................
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - file:///Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/t/upload.html
ok 4 - Proper posting
ok 5 - The uploaded file should be in the request
ok
t/warn...................
1..6
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Passes the message, and includes the line number
ok 4 - Quiets correctly
ok 5 - The object isa WWW::Mechanize
ok 6 - Quiets correctly
ok
t/warnings...............
1..3
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Unknown aliases squawk appropriately
ok
All tests successful.
Files=48, Tests=542, 50 wallclock secs ( 0.69 usr 0.70 sys + 28.25 cusr 5.95 csys = 35.59 CPU)
Result: PASS
PETDANCE/WWW-Mechanize-1.50.tar.gz
make test TEST_VERBOSE=1 -- OK
Andy Lester <andy@petdance.com>
Handy web browsing in a Perl object
>>> (cd /Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU && tar cvf - WWW-Mechanize-1.50.ppd blib) | gzip -c >/Users/fly818/var/REPO/P/PE/PETDANCE/WWW-Mechanize-1.50.tar.gz
WWW-Mechanize-1.50.ppd
blib/
blib/lib/
blib/lib/WWW/
blib/lib/WWW/Mechanize/
blib/lib/WWW/Mechanize/Cookbook.pod
blib/lib/WWW/Mechanize/Examples.pod
blib/lib/WWW/Mechanize/FAQ.pod
blib/lib/WWW/Mechanize/Image.pm
blib/lib/WWW/Mechanize/Link.pm
blib/lib/WWW/Mechanize.pm
blib/man1/
blib/man1/mech-dump.1
blib/man3/
blib/man3/WWW::Mechanize.3
blib/man3/WWW::Mechanize::Cookbook.3
blib/man3/WWW::Mechanize::Examples.3
blib/man3/WWW::Mechanize::FAQ.3
blib/man3/WWW::Mechanize::Image.3
blib/man3/WWW::Mechanize::Link.3
blib/script/
blib/script/mech-dump
>>> mv /Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/WWW-Mechanize-1.50.ppd /Users/fly818/var/REPO/P/PE/PETDANCE
Running make for L/LB/LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz
Prepending /Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/blib/arch /Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory /Users/fly818/var/cpan/build/Test-WWW-Mechanize-Catalyst-0.44-EyfBhE
Prepending /Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/blib/arch /Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/blib/lib to PERL5LIB for 'make'
CPAN.pm: Going to build L/LB/LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz
>>> make
cp lib/Test/WWW/Mechanize/Catalyst.pm blib/lib/Test/WWW/Mechanize/Catalyst.pm
Manifying blib/man3/Test::WWW::Mechanize::Catalyst.3
LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz
make -- OK
Prepending /Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/blib/arch /Users/fly818/var/cpan/build/WWW-Mechanize-1.50-DrD7oU/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /Users/fly818/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/auth-test.............
1..5
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::CGI"
[debug] Couldn't find home
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /hi | Catty | hi |
| /gzipped | Catty | gzipped |
| /default | Catty | default |
| /die | Catty | die |
| /greetings | Catty | greetings |
| /hello | Catty | hello |
| /bonjour | Catty | bonjour |
| /check_auth_basic | Catty | check_auth_- |
| | | basic |
'----------------------+--------------------------------------+--------------'
[debug] Loaded Path actions:
.-------------------------------------+--------------------------------------.
| Path | Private |
+-------------------------------------+--------------------------------------+
| /bonjour | /bonjour |
| /check_auth_basic | /check_auth_basic |
| /die | /die |
| /greetings | /greetings |
| /gzipped | /gzipped |
| /hello | /hello |
| /hi | /hi |
'-------------------------------------+--------------------------------------'
[info] Catty powered by Catalyst 5.7015
[info] *** Request 1 (1.000/s) [18484] [Tue Oct 28 18:23:10 2008] ***
[debug] "GET" request for "check_auth_basic/" from "127.0.0.1"
[debug] Path is "check_auth_basic"
[info] Request took 0.012104s (82.617/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /check_auth_basic | 0.000675s |
'----------------------------------------------------------------+-----------'
ok 1 - GET http://localhost/check_auth_basic/
ok 2
ok 3
[info] *** Request 2 (2.000/s) [18484] [Tue Oct 28 18:23:10 2008] ***
[debug] "GET" request for "check_auth_basic/" from "127.0.0.1"
[debug] Path is "check_auth_basic"
[info] Request took 0.009642s (103.713/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /check_auth_basic | 0.000645s |
'----------------------------------------------------------------+-----------'
ok 4
ok 5
ok
t/cookies...............[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded plugins:
.----------------------------------------------------------------------------.
| Catalyst::Plugin::Session 0.19 |
| Catalyst::Plugin::Session::State::Cookie 0.09 |
| Catalyst::Plugin::Session::Store::Dummy |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::CGI"
[debug] Couldn't find home
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /auto | CattySession | auto |
| /default | CattySession | default |
'----------------------+--------------------------------------+--------------'
[info] CattySession powered by Catalyst 5.7015
1..3
Use of uninitialized value in pattern match (m//) at /Users/fly818/var/megalib/HTTP/Cookies.pm line 45.
[info] *** Request 1 (1.000/s) [18486] [Tue Oct 28 18:23:12 2008] ***
[debug] "GET" request for "/" from "127.0.0.1"
[debug] Created session "66b661b7a7f4ff99d0e48b821bb0ae2bedde25a6"
[info] Request took 0.026612s (37.577/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /auto | 0.009458s |
| /default | 0.000482s |
'----------------------------------------------------------------+-----------'
ok 1 - GET /
ok 2 - Title is 'Root'
ok 3
ok
t/multi_content_type....
1..6
# ###################################################################
# Starting an external Catalyst HTTP server on port 7357
# To change the port, please set the TWMC_TEST_PORT env variable.
# (The server will be automatically shut-down right after the tests).
# ###################################################################
ok 1 - use ExternalCatty;
You can connect to your server at http://ocelotl.activestate.com:7357
Use of uninitialized value in pattern match (m//) at /Users/fly818/var/megalib/HTTP/Cookies.pm line 45.
ok 2 - Get a multi Content-Type response
ok 3 - Survive to a multi Content-Type sting
ok 4 - Multi Content-Type Content-Type
ok 5 - Multi Content-Type title
ok 6 - Multi Content-Type body
ok
t/pod...................
1..1
ok 1 - blib/lib/Test/WWW/Mechanize/Catalyst.pm
ok
t/pod_coverage..........
1..1
ok 1 - Pod coverage on Test::WWW::Mechanize::Catalyst
ok
t/redirect..............
1..27
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::CGI"
[debug] Couldn't find home
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /hi | Catty | hi |
| /gzipped | Catty | gzipped |
| /default | Catty | default |
| /die | Catty | die |
| /greetings | Catty | greetings |
| /hello | Catty | hello |
| /bonjour | Catty | bonjour |
| /check_auth_basic | Catty | check_auth_- |
| | | basic |
'----------------------+--------------------------------------+--------------'
[debug] Loaded Path actions:
.-------------------------------------+--------------------------------------.
| Path | Private |
+-------------------------------------+--------------------------------------+
| /bonjour | /bonjour |
| /check_auth_basic | /check_auth_basic |
| /die | /die |
| /greetings | /greetings |
| /gzipped | /gzipped |
| /hello | /hello |
| /hi | /hi |
'-------------------------------------+--------------------------------------'
[info] Catty powered by Catalyst 5.7015
[info] *** Request 1 (1.000/s) [18492] [Tue Oct 28 18:23:14 2008] ***
[debug] "GET" request for "hi" from "127.0.0.1"
[debug] Path is "hi"
[debug] Redirecting to "http://localhost/hello"
[info] Request took 0.011926s (83.850/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /hi | 0.000622s |
'----------------------------------------------------------------+-----------'
[info] *** Request 2 (2.000/s) [18492] [Tue Oct 28 18:23:14 2008] ***
[debug] "GET" request for "hello" from "127.0.0.1"
[debug] Path is "hello"
[info] Request took 0.007353s (135.999/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /hello | 0.000448s |
'----------------------------------------------------------------+-----------'
ok 1 - got something when we hi
ok 2 - check got to hello 1/4
ok 3 - check got to hello 2/4
ok 4 - check got to hello 3/4
ok 5 - check got to hello 4/4
ok 6 - have a previous
ok 7 - was a redirect
ok 8 - to the right place
[info] *** Request 3 (3.000/s) [18492] [Tue Oct 28 18:23:14 2008] ***
[debug] "GET" request for "greetings" from "127.0.0.1"
[debug] Path is "greetings"
[debug] Redirecting to "hello"
[info] Request took 0.007512s (133.120/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /greetings | 0.000344s |
'----------------------------------------------------------------+-----------'
[info] *** Request 4 (4.000/s) [18492] [Tue Oct 28 18:23:14 2008] ***
[debug] "GET" request for "hello" from "127.0.0.1"
[debug] Path is "hello"
[info] Request took 0.007130s (140.252/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /hello | 0.000356s |
'----------------------------------------------------------------+-----------'
ok 9 - got something when we greetings
ok 10 - check got to hello 1/4
ok 11 - check got to hello 2/4
ok 12 - check got to hello 3/4
ok 13 - check got to hello 4/4
ok 14 - have a previous
ok 15 - was a redirect
ok 16 - to the right place
[info] *** Request 5 (5.000/s) [18492] [Tue Oct 28 18:23:14 2008] ***
[debug] "GET" request for "bonjour" from "127.0.0.1"
[debug] Path is "bonjour"
[debug] Redirecting to "http://localhost/hi"
[info] Request took 0.008621s (115.996/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /bonjour | 0.000595s |
'----------------------------------------------------------------+-----------'
[info] *** Request 6 (6.000/s) [18492] [Tue Oct 28 18:23:14 2008] ***
[debug] "GET" request for "hi" from "127.0.0.1"
[debug] Path is "hi"
[debug] Redirecting to "http://localhost/hello"
[info] Request took 0.010143s (98.590/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /hi | 0.000558s |
'----------------------------------------------------------------+-----------'
[info] *** Request 7 (7.000/s) [18492] [Tue Oct 28 18:23:14 2008] ***
[debug] "GET" request for "hello" from "127.0.0.1"
[debug] Path is "hello"
[info] Request took 0.009472s (105.574/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /hello | 0.000506s |
'----------------------------------------------------------------+-----------'
ok 17 - got something when we bonjour
ok 18 - check got to hello 1/4
ok 19 - check got to hello 2/4
ok 20 - check got to hello 3/4
ok 21 - check got to hello 4/4
ok 22 - have a previous
ok 23 - was a redirect
ok 24 - to the right place
ok 25 - have a previous previous
ok 26 - was a redirect
ok 27 - to the right place
ok
t/simple................
1..39
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::CGI"
[debug] Couldn't find home
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /hi | Catty | hi |
| /gzipped | Catty | gzipped |
| /default | Catty | default |
| /die | Catty | die |
| /greetings | Catty | greetings |
| /hello | Catty | hello |
| /bonjour | Catty | bonjour |
| /check_auth_basic | Catty | check_auth_- |
| | | basic |
'----------------------+--------------------------------------+--------------'
[debug] Loaded Path actions:
.-------------------------------------+--------------------------------------.
| Path | Private |
+-------------------------------------+--------------------------------------+
| /bonjour | /bonjour |
| /check_auth_basic | /check_auth_basic |
| /die | /die |
| /greetings | /greetings |
| /gzipped | /gzipped |
| /hello | /hello |
| /hi | /hi |
'-------------------------------------+--------------------------------------'
[info] Catty powered by Catalyst 5.7015
[info] *** Request 1 (1.000/s) [18494] [Tue Oct 28 18:23:15 2008] ***
[debug] "GET" request for "/" from "127.0.0.1"
[info] Request took 0.011975s (83.507/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /default | 0.000646s |
'----------------------------------------------------------------+-----------'
ok 1 - GET http://localhost/
ok 2
ok 3 - Title is 'Root'
ok 4 - Content contains "This is the root page"
[info] *** Request 2 (2.000/s) [18494] [Tue Oct 28 18:23:15 2008] ***
[debug] "GET" request for "hello/" from "127.0.0.1"
[debug] Path is "hello"
[info] Request took 0.007374s (135.612/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /hello | 0.000356s |
'----------------------------------------------------------------+-----------'
ok 5 - Followed link with 'text=Hello'
ok 6
ok 7
ok 8 - Title is 'Hello'
ok 9 - Content contains "Hi there! ☺"
Wide character in print at /Users/fly818/var/megalib/Test/Builder.pm line 1334.
[info] *** Request 3 (3.000/s) [18494] [Tue Oct 28 18:23:15 2008] ***
[debug] "GET" request for "/" from "127.0.0.1"
[info] Request took 0.007662s (130.514/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /default | 0.000466s |
'----------------------------------------------------------------+-----------'
ok 10 - GET /
ok 11
ok 12 - Title is 'Root'
ok 13 - Content contains "This is the root page"
[info] *** Request 4 (4.000/s) [18494] [Tue Oct 28 18:23:15 2008] ***
[debug] "GET" request for "/" from "127.0.0.1"
[info] Request took 0.007090s (141.044/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /default | 0.000357s |
'----------------------------------------------------------------+-----------'
ok 14 - GET http://example.com/
ok 15
ok 16 - Title is 'Root'
ok 17 - Content contains "This is the root page"
[info] *** Request 5 (5.000/s) [18494] [Tue Oct 28 18:23:15 2008] ***
[debug] "GET" request for "hello/" from "127.0.0.1"
[debug] Path is "hello"
[info] Request took 0.007430s (134.590/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /hello | 0.000454s |
'----------------------------------------------------------------+-----------'
ok 18 - GET /hello/
ok 19
ok 20 - Title is 'Hello'
ok 21 - Content contains "Hi there! ☺"
Wide character in print at /Users/fly818/var/megalib/Test/Builder.pm line 1334.
[info] *** Request 6 (6.000/s) [18494] [Tue Oct 28 18:23:15 2008] ***
[debug] "GET" request for "gzipped/" from "127.0.0.1"
[debug] Path is "gzipped"
[info] Request took 0.013306s (75.154/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /gzipped | 0.006311s |
'----------------------------------------------------------------+-----------'
ok 22 - GET /gzipped/
ok 23
ok 24 - Title is 'Hello'
ok 25 - Content contains "Hi there! ☺"
Wide character in print at /Users/fly818/var/megalib/Test/Builder.pm line 1334.
[info] *** Request 7 (7.000/s) [18494] [Tue Oct 28 18:23:15 2008] ***
[debug] "GET" request for "die/" from "127.0.0.1"
[debug] Path is "die"
[error] Caught exception in Catty->die "erk! at t/lib/Catty.pm line 82."
[info] Request took 0.026239s (38.111/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /die | 0.000433s |
'----------------------------------------------------------------+-----------'
# Catalyst error screen: Caught exception in Catty->die "erk! at t/lib/Catty.pm line 82."
ok 26
ok 27
ok 28 - Title is ''
ok 29 - Content is ""
Use of uninitialized value in concatenation (.) or string at /Users/fly818/var/megalib/Test/WWW/Mechanize.pm line 379.
[info] *** Request 8 (8.000/s) [18494] [Tue Oct 28 18:23:16 2008] ***
[debug] "GET" request for "die/" from "127.0.0.1"
[debug] Path is "die"
[error] Caught exception in Catty->die "erk! at t/lib/Catty.pm line 82."
[info] Request took 0.012952s (77.208/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /die | 0.000416s |
'----------------------------------------------------------------+-----------'
# Catalyst error screen: Caught exception in Catty->die "erk! at t/lib/Catty.pm line 82."
ok 30
ok 31
ok 32 - Title is ''
ok 33 - Content is ""
Use of uninitialized value in concatenation (.) or string at /Users/fly818/var/megalib/Test/WWW/Mechanize.pm line 379.
[info] *** Request 9 (9.000/s) [18494] [Tue Oct 28 18:23:16 2008] ***
[debug] "GET" request for "die/" from "127.0.0.1"
[debug] Path is "die"
[error] Caught exception in Catty->die "erk! at t/lib/Catty.pm line 82."
[info] Request took 0.012955s (77.190/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------+
| /die | 0.000409s |
'----------------------------------------------------------------+-----------'
ok 34
ok 35
ok 36 - Title is like '(?-xism:Catty on Catalyst)'
ok 37 - Content is like '(?-xism:Caught exception in Catty)'
ok 38 - Content is like '(?-xism:erk)'
ok 39 - Content is like '(?-xism:This is the die page)'
ok
All tests successful.
Files=7, Tests=82, 7 wallclock secs ( 0.14 usr 0.11 sys + 4.61 cusr 1.31 csys = 6.17 CPU)
Result: PASS
LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz
make test TEST_VERBOSE=1 -- OK
Leon Brocard <leon@astray.com>
Test::WWW::Mechanize for Catalyst
>>> (cd /Users/fly818/var/cpan/build/Test-WWW-Mechanize-Catalyst-0.44-EyfBhE && tar cvf - Test-WWW-Mechanize-Catalyst-0.44.ppd blib) | gzip -c >/Users/fly818/var/REPO/L/LB/LBROCARD/Test-WWW-Mechanize-Catalyst-0.44.tar.gz
Test-WWW-Mechanize-Catalyst-0.44.ppd
blib/
blib/lib/
blib/lib/Test/
blib/lib/Test/WWW/
blib/lib/Test/WWW/Mechanize/
blib/lib/Test/WWW/Mechanize/Catalyst.pm
blib/man3/
blib/man3/Test::WWW::Mechanize::Catalyst.3
>>> mv /Users/fly818/var/cpan/build/Test-WWW-Mechanize-Catalyst-0.44-EyfBhE/Test-WWW-Mechanize-Catalyst-0.44.ppd /Users/fly818/var/REPO/L/LB/LBROCARD
Finished 2008-10-28T18:23:16