From 45e00ca6c9aa204f2d93055577698736ed73dabe Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Fri, 26 Sep 2008 08:57:18 +0200 Subject: [PATCH] We need tests for DDump () too --- ChangeLog | 4 ++++ DDumper.pm | 2 +- MANIFEST | 11 +++++++---- t/{30_DDumper.t => 10_DDumper.t} | 0 t/{10_base.t => 30_DDump-s.t} | 0 t/{10_base.t => 31_DDump-s.t} | 0 t/{10_base.t => 40_DDump-h.t} | 0 t/{10_base.t => 41_DDump-h.t} | 0 8 files changed, 12 insertions(+), 5 deletions(-) rename t/{30_DDumper.t => 10_DDumper.t} (100%) copy t/{10_base.t => 30_DDump-s.t} (100%) copy t/{10_base.t => 31_DDump-s.t} (100%) copy t/{10_base.t => 40_DDump-h.t} (100%) rename t/{10_base.t => 41_DDump-h.t} (100%) diff --git a/ChangeLog b/ChangeLog index f32466c..200a6b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-09-25 0.12 - H.Merijn Brand + + * Start writing tests for DDump () + 2008-09-25 0.11 - H.Merijn Brand * PerlIO is only available in 5.8 and up diff --git a/DDumper.pm b/DDumper.pm index 9b59feb..94d0b45 100644 --- a/DDumper.pm +++ b/DDumper.pm @@ -6,7 +6,7 @@ use warnings; use DynaLoader (); use vars qw( $VERSION @ISA @EXPORT ); -$VERSION = "0.11"; +$VERSION = "0.12"; @ISA = qw( DynaLoader Exporter ); @EXPORT = qw( DDumper DPeek DDump ); $] >= 5.007003 and push @EXPORT, "DDump_IO"; diff --git a/MANIFEST b/MANIFEST index 6a55648..179bcfd 100644 --- a/MANIFEST +++ b/MANIFEST @@ -4,11 +4,14 @@ MANIFEST This file DDumper.pm Perl part of the module DDumper.xs C part of the module Makefile.PL Makefile generator -ppport.h -typemap +ppport.h Compatability layer +typemap Define PerlIO for non-PerlIO perl t/00_pod.t Check if pod is valid t/01_pod.t Check if pod covers all -t/10_base.t Base tests (combine and parse only) +t/10_DDumper.t Tests for DDumper () t/20_DPeek.t Tests for DPeek () -t/30_DDumper.t Tests for DDumper () +t/30_DDump-s.t Tests for DDump () returning string using _XS +t/31_DDump-s.t Tests for DDump () returning string using _IO +t/40_DDump-h.t Tests for DDump () returning hash using _XS +t/41_DDump-h.t Tests for DDump () returning hash using _IO examples/ddumper.pl show the use diff --git a/t/30_DDumper.t b/t/10_DDumper.t similarity index 100% rename from t/30_DDumper.t rename to t/10_DDumper.t diff --git a/t/10_base.t b/t/30_DDump-s.t similarity index 100% copy from t/10_base.t copy to t/30_DDump-s.t diff --git a/t/10_base.t b/t/31_DDump-s.t similarity index 100% copy from t/10_base.t copy to t/31_DDump-s.t diff --git a/t/10_base.t b/t/40_DDump-h.t similarity index 100% copy from t/10_base.t copy to t/40_DDump-h.t diff --git a/t/10_base.t b/t/41_DDump-h.t similarity index 100% rename from t/10_base.t rename to t/41_DDump-h.t -- 2.11.4.GIT