debian/0000755000000000000000000000000011537210313007162 5ustar debian/control0000644000000000000000000000434711537210205010575 0ustar Source: libtest-cgi-multipart-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libtest-exception-perl, libperl6-slurp-perl, libmime-tools-perl, libautodie-perl, libversion-perl, libreadonly-perl, libuniversal-require-perl, libparams-validate-perl, libtext-lorem-perl, libgd-gd2-perl (>= 1:2.45-2), libcgi-simple-perl, libtest-pod-perl, libtest-pod-coverage-perl Maintainer: Debian Perl Group Uploaders: Nicholas Bamber Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/Test-CGI-Multipart/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-cgi-multipart-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtest-cgi-multipart-perl/ Package: libtest-cgi-multipart-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libmime-tools-perl, libautodie-perl, libversion-perl, libuniversal-require-perl, libreadonly-perl, libparams-validate-perl Recommends: libreadonly-xs-perl, libtext-lorem-perl, libgd-gd2-perl (>= 1:2.45-2), libcgi-simple-perl Description: support for testing posting of multi-part form data It is quite difficult to write test code to capture the behaviour of CGI or similar objects handling forms that include a file upload. Such code needs to harvest the parameters, build file content in MIME format, set the environment variables accordingly and pump it into the the standard input of the required CGI object. This module provides simple methods so that having prepared suitable content, the test script can simulate the submission of web forms including file uploads. . Moreover a test script is not always the best place to prepare content. Rather a test script would rather specify requirements for a file a upload: type, size, mismatches between the file name and its contents and so on. This module cannot hope to provide such open ended functionality but it can provide extension mechanisms. . Test::CGI::Multipart works with CGI (the default), CGI::Minimal and CGI::Simple. In principle it ought to work with all equivalent modules however each module has a slightly different interface when it comes to file uploads and so requires slightly different test code. debian/copyright0000644000000000000000000000207611510634370011126 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Nicholas Bamber Source: http://search.cpan.org/dist/Test-CGI-Multipart/ Name: Test-CGI-Multipart Files: * Copyright: 2010, Nicholas Bamber License: Artistic or GPL-1+ Files: debian/* Copyright: 2011, Nicholas Bamber License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000020111510634370010210 0ustar version=3 http://search.cpan.org/dist/Test-CGI-Multipart/ .*/Test-CGI-Multipart-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/compat0000644000000000000000000000000211510634370010364 0ustar 8 debian/changelog0000644000000000000000000000026211537134076011047 0ustar libtest-cgi-multipart-perl (0.0.3-1) unstable; urgency=low * Initial Release. (Closes: #608883) -- Nicholas Bamber Sun, 13 Mar 2011 11:04:56 +0000 debian/source/0000755000000000000000000000000011537210233010463 5ustar debian/source/format0000644000000000000000000000001411510634370011674 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611510634370010245 0ustar #!/usr/bin/make -f %: dh $@