r11439 - in /trunk/libtest-mockobject-perl: Changes META.yml Makefile.PL README debian/changelog lib/Test/MockObject.pm lib/Test/MockObject/Extends.pm t/extends-bugs.t t/isa.t
hanska-guest at users.alioth.debian.org
hanska-guest at users.alioth.debian.org
Thu Dec 20 09:42:44 UTC 2007
Author: hanska-guest
Date: Thu Dec 20 09:42:44 2007
New Revision: 11439
URL: http://svn.debian.org/wsvn/?sc=1&rev=11439
Log:
* New upstream release
Modified:
trunk/libtest-mockobject-perl/Changes
trunk/libtest-mockobject-perl/META.yml
trunk/libtest-mockobject-perl/Makefile.PL
trunk/libtest-mockobject-perl/README
trunk/libtest-mockobject-perl/debian/changelog
trunk/libtest-mockobject-perl/lib/Test/MockObject.pm
trunk/libtest-mockobject-perl/lib/Test/MockObject/Extends.pm
trunk/libtest-mockobject-perl/t/extends-bugs.t
trunk/libtest-mockobject-perl/t/isa.t
Modified: trunk/libtest-mockobject-perl/Changes
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/Changes?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/Changes (original)
+++ trunk/libtest-mockobject-perl/Changes Thu Dec 20 09:42:44 2007
@@ -1,4 +1,9 @@
Revision history for Perl extension Test::MockObject.
+
+1.08
+ Fri Jun 29 01:36:24 UTC 2007 (chromatic)
+ - removed noisy diag() calls from successful tests (RT #19444, Adam Kennedy)
+ - removed some magic from the @ISA assignment to work with 5.9.5 (Andreas Koenig)
1.07
Thu Oct 5 05:46:04 UTC 2006 (chromatic)
Modified: trunk/libtest-mockobject-perl/META.yml
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/META.yml?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/META.yml (original)
+++ trunk/libtest-mockobject-perl/META.yml Thu Dec 20 09:42:44 2007
@@ -1,6 +1,6 @@
---
name: Test-MockObject
-version: 1.07
+version: 1.08
author: []
abstract: Perl extension for emulating troublesome interfaces
license: perl
@@ -17,11 +17,11 @@
provides:
Test::MockObject:
file: lib/Test/MockObject.pm
- version: 1.07
+ version: 1.08
Test::MockObject::Extends:
file: lib/Test/MockObject/Extends.pm
- version: 1.07
-generated_by: Module::Build version 0.2801
+ version: 1.08
+generated_by: Module::Build version 0.2808
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
Modified: trunk/libtest-mockobject-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/Makefile.PL?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/Makefile.PL (original)
+++ trunk/libtest-mockobject-perl/Makefile.PL Thu Dec 20 09:42:44 2007
@@ -2,17 +2,17 @@
use ExtUtils::MakeMaker;
WriteMakefile
(
+ 'PL_FILES' => {},
+ 'INSTALLDIRS' => 'site',
'NAME' => 'Test::MockObject',
+ 'EXE_FILES' => [],
'VERSION_FROM' => 'lib/Test/MockObject.pm',
'PREREQ_PM' => {
'Scalar::Util' => '1.1.4',
'Test::Exception' => '',
- 'Test::Simple' => '0.47',
+ 'UNIVERSAL::isa' => '0.06',
'UNIVERSAL::can' => '1.11',
- 'UNIVERSAL::isa' => '0.06'
- },
- 'INSTALLDIRS' => 'site',
- 'EXE_FILES' => [],
- 'PL_FILES' => {}
+ 'Test::Simple' => '0.47'
+ }
)
;
Modified: trunk/libtest-mockobject-perl/README
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/README?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/README (original)
+++ trunk/libtest-mockobject-perl/README Thu Dec 20 09:42:44 2007
@@ -1,12 +1,15 @@
-Test::MockObject version 1.07
+Test::MockObject version 1.08
=============================
* NOTES *
Because you can break this module very badly by using the isa() and can()
-methods as if they were functions, version 1.01 uses the UNIVERSAL::isa and
-UNIVERSAL::can modules. They'll do the right thing but complain about it so
-that you can fix the offending code. These require Perl 5.6.0 or better.
+methods as if they were functions, version 1.01 started to use the
+UNIVERSAL::isa and UNIVERSAL::can modules. They'll do the right thing but
+complain about it so that you can fix the offending code. These require Perl
+5.6.0 or better.
+
+Newer versions of those modules will complain less; see 1.20 of each.
If you want to run all of the tests (including the developer tests that check
the signature and POD coverage), set the environment variable
@@ -75,6 +78,6 @@
COPYRIGHT AND LICENCE
-Copyright (c) 2002 - 2006 chromatic. All rights reserved. This program is free
+Copyright (c) 2002 - 2007 chromatic. All rights reserved. This program is free
software; you can redistribute it and/or modify it under the same terms as Perl
itself.
Modified: trunk/libtest-mockobject-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/debian/changelog?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/debian/changelog (original)
+++ trunk/libtest-mockobject-perl/debian/changelog Thu Dec 20 09:42:44 2007
@@ -1,11 +1,15 @@
-libtest-mockobject-perl (1.07-2) UNRELEASED; urgency=low
+libtest-mockobject-perl (1.08-1) UNRELEASED; urgency=low
+ [ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza); Homepage field (source stanza).
* Set Maintainer to Debian Perl Group.
* Use dist-based URL in debian/watch.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sat, 01 Dec 2007 18:55:21 +0100
+ [ David Paleino ]
+ * New upstream release
+
+ -- David Paleino <d.paleino at gmail.com> Thu, 20 Dec 2007 10:42:01 +0100
libtest-mockobject-perl (1.07-1) unstable; urgency=low
Modified: trunk/libtest-mockobject-perl/lib/Test/MockObject.pm
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/lib/Test/MockObject.pm?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/lib/Test/MockObject.pm (original)
+++ trunk/libtest-mockobject-perl/lib/Test/MockObject.pm Thu Dec 20 09:42:44 2007
@@ -4,7 +4,7 @@
use warnings;
use vars qw( $VERSION $AUTOLOAD );
-$VERSION = '1.07';
+$VERSION = '1.08';
use Scalar::Util qw( blessed refaddr reftype weaken );
use UNIVERSAL::isa;
Modified: trunk/libtest-mockobject-perl/lib/Test/MockObject/Extends.pm
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/lib/Test/MockObject/Extends.pm?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/lib/Test/MockObject/Extends.pm (original)
+++ trunk/libtest-mockobject-perl/lib/Test/MockObject/Extends.pm Thu Dec 20 09:42:44 2007
@@ -9,7 +9,7 @@
use Scalar::Util 'blessed';
use vars qw( $VERSION $AUTOLOAD );
-$VERSION = '1.07';
+$VERSION = '1.08';
sub new
{
@@ -54,7 +54,7 @@
no strict 'refs';
*{ $package . '::mock' } = \&mock;
*{ $package . '::unmock' } = \&unmock;
- *{ $package . '::ISA' } = [ $parent ];
+ @{ $package . '::ISA' } = ( $parent );
*{ $package . '::can' } = $class->gen_can( $parent );
*{ $package . '::isa' } = $class->gen_isa( $parent );
*{ $package . '::AUTOLOAD' } = $class->gen_autoload( $parent );
Modified: trunk/libtest-mockobject-perl/t/extends-bugs.t
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/t/extends-bugs.t?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/t/extends-bugs.t (original)
+++ trunk/libtest-mockobject-perl/t/extends-bugs.t Thu Dec 20 09:42:44 2007
@@ -9,14 +9,14 @@
my $module = 'Test::MockObject::Extends';
use_ok( $module ) or exit;
-diag( 'RT #17692 - cannot mock inline package without new()' );
+# RT #17692 - cannot mock inline package without new()
{ package InlinePackageNoNew; sub foo; }
lives_ok { Test::MockObject::Extends->new( 'InlinePackageNoNew' ) }
'Mocking a package defined inline should not load anything';
-diag( 'RT #15446 - isa() ignores type of blessed reference' );
+# RT #15446 - isa() ignores type of blessed reference
# fake that Foo is loaded
$INC{'Foo.pm'} = './Foo.pm';
@@ -40,7 +40,7 @@
ok( UNIVERSAL::isa( $obj, 'HASH' ),
"...also if UNIVERSAL::isa() is called as a function" );
-diag( 'RT #14445 - inherited AUTOLOAD does not work correctly' );
+# RT #14445 - inherited AUTOLOAD does not work correctly
CLASS:
{
Modified: trunk/libtest-mockobject-perl/t/isa.t
URL: http://svn.debian.org/wsvn/trunk/libtest-mockobject-perl/t/isa.t?rev=11439&op=diff
==============================================================================
--- trunk/libtest-mockobject-perl/t/isa.t (original)
+++ trunk/libtest-mockobject-perl/t/isa.t Thu Dec 20 09:42:44 2007
@@ -10,18 +10,18 @@
can_ok( $mock, 'set_isa' );
-diag( 'set_isa() should make isa() report true for the given parents' );
+# set_isa() should make isa() report true for the given parents
$mock->set_isa( 'CGI', 'Apache::Request', 'Apache' );
isa_ok( $mock, 'CGI' );
isa_ok( $mock, 'Apache' );
-diag( '... it should be able to add parents' );
+# ... it should be able to add parents
$mock->set_isa( 'Something' );
isa_ok( $mock, 'Something' );
-diag( '... without overwriting previous parents' );
+# ... without overwriting previous parents
isa_ok( $mock, 'Apache::Request' );
-diag( '... or reporting true for everything' );
+# ... or reporting true for everything
ok( ! $mock->isa( 'Fail' ), '... this is not a "Fail" object' );
More information about the Pkg-perl-cvs-commits
mailing list