notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
non port: devel/p5-Test-Mock-LWP-Dispatch/Makefile
SVNWeb

Number of commits found: 14

Fri, 25 Jun 2021
[ 13:35 sunpoet (Po-Chuan Hsieh) ]    commit hash:f7157ab81e215f036c138861ca12e28b8fcc0293  f7157ab 
devel/p5-Test-Mock-LWP-Dispatch: Add LICENSE_FILE
Tue, 6 Apr 2021
[ 14:31 mat (Mathieu Arnold) ]    commit hash:305f148f482daf30dcf728039d03d019f88344eb  305f148  (Only the first 10 of 29333 ports in this commit are shown above. View all ports for this commit)
Remove # $FreeBSD$ from Makefiles.
Sat, 6 Oct 2018
[ 13:06 des ] Original commit   Revision:481365 (Only the first 10 of 2492 ports in this commit are shown above. View all ports for this commit)
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.

Approved by:	portmgr (adamw)
Fri, 15 Sep 2017
[ 08:58 mat ] Original commit   Revision:449893 (Only the first 10 of 2495 ports in this commit are shown above. View all ports for this commit)
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
Fri, 1 Apr 2016
[ 14:00 mat ] Original commit   Revision:412346 (Only the first 10 of 5103 ports in this commit are shown above. View all ports for this commit)
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
Fri, 6 Nov 2015
[ 11:52 sunpoet ] Original commit   Revision:400919
- Update to 0.08

Changes:	http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/Changes
Fri, 30 Oct 2015
[ 11:23 sunpoet ] Original commit   Revision:400499
- Update to 0.07
- Add NO_ARCH

Changes:	http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/Changes
Wed, 26 Nov 2014
[ 13:08 mat ] Original commit   Revision:373448 (Only the first 10 of 10077 ports in this commit are shown above. View all ports for this commit)
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Mon, 30 Sep 2013
[ 20:41 sunpoet ] Original commit   Revision:328870 (Only the first 10 of 42 ports in this commit are shown above. View all ports for this commit)
- Support STAGEDIR
Fri, 20 Sep 2013
[ 17:13 bapt ] Original commit   Revision:327724 (Only the first 10 of 2998 ports in this commit are shown above. View all ports for this commit)
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
Wed, 21 Aug 2013
[ 14:08 sunpoet ] Original commit   Revision:325134 (Only the first 10 of 272 ports in this commit are shown above. View all ports for this commit)
- Convert to new perl framework
Sat, 8 Jun 2013
[ 21:04 sunpoet ] Original commit   Revision:320287
- Update to 0.06

Changes:	http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/Changes
Tue, 16 Apr 2013
[ 16:54 sunpoet ] Original commit   Revision:315850
- Update to 0.05
- Add LICENSE
- Cleanup Makefile header

Changes:	http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/Changes
Feature safe:	yes
Mon, 30 Apr 2012
[ 03:10 sunpoet ] Original commit 
- Add p5-Test-Mock-LWP-Dispatch 0.03

Test::Mock::LWP::Dispatch intends for testing a code that heavily uses
LWP::UserAgent.

Assume that function you want to test makes three different request to the
server and expects to get some content from the server. To test this function
you should setup request/response mappings for mocked UserAgent and test it.

For doing something with mappings, here are methods map, unmap and unmap_all.
For controlling context of these mappings (is it applies for all created in your
code LWP::UserAgent's or only to one specific?) you should call these functions
for exported $mock_ua object (global mapping) or for newly created
LWP::UserAgent (local mappings).

See also on Test::Mock::LWP, it provides mocked LWP objects for you, so probably
you can solve your problems with this module too.

WWW: http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/

Number of commits found: 14