debian/0000755000000000000000000000000011624543757007204 5ustar debian/control0000644000000000000000000000215211624543757010607 0ustar Source: libtest-html-w3c-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libtest-pod-perl, libtest-pod-coverage-perl, libwebservice-validator-html-w3c-perl Maintainer: Debian Perl Group Uploaders: Nicholas Bamber Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/Test-HTML-W3C/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libtest-html-w3c-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-html-w3c-perl.git Package: libtest-html-w3c-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libwebservice-validator-html-w3c-perl Suggests: w3c-markup-validator Description: wrapper around W3C HTML validation testing service The purpose of this module is to provide a wide range of testing utilities. Various ways to say "ok" with better diagnostics, facilities to skip tests, test future features and compare complicated data structures. While you can do almost anything with a simple ok() function, it doesn't provide good diagnostic output. debian/copyright0000644000000000000000000000200111624543757011130 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Contact: Victor Source: http://search.cpan.org/dist/Test-HTML-W3C/ Upstream-Name: Test-HTML-W3C Files: * Copyright: 2006 - 2011, Victor 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/watch0000644000000000000000000000016711624543757010241 0ustar version=3 http://search.cpan.org/dist/Test-HTML-W3C/ .*/Test-HTML-W3C-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011624543757010633 5ustar debian/patches/series0000644000000000000000000000002011624543757012040 0ustar diag_html.patch debian/patches/diag_html.patch0000644000000000000000000000153411624543757013607 0ustar Author: Nicholas Bamber Subject: Invalid response from service not handled correctly Last-Update: 2011-03-14 Bug: http://rt.cpan.org/Ticket/Display.html?id=66599 --- a/lib/Test/HTML/W3C.pm +++ b/lib/Test/HTML/W3C.pm @@ -224,10 +224,15 @@ sub diag_html { my $tb = __PACKAGE__->builder(); if ($show_detail) { - my @errs = $v->errors(); - my $e; - foreach my $error ( @{$v->errors()} ) { - $e .= sprintf("%s at line %d\n", $error->msg, $error->line); + my $e = ""; + if ($v->errors()) { + my @errs = @{$v->errors()}; + foreach my $error ( @errs ) { + $e .= sprintf("%s at line %d\n", $error->msg, $error->line); + } + } + else { + $e .= $v->validator_error; } $tb->diag($e); } else { debian/compat0000644000000000000000000000000211624543757010402 0ustar 8 debian/changelog0000644000000000000000000000214611624543757011061 0ustar libtest-html-w3c-perl (0.04-1) unstable; urgency=low [ Harlan Lieberman-Berg ] * Team upload * New upstream version (0.04). * Bump compat, debhelper to 8, s-v to 3.9.2 without changes. * Remove replace_boilerplate_text patch, as it has been applied upstream. * Add new DEP-5 Format, replace headers with compliant versions. * Bump upstream copyright year. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. -- Harlan Lieberman-Berg Mon, 22 Aug 2011 12:38:22 -0400 libtest-html-w3c-perl (0.03-2) unstable; urgency=low * Handle case where no sensible output returned from validator. Previously this caused the 'diag_html' method to crash. (Closes: #618335) -- Nicholas Bamber Mon, 14 Mar 2011 13:34:09 +0000 libtest-html-w3c-perl (0.03-1) unstable; urgency=low * Initial Release. (Closes: #608824) -- Nicholas Bamber Tue, 04 Jan 2011 18:52:15 +0000 debian/source/0000755000000000000000000000000011624543757010504 5ustar debian/source/format0000644000000000000000000000001411624543757011712 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611624543757010263 0ustar #!/usr/bin/make -f %: dh $@