Start 2010-09-12T06:21:34
ActivePerl-1003 CPAN-1.9402
Going to read '/Users/fly1003/var/cpan/Metadata'
Database was generated on Sat, 11 Sep 2010 21:28:45 GMT
Running make for P/PE/PETDANCE/WWW-Mechanize-1.66.tar.gz
Fetching with LWP:
http://cpan.nas.activestate.com/authors/id/P/PE/PETDANCE/WWW-Mechanize-1.66.tar.gz
Fetching with LWP:
http://cpan.nas.activestate.com/authors/id/P/PE/PETDANCE/CHECKSUMS
Checksum for /Users/fly1003/var/cpan/sources/authors/id/P/PE/PETDANCE/WWW-Mechanize-1.66.tar.gz ok
Will not use Archive::Tar, need 1.00
WWW-Mechanize-1.66/
WWW-Mechanize-1.66/etc/
WWW-Mechanize-1.66/etc/www-mechanize-logo.png
WWW-Mechanize-1.66/perlcriticrc
WWW-Mechanize-1.66/bin/
WWW-Mechanize-1.66/bin/mech-dump
WWW-Mechanize-1.66/MANIFEST
WWW-Mechanize-1.66/Makefile.PL
WWW-Mechanize-1.66/t/
WWW-Mechanize-1.66/t/tick.t
WWW-Mechanize-1.66/t/cookies.t
WWW-Mechanize-1.66/t/image-parse.t
WWW-Mechanize-1.66/t/live/
WWW-Mechanize-1.66/t/live/encoding.t
WWW-Mechanize-1.66/t/live/wikipedia.t
WWW-Mechanize-1.66/t/find_link-warnings.t
WWW-Mechanize-1.66/t/aliases.t
WWW-Mechanize-1.66/t/credentials-api.t
WWW-Mechanize-1.66/t/link-base.t
WWW-Mechanize-1.66/t/untaint.t
WWW-Mechanize-1.66/t/warnings.t
WWW-Mechanize-1.66/t/find_frame.t
WWW-Mechanize-1.66/t/find_link.t
WWW-Mechanize-1.66/t/upload.html
WWW-Mechanize-1.66/t/pod-coverage.t
WWW-Mechanize-1.66/t/Tools.pm
WWW-Mechanize-1.66/t/die.t
WWW-Mechanize-1.66/t/find_link.html
WWW-Mechanize-1.66/t/find_image.t
WWW-Mechanize-1.66/t/upload.t
WWW-Mechanize-1.66/t/frames.html
WWW-Mechanize-1.66/t/area_link.t
WWW-Mechanize-1.66/t/00-load.t
WWW-Mechanize-1.66/t/field.t
WWW-Mechanize-1.66/t/credentials.t
WWW-Mechanize-1.66/t/local/
WWW-Mechanize-1.66/t/local/reload.t
WWW-Mechanize-1.66/t/local/get.t
WWW-Mechanize-1.66/t/local/failure.t
WWW-Mechanize-1.66/t/local/page_stack.t
WWW-Mechanize-1.66/t/local/log-server
WWW-Mechanize-1.66/t/local/back.t
WWW-Mechanize-1.66/t/local/click_button.t
WWW-Mechanize-1.66/t/local/referer.t
WWW-Mechanize-1.66/t/local/LocalServer.pm
WWW-Mechanize-1.66/t/local/form.t
WWW-Mechanize-1.66/t/local/overload.t
WWW-Mechanize-1.66/t/local/submit.t
WWW-Mechanize-1.66/t/local/click.t
WWW-Mechanize-1.66/t/local/follow.t
WWW-Mechanize-1.66/t/local/referer-server
WWW-Mechanize-1.66/t/clone.t
WWW-Mechanize-1.66/t/image-new.t
WWW-Mechanize-1.66/t/frames.t
WWW-Mechanize-1.66/t/field.html
WWW-Mechanize-1.66/t/select.html
WWW-Mechanize-1.66/t/find_link_id.html
WWW-Mechanize-1.66/t/new.t
WWW-Mechanize-1.66/t/TestServer.pm
WWW-Mechanize-1.66/t/regex-error.t
WWW-Mechanize-1.66/t/save_content.t
WWW-Mechanize-1.66/t/select.t
WWW-Mechanize-1.66/t/area_link.html
WWW-Mechanize-1.66/t/find_link_id.t
WWW-Mechanize-1.66/t/link.t
WWW-Mechanize-1.66/t/warn.t
WWW-Mechanize-1.66/t/taint.t
WWW-Mechanize-1.66/t/autocheck.t
WWW-Mechanize-1.66/t/image-parse.html
WWW-Mechanize-1.66/t/google.html
WWW-Mechanize-1.66/t/add_header.t
WWW-Mechanize-1.66/t/link-relative.t
WWW-Mechanize-1.66/t/form-parsing.t
WWW-Mechanize-1.66/t/find_frame.html
WWW-Mechanize-1.66/t/find_inputs.t
WWW-Mechanize-1.66/t/mech-dump/
WWW-Mechanize-1.66/t/mech-dump/mech-dump.t
WWW-Mechanize-1.66/t/tick.html
WWW-Mechanize-1.66/t/find_inputs.html
WWW-Mechanize-1.66/t/pod.t
WWW-Mechanize-1.66/META.yml
WWW-Mechanize-1.66/lib/
WWW-Mechanize-1.66/lib/WWW/
WWW-Mechanize-1.66/lib/WWW/Mechanize.pm
WWW-Mechanize-1.66/lib/WWW/Mechanize/
WWW-Mechanize-1.66/lib/WWW/Mechanize/Image.pm
WWW-Mechanize-1.66/lib/WWW/Mechanize/Link.pm
WWW-Mechanize-1.66/lib/WWW/Mechanize/Examples.pod
WWW-Mechanize-1.66/lib/WWW/Mechanize/FAQ.pod
WWW-Mechanize-1.66/lib/WWW/Mechanize/Cookbook.pod
WWW-Mechanize-1.66/Changes
CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.66.tar.gz
>>> /Users/fly1003/bin/perl Makefile.PL
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/fly1003/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.66.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /Users/fly1003/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/cookies.t t/credentials-api.t t/credentials.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/untaint.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/encoding.t t/live/wikipedia.t t/mech-dump/mech-dump.t
# Testing WWW::Mechanize 1.66, with LWP 5.836, Perl 5.010000, /Users/fly1003/bin/perl
# Test::Memory::Cycle 1.04 is installed.
t/00-load.t ..............
1..2
ok 1 - use WWW::Mechanize;
ok 2 - use WWW::Mechanize::Link;
ok
t/add_header.t ...........
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.t ..............
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.t ............
1..9
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t ............
1..5
ok 1 - require WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Didn't fetch http://blahblablah.xx-nonexistent.foo/, but didn't die, either
ok 4 - The object isa WWW::Mechanize
ok 5 - Couldn't fetch http://blahblablah.xx-nonexistent.foo/, and died as a result
ok
t/clone.t ................
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - The object isa WWW::Mechanize
ok 4 - Cookie jar contents are the same
ok 5 - Adding cookies adds to both jars
ok
# Test server http://127.0.0.1:22542 as PID 15865
t/cookies.t ..............
1..14
TestServer: You can connect to your server at http://localhost:22542/
ok 1 - The object isa WWW::Mechanize
ok 2 - First fetch works
ok 3 - First cookie matches
ok 4 - Right title
ok 5 - Second fetch works
ok 6 - Second cookie matches
ok 7 - Right title
ok 8 - Cookie did not change...
ok 9 - ... but back to the first page title
ok 10 - Cookie did not change...
ok 11 - On the proper 3rd page
ok 12 - Got the third cookie
ok 13 - Title is correct
ok 14 - Signaled the child process
ok
t/credentials-api.t ......
1..4
ok 1 - LWP::UserAgent instance retains its old credentials
ok 2 - First instance retains its credentials
ok 3 - Second instance retains its credentials
ok 4 - Untouched instance retains its credentials
ok
t/credentials.t ..........
1..14
ok 1 - The object isa WWW::Mechanize
ok 2 - default username is undefined at first
ok 3 - default password is undefined at first
ok 4 - calling credentials sets username for get_basic_credentials
ok 5 - calling credentials sets password for get_basic_credentials
ok 6 - cloned object has username for get_basic_credentials
ok 7 - cloned object has password for get_basic_credentials
ok 8 - The object isa WWW::Mechanize
ok 9 - new object has no username for get_basic_credentials
ok 10 - new object has no password for get_basic_credentials
ok 11 - username is undefined after clear_credentials
ok 12 - password is undefined after clear_credentials
ok 13 - cloned object still has username for get_basic_credentials
ok 14 - cloned object still has password for get_basic_credentials
ok
t/die.t ..................
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.t ................
1..8
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t ...........
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/t/find_frame.html
ok 4 - The object isa WWW::Mechanize::Link
ok 5 - First link sequentially
ok
t/find_image.t ...........
1..17
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t ..........
1..11
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t ...
1..19
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t ............
1..62
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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 - Third link should be the CSS
ok 9 - Third link should be the CSS
ok 10 - The object isa WWW::Mechanize::Link
ok 11 - found link in uppercase meta tag
ok 12 - The object isa WWW::Mechanize::Link
ok 13 - First CPAN link
ok 14 - First CPAN link
ok 15 - No url matching CPAN
ok 16 - The object isa WWW::Mechanize::Link
ok 17 - 3rd CPAN text
ok 18 - 3rd CPAN text
ok 19 - No 34th CPAN text
ok 20 - The object isa WWW::Mechanize::Link
ok 21 - Got 1st cpan via regex
ok 22 - Got 1st cpan via regex
ok 23 - The object isa WWW::Mechanize::Link
ok 24 - Got 1st cpan via regex
ok 25 - Got 1st cpan via regex
ok 26 - No 153rd cpan link
ok 27 - The object isa WWW::Mechanize::Link
ok 28 - Got b.cpan.org
ok 29 - Got b.cpan.org
ok 30 - Not a second b.cpan.org
ok 31 - The object isa WWW::Mechanize::Link
ok 32 - Got c.cpan.org
ok 33 - Got c.cpan.org
ok 34 - Correct links came back
ok 35 - Correct links came back
ok 36 - The object isa WWW::Mechanize::Link
ok 37 - First News is MSNBC
ok 38 - First News is MSNBC
ok 39 - The object isa WWW::Mechanize::Link
ok 40 - First BBC news link
ok 41 - First BBC news link
ok 42 - First BBC news text
ok 43 - First BBC news text
ok 44 - The object isa WWW::Mechanize::Link
ok 45 - First CNN news link
ok 46 - First CNN news link
ok 47 - First CNN news text
ok 48 - First CNN news text
ok 49 - Correct links came back
ok 50 - The object isa WWW::Mechanize::Link
ok 51 - Got the CPAN C link
ok 52 - The object isa WWW::Mechanize::Link
ok 53 - Got 2nd link that begins with a capital
ok 54 - The object isa WWW::Mechanize::Link
ok 55 - Got 3rd tag
ok 56 - The object isa WWW::Mechanize::Link
ok 57 - Got 7th or tag
ok 58 - The object isa WWW::Mechanize::Link
ok 59 - Got the JavaScript link
ok 60 - The object isa WWW::Mechanize::Link
ok 61 - No match
ok 62 - The object isa WWW::Mechanize::Link
ok
t/find_link_id.t .........
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t .........
1..1
ok 1 - Find one form, please
ok
t/frames.t ...............
1..7
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t ............
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.t ..........
1..15
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t ............
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.t ........
1..6
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t .................
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/encoding.t ........
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 (?:cp|windows-)1251
ok 13 - Got back UTF-8
ok
t/live/wikipedia.t .......
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
# Started http://localhost:50831/
t/local/back.t ...........
1..47
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - this $mech starts with a cookie jar isa HTTP::Cookies
ok 4 - The object isa LocalServer
ok 5 - With no stack, no going back
ok 6 - Fetched OK
ok 7 - Followed OK
ok 8 - Back should succeed
ok 9 - Did the base get set back?
ok 10 - Title set back?
ok 11 - Followed OK
ok 12 - Back should succeed
ok 13 - Did the base get set back?
ok 14 - Title set back?
ok 15 - Pre-search check
ok 16 - Searched for Perl
ok 17 - Right page title
ok 18 - POST is in the stack
ok 19 - HEAD succeeded
ok 20 - HEAD is not in the stack
ok 21 - Back should succeed
ok 22 - Back
ok 23 - Did the base get set back?
ok 24 - Title set back?
ok 25 - Post-search check
ok 26 - Back should succeed
ok 27 - reload() does not push page to stack
ok 28 - $mech still has a cookie jar after a number of back()
ok 29 - No memory cycles found
ok 30 - The object isa WWW::Mechanize
ok 31 - Got root URL
ok 32 - Pre-404 check
ok 33 - 404 check
ok 34 - Even 404s get on the stack
ok 35 - Back should succeed
ok 36 - Back from the 404
ok 37 - Post-404 check
ok 38 - Get /scripts
ok 39 - Back should succeed
ok 40 - Back from /scripts
ok 41 - Get /ports/
ok 42 - Back should succeed
ok 43 - Back from /ports/
ok 44 - Get modules/
ok 45 - Back should succeed
ok 46 - Back from modules/
ok 47 - No memory cycles found
ok
# Started http://localhost:50846/
t/local/click.t ..........
1..9
ok 1 - use WWW::Mechanize;
ok 2 - Created the object isa WWW::Mechanize
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 - Got back a response isa HTTP::Response
ok 8 - Can click 'Go' ('Google Search' button)
ok 9 - Filled field correctly
ok
# Started http://localhost:50850/
t/local/click_button.t ...
1..19
ok 1 - use WWW::Mechanize;
ok 2 - Created the object isa WWW::Mechanize
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 - Clicking on button by number
ok 8 - Correct button was pressed
ok 9 - Parameters got transmitted OK
ok 10 - Button number out of range
ok 11 - Clicking on button by name
ok 12 - Correct button was pressed
ok 13 - Parameters got transmitted OK
ok 14 - Button name unknown
ok 15 - Found the submit button isa HTML::Form::Input # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further.
ok 16 - Named the right thing, too # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further.
# $VAR1 = bless( {
# '_content' => '',
# '_headers' => bless( {
# 'accept-encoding' => 'gzip',
# 'referer' => 'http://localhost:50850/',
# 'user-agent' => 'WWW-Mechanize/1.66'
# }, 'HTTP::Headers' ),
# '_method' => 'GET',
# '_uri' => bless( do{\(my $o = 'http://localhost:50850/formsubmit?session=1&query=(empty)&cat=cat_foo&cat=cat_bar&upload=')}, 'URI::http' ),
# '_uri_canonical' => $VAR1->{'_uri'}
# }, 'HTTP::Request' );
ok 17 - Clicking on button by object reference # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further.
not ok 18 - Correct button was pressed # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further.
# Failed (TODO) test 'Correct button was pressed'
# at t/local/click_button.t line 63.
# 'http://localhost:50850/formsubmit?session=1&query=(empty)&cat=cat_foo&cat=cat_bar&upload='
# doesn't match '(?-xism:submit=Go)'
ok 19 - Parameters got transmitted OK # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further.
ok
# Started http://localhost:50856/
t/local/failure.t ........
1..15
ok 1 - require WWW::Mechanize;
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 - Two form
ok 11 - Failed the fetch
ok 12 - Isn't HTML
ok 13 - No title
ok 14 - No links
ok 15 - No forms
ok
# Started http://localhost:50859/
t/local/follow.t .........
1..22
ok 1 - use WWW::Mechanize;
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 - Gives a response isa HTTP::Response
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 22 - Couldn't find it
ok
# Started http://localhost:50866/
t/local/form.t ...........
1..13
ok 1 - use WWW::Mechanize;
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 12 - Can select the form isa HTML::Form
ok 13 - cannot select non-existent form
ok
# Started http://localhost:50869/
t/local/get.t ............
1..32
ok 1 - use WWW::Mechanize;
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.t ....... skipped: Mysteriously stopped passing, and I don't know why.
# Started http://localhost:50877/
t/local/page_stack.t .....
1..16
ok 1 - use WWW::Mechanize;
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.t ........
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
# Started http://localhost:50887/
t/local/reload.t .........
1..14
ok 1 - use WWW::Mechanize;
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
# Started http://localhost:50891/
t/local/submit.t .........
1..13
ok 1 - use WWW::Mechanize;
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.t ..
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.t ..................
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.t .........
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.t ..................
1..7
ok 1 - POD test for blib/script/mech-dump
ok 2 - POD test for blib/lib/WWW/Mechanize.pm
ok 3 - POD test for blib/lib/WWW/Mechanize/Cookbook.pod
ok 4 - POD test for blib/lib/WWW/Mechanize/Examples.pod
ok 5 - POD test for blib/lib/WWW/Mechanize/FAQ.pod
ok 6 - POD test for blib/lib/WWW/Mechanize/Image.pm
ok 7 - POD test for blib/lib/WWW/Mechanize/Link.pm
ok
t/regex-error.t ..........
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.t .........
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/t/find_inputs.html
ok 4 - saved.test.txt does not exist
ok 5 - Saved copy matches the original
ok
t/select.t ...............
1..14
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Fetched file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/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.t ................
1..6
ok 1 - use WWW::Mechanize;
ok 2 - Created object isa WWW::Mechanize
ok 3 - ENV taints OK
ok 4 - Correct title
ok 5 - Title should not be tainted
ok 6 - But content should
ok
t/tick.t .................
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/t/tick.html
ok 4 - The object isa HTML::Form
ok 5 - Proper posting
ok
t/untaint.t ..............
1..2
ok 1 - use WWW::Mechanize;
ok 2 - no warnings
ok
t/upload.t ...............
1..5
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - file:///Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/t/upload.html
ok 4 - Proper posting
ok 5 - The uploaded file should be in the request
ok
t/warn.t .................
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.t .............
1..3
ok 1 - use WWW::Mechanize;
ok 2 - The object isa WWW::Mechanize
ok 3 - Unknown aliases squawk appropriately
ok
All tests successful.
Test Summary Report
-------------------
t/local/click_button.t (Wstat: 0 Tests: 19 Failed: 0)
TODO passed: 15-17, 19
Files=51, Tests=589, 50 wallclock secs ( 0.77 usr 0.86 sys + 31.26 cusr 6.52 csys = 39.41 CPU)
Result: PASS
PETDANCE/WWW-Mechanize-1.66.tar.gz
make test TEST_VERBOSE=1 -- OK
Andy Lester <andy@petdance.com>
Handy web browsing in a Perl object
>>> (cd /Users/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo && tar cvf - WWW-Mechanize-1.66.ppd blib) | gzip -c >/Users/fly1003/var/REPO/P/PE/PETDANCE/WWW-Mechanize-1.66.tar.gz
WWW-Mechanize-1.66.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/fly1003/var/cpan/build/WWW-Mechanize-1.66-WUrJDo/WWW-Mechanize-1.66.ppd /Users/fly1003/var/REPO/P/PE/PETDANCE
Finished 2010-09-12T06:22:36