Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add corrected moose_basic test with golden results.

  • Loading branch information...
commit 4454bf7921c7a5217b1066f9a7118c5586ae6a88 1 parent a306074
@pjcj authored
View
49 test_output/cover/moose_basic.5.010000
@@ -0,0 +1,49 @@
+Use of uninitialized value $Devel::Cover::Moose_filenames in regexp compilation at /home/pjcj/g/perl/Devel--Cover/blib/lib/Devel/Cover/DB.pm line 882.
+Use of uninitialized value $Devel::Cover::Moose_filenames in regexp compilation at /home/pjcj/g/perl/Devel--Cover/blib/lib/Devel/Cover/DB.pm line 882.
+Reading database from ...
+
+
+------------------------------------------ ------ ------ ------ ------ ------
+File stmt bran cond sub total
+------------------------------------------ ------ ------ ------ ------ ------
+tests/moose_basic 100.0 n/a n/a 100.0 100.0
+Total 100.0 n/a n/a 100.0 100.0
+------------------------------------------ ------ ------ ------ ------ ------
+
+
+Run: ...
+Perl version: ...
+OS: ...
+Start: ...
+Finish: ...
+
+tests/moose_basic
+
+line err stmt bran cond sub code
+1 #!/usr/bin/perl
+2
+3 # Copyright 2011, Paul Johnson (pjcj@cpan.org)
+4
+5 # This software is free. It is licensed under the same terms as Perl itself.
+6
+7 # The latest version of this software should be available from my homepage:
+8 # http://www.pjcj.net
+9
+10 # __COVER__ skip_test $] < 5.010 || !(eval "use Moose; 23")
+11 # __COVER__ skip_reason Moose not available or unreliable with Devel::Cover
+12
+13 package Foo;
+14 1 1 use Moose;
+ 1
+ 1
+15 1 __PACKAGE__->meta->make_immutable;
+
+
+Covered Subroutines
+-------------------
+
+Subroutine Count Location
+---------- ----- --------------------
+BEGIN 1 tests/moose_basic:14
+
+
View
47 test_output/cover/moose_basic.5.012001
@@ -0,0 +1,47 @@
+Reading database from ...
+
+
+------------------------------------------ ------ ------ ------ ------ ------
+File stmt bran cond sub total
+------------------------------------------ ------ ------ ------ ------ ------
+tests/moose_basic 100.0 n/a n/a 100.0 100.0
+Total 100.0 n/a n/a 100.0 100.0
+------------------------------------------ ------ ------ ------ ------ ------
+
+
+Run: ...
+Perl version: ...
+OS: ...
+Start: ...
+Finish: ...
+
+tests/moose_basic
+
+line err stmt bran cond sub code
+1 #!/usr/bin/perl
+2
+3 # Copyright 2011, Paul Johnson (pjcj@cpan.org)
+4
+5 # This software is free. It is licensed under the same terms as Perl itself.
+6
+7 # The latest version of this software should be available from my homepage:
+8 # http://www.pjcj.net
+9
+10 # __COVER__ skip_test $] < 5.010 || !(eval "use Moose; 23")
+11 # __COVER__ skip_reason Moose not available or unreliable with Devel::Cover
+12
+13 package Foo;
+14 1 1 use Moose;
+ 1
+ 1
+15 1 __PACKAGE__->meta->make_immutable;
+
+
+Covered Subroutines
+-------------------
+
+Subroutine Count Location
+---------- ----- --------------------
+BEGIN 1 tests/moose_basic:14
+
+
View
49 test_output/cover/moose_basic.5.012002
@@ -0,0 +1,49 @@
+Use of uninitialized value $Devel::Cover::Moose_filenames in regexp compilation at /home/pjcj/g/perl/Devel--Cover/blib/lib/Devel/Cover/DB.pm line 882.
+Use of uninitialized value $Devel::Cover::Moose_filenames in regexp compilation at /home/pjcj/g/perl/Devel--Cover/blib/lib/Devel/Cover/DB.pm line 882.
+Reading database from ...
+
+
+------------------------------------------ ------ ------ ------ ------ ------
+File stmt bran cond sub total
+------------------------------------------ ------ ------ ------ ------ ------
+tests/moose_basic 100.0 n/a n/a 100.0 100.0
+Total 100.0 n/a n/a 100.0 100.0
+------------------------------------------ ------ ------ ------ ------ ------
+
+
+Run: ...
+Perl version: ...
+OS: ...
+Start: ...
+Finish: ...
+
+tests/moose_basic
+
+line err stmt bran cond sub code
+1 #!/usr/bin/perl
+2
+3 # Copyright 2011, Paul Johnson (pjcj@cpan.org)
+4
+5 # This software is free. It is licensed under the same terms as Perl itself.
+6
+7 # The latest version of this software should be available from my homepage:
+8 # http://www.pjcj.net
+9
+10 # __COVER__ skip_test $] < 5.010 || !(eval "use Moose; 23")
+11 # __COVER__ skip_reason Moose not available or unreliable with Devel::Cover
+12
+13 package Foo;
+14 1 1 use Moose;
+ 1
+ 1
+15 1 __PACKAGE__->meta->make_immutable;
+
+
+Covered Subroutines
+-------------------
+
+Subroutine Count Location
+---------- ----- --------------------
+BEGIN 1 tests/moose_basic:14
+
+
View
4 test_output/cover/moose_basic.5.014000
@@ -28,8 +28,8 @@ line err stmt bran cond sub code
7 # The latest version of this software should be available from my homepage:
8 # http://www.pjcj.net
9
-10 # __COVER__ skip_test !(eval "use Moose; 23")
-11 # __COVER__ skip_reason Moose not available
+10 # __COVER__ skip_test $] < 5.010 || !(eval "use Moose; 23")
+11 # __COVER__ skip_reason Moose not available or unreliable with Devel::Cover
12
13 package Foo;
14 1 1 use Moose;
View
0  test_output/cover/moose_basic.5.014001
No changes.
View
4 tests/moose_basic
@@ -7,8 +7,8 @@
# The latest version of this software should be available from my homepage:
# http://www.pjcj.net
-# __COVER__ skip_test !(eval "use Moose; 23")
-# __COVER__ skip_reason Moose not available
+# __COVER__ skip_test $] < 5.010 || !(eval "use Moose; 23")
+# __COVER__ skip_reason Moose not available or unreliable with Devel::Cover
package Foo;
use Moose;
Please sign in to comment.
Something went wrong with that request. Please try again.