pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/p5-Test-WWW-Mechanize

Module Name:    pkgsrc
Committed By:   hiramatsu
Date:           Sun Oct 16 13:55:27 UTC 2011

Modified Files:
        pkgsrc/www/p5-Test-WWW-Mechanize: Makefile distinfo

Log Message:
Update p5-Test-WWW-Mechanize to 1.34.

Changes from previous:
1.34    Tue Jul  5 16:23:24 CDT 2011
Added $mech->lacks_uncapped_inputs() to check for <input> tags that
don't have a maxlength attribute.  We've been using this for years at
work, and I'm just now moving it into Test::WWW::Mechanize.
Added $mech->grep_inputs() and $mech->grep_submits() to easily pull
input fields from the page.  I'd like to get this moved up to base
WWW::Mechanize, because it has use outside of the Test:: world.

$mech->followable_links() now finds file: URLs, too.

$mech->content_contains(), $mech->content_lacks(), $mech->text_contains(0
and $mech->text_lacks() all fail if a reference is passed instead of
a string.

$mech->text_contains() was not calling $mech->text(), so was not taking
advantage of the caching of the parsed text.

Most tests no longer use class.

All tests now run under -T and have plan counts.

1.31_01 Wed May  4 16:07:31 CDT 2011
The methods that look at the text of the page, ->text_like() and
->text_unlike(), now use the WWW::Mechanize method ->text() which caches
the text.  This will be a big speedup if you call these methods more
than once.

[FIXED]Normalized the use of single vs. double quotes in the default 

Fixed tests that fail under newer versions of LWP.

Fixed tests that fail if http_proxy or HTTP_PROXY are set.

Fixed tests that fail on Perl 5.14.

To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/p5-Test-WWW-Mechanize/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/p5-Test-WWW-Mechanize/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index