Commit graph

8 commits

Author SHA1 Message Date
seb
417af3bac9 Update from version 1.22 to version 1.24.
Upstream changes:
1.24    Sat Jan 17 13:26:47 CST 2009
------------------------------------
Tests run on port 13432 instead of 8080.  It should really be a
random open port, but for now, something other than 8080 will do.


1.23_01 Mon Dec 22 17:43:46 CST 2008
------------------------------------
[FIXED]
Tests would fail because we weren't unsetting http_proxy.

Fixed many failed tests.  Overhauled the test server setup.


[ENHANCEMENTS]
Added autolinting capability, so you can do this:

    my $mech = Test::WWW::Mechanize->new( autolint => 1 );
    $mech->get_ok( $url );

and the get_ok() will fail if the page is fetched, but the resultant HTML
(if it is indeed text/html) does not pass HTML::Lint.

Added $mech->click_ok().

The user agent is now "Test-WWW-Mechanize/version" by default.
2009-01-19 22:25:32 +00:00
he
ae5db21188 Update from version 1.20nb1 to 1.22.
Pkgsrc changes:
 o Adjust dependencies according to new requirements

Upstream changes:

1.22    Fri Nov 21 20:29:30 CST 2008
------------------------------------
[ENHANCEMENTS]
Added $mech->head_ok() and $mech->put_ok() methods.  Thanks to
Jaldhar Vyas.
2008-12-16 21:59:27 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
wiz
cc1ae2ddd3 Update to 1.20:
1.20    Wed Mar 12 23:56:11 CDT 2008
-----------------------------------
[FIXES]
stuff_inputs() used to do nothing.  Now it works.
http://code.google.com/p/www-mechanize/issues/detail?id=9

Fixed punctuation in some error messages.

Fixed compatibility with WWW::Mechanize 1.36.


1.18    Thu Dec  6 10:12:14 CST 2007
------------------------------------
[ENHANCEMENTS]
Added default descriptions for most test assertions.

[FIXES]
HTML::Lint is now properly optional.

Added delays in all the tests that use HTTP::Server::Simple to give
it time to correctly fire up.


1.16    Mon Oct 29 15:34:21 CDT 2007
------------------------------------
[ENHANCEMENTS]
Added $mech->post_ok().  Thanks, Greg Sheard.

Added $mech->submit_form_ok().  Thanks, Mark Stosberg.

Added $mech->html_lint_ok()

[FIXES]
Fixed some bugs that were causing test failures.


1.14    Fri May 11 16:22:02 CDT 2007
------------------------------------
[FIXES]
Fixes test failures.  Thanks to Mark Blackman for RT #26602:

The module tests currently spawn a server (based on
HTTP::Server::Simple::CGI) which is killed when a __DIE__
signal is received, normally only when the invoking
perl dies. However, as perlvar makes clear, the __DIE__
signal is received when eval blocks die as well. The
new version (1.22) of WWW::Mechanize now calles
HTTP::Message::decoded_content which calls Encode.pm
which has a eval block that require's Encode::ConfigLocal
which is usually not present, so the eval dies and the
HTTP server is killed as soon as the $mech object tries
to do a 'get'. It's simple to use a system variable,
$^S to find out if the __DIE__ signal is being called
for an eval so we ignore that case with the patch
attached.

The stuff_inputs() function now actually works.

[DOCUMENTATION]
*   Made the synopsis show that T:W:M doesn't take the tests=>$x
like other Test::* modules.  It'd be nice if it did, though.
2008-04-23 21:10:32 +00:00
wiz
1ddd68e3ef Update to 1.12:
1.12    Thu Jul  6 23:47:59 CDT 2006
        [ENHANCEMENTS]
        * Added followable_links() method to return only those links
          that your mech can actually follow.

1.10    Sun Jun 18 22:58:41 CDT 2006
        [FIXES]
        * RT #19147: Tests turn off the http_proxy environment variable
          before starting.  Thanks to Matt Trout.
        * RT #18779: makes stuff_inputs() conform to the documentation,
          changing the implementation to expect an arrayref for
          $options->{ ignore }, as opposed to a hashref.  Thanks to
          Mike O'Regan.

        [ENHANCEMENTS]
        * Added base_is, base_like and base_unlike.  Thanks to MATSUNO
          Tokuhiro.
2007-06-08 11:34:30 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
seb
f67df56fe7 Initial import of p5-Test-WWW-Mechanize version 1.08 as
www/p5-Test-WWW-Mechanize into the NetBSD Packages Collection.

Test::WWW::Mechanize Perl5 module provides a subclass of WWW::Mechanize
that incorporates features for web application testing.
2006-02-08 17:06:14 +00:00