SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Test-Mock-LWP-Dispatch rpm build for : openSUSE Leap 15. For other distributions click perl-Test-Mock-LWP-Dispatch.

Name : perl-Test-Mock-LWP-Dispatch
Version : 0.08 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp150.1.2 Date : 2015-11-06 13:00:00
Group : Development/Libraries/Perl Source RPM : perl-Test-Mock-LWP-Dispatch-0.08-lp150.1.2.src.rpm
Size : 0.03 MB
Packager : (none)
Summary : mocks LWP::UserAgent and dispatches your requests/responses
Description :
This module is intended for testing a code that heavily uses
LWP::UserAgent.

Assume that a function you want to test makes three different requests to a
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 (whether it applies
to all LWP::UserAgent-s created in your code or only to a specific one) you
need to call these functions for exported \'$mock_ua\' object (global
mapping) or for newly created LWP::UserAgent (local mappings).

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

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Leap_15.0/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(Test::Mock::LWP::Dispatch)
perl-Test-Mock-LWP-Dispatch

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(HTTP::Request)
perl(HTTP::Response)
perl(LWP::UserAgent)
perl(Test::MockObject)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/Mock
/usr/lib/perl5/vendor_perl/5.26.1/Test/Mock/LWP
/usr/lib/perl5/vendor_perl/5.26.1/Test/Mock/LWP/Dispatch.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Test-Mock-LWP-Dispatch
/usr/share/doc/packages/perl-Test-Mock-LWP-Dispatch/Changes
/usr/share/doc/packages/perl-Test-Mock-LWP-Dispatch/LICENSE
/usr/share/doc/packages/perl-Test-Mock-LWP-Dispatch/README
/usr/share/man/man3/Test::Mock::LWP::Dispatch.3pm.gz

 
ICM