notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
p5-Test-Mock-LWP-Dispatch Mocks LWP::UserAgent and dispatches your requests/responses
0.08 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port 0.08Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2012-04-30 03:12:17
Last Update: 2018-10-06 14:06:45
SVN Revision: 481365
Also Listed In: perl5
License: ART10 GPLv1+
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
  1. /usr/local/share/licenses/p5-Test-Mock-LWP-Dispatch-0.08/catalog.mk
  2. /usr/local/share/licenses/p5-Test-Mock-LWP-Dispatch-0.08/LICENSE
  3. /usr/local/share/licenses/p5-Test-Mock-LWP-Dispatch-0.08/ART10
  4. /usr/local/share/licenses/p5-Test-Mock-LWP-Dispatch-0.08/GPLv1+
  5. lib/perl5/site_perl/Test/Mock/LWP/Dispatch.pm
  6. lib/perl5/site_perl/man/man3/Test::Mock::LWP::Dispatch.3.gz
Collapse this list.
Dependency lines:
  • p5-Test-Mock-LWP-Dispatch>0:devel/p5-Test-Mock-LWP-Dispatch
To install the port: cd /usr/ports/devel/p5-Test-Mock-LWP-Dispatch/ && make install clean
To add the package: pkg install p5-Test-Mock-LWP-Dispatch
PKGNAME: p5-Test-Mock-LWP-Dispatch
Flavors: there is no flavor information for this port.
distinfo:

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-HTTP-Message>=0 : www/p5-HTTP-Message
  2. p5-Test-MockObject>=0 : devel/p5-Test-MockObject
  3. p5-libwww>=0 : www/p5-libwww
  4. perl5>=5.26<5.27 : lang/perl5.26
  5. perl5>=5.26<5.27 : lang/perl5.26
Runtime dependencies:
  1. p5-HTTP-Message>=0 : www/p5-HTTP-Message
  2. p5-Test-MockObject>=0 : devel/p5-Test-MockObject
  3. p5-libwww>=0 : www/p5-libwww
  4. perl5>=5.26<5.27 : lang/perl5.26
There are no ports dependent upon this port

Configuration Options

USES:

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Test/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Test/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Test/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Test/
  7. http://backpan.perl.org/modules/by-module/Test/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Test/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Test/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Test/
  12. https://www.cpan.org/modules/by-module/Test/

Number of commits found: 14

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
06 Oct 2018 13:06:45
Original commit files touched by this commit  0.08
Revision:481365
des search for other commits by this committer
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)
27 May 2018 20:15:20
Original commit files touched by this commit  0.08
Revision:470993
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
15 Sep 2017 08:58:50
Original commit files touched by this commit  0.08
Revision:449893
mat search for other commits by this committer
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
01 Apr 2016 14:00:57
Original commit files touched by this commit  0.08
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
06 Nov 2015 11:52:55
Original commit files touched by this commit  0.08
Revision:400919
sunpoet search for other commits by this committer
- Update to 0.08

Changes:	http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/Changes
30 Oct 2015 11:23:58
Original commit files touched by this commit  0.07
Revision:400499
sunpoet search for other commits by this committer
- Update to 0.07
- Add NO_ARCH

Changes:	http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/Changes
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.06_1
Revision:373448
mat search for other commits by this committer
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)
27 Oct 2014 10:55:59
Original commit files touched by this commit  0.06
Revision:371547
bapt search for other commits by this committer
Cleanup plist
30 Sep 2013 20:41:25
Original commit files touched by this commit  0.06
Revision:328870
sunpoet search for other commits by this committer
- Support STAGEDIR
20 Sep 2013 17:13:47
Original commit files touched by this commit  0.06
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
21 Aug 2013 14:08:08
Original commit files touched by this commit  0.06
Revision:325134
sunpoet search for other commits by this committer
- Convert to new perl framework
08 Jun 2013 21:04:22
Original commit files touched by this commit  0.06
Revision:320287
sunpoet search for other commits by this committer
- Update to 0.06

Changes:	http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/Changes
16 Apr 2013 16:54:56
Original commit files touched by this commit  0.05
Revision:315850
sunpoet search for other commits by this committer
- Update to 0.05
- Add LICENSE
- Cleanup Makefile header

Changes:	http://search.cpan.org/dist/Test-Mock-LWP-Dispatch/Changes
Feature safe:	yes
30 Apr 2012 03:10:50
Original commit files touched by this commit  0.03

sunpoet search for other commits by this committer
- 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

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
keaSep 20
mbedtlsSep 19
broSep 17
expat2Sep 17
expat2Sep 16
curlSep 14
opensslSep 11
openssl111Sep 11
linux-flashplayerSep 10
onigurumaSep 07
xymon-serverSep 07
asterisk13Sep 06
asterisk15Sep 06
asterisk16Sep 06
asterisk16Sep 06

8 vulnerabilities affecting 50 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-09-23 10:02:25


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 37831
Broken 414
Deprecated 530
Ignore 675
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 28
Expired 21
Set to expire 501
Interactive 0
new 24 hours 11
new 48 hours23
new 7 days104
new fortnight139
new month467

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.