non port: devel/p5-Test-Mock-LWP-Dispatch/pkg-plist |
SVNWeb
|
Number of commits found: 4 |
Wed, 26 Nov 2014
|
[ 13:08 mat ] (Only the first 10 of 10077 ports in this commit are shown above. )
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 )
|
Mon, 27 Oct 2014
|
[ 10:55 bapt ] (Only the first 10 of 1732 ports in this commit are shown above. )
Cleanup plist
|
Mon, 30 Sep 2013
|
[ 20:41 sunpoet ] (Only the first 10 of 42 ports in this commit are shown above. )
- Support STAGEDIR
|
Mon, 30 Apr 2012
|
[ 03:10 sunpoet ]
- 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: 4 |