Permalink
Browse files

Merge branch 'master' into nested

Conflicts:
	lib/TAP/Parser.pm
  • Loading branch information...
AndyA committed Jun 16, 2009
2 parents c6ad418 + d8f1b76 commit eed5578d7e56277cca4f1e59021cb1a0236a19fe
Showing with 2,975 additions and 402 deletions.
  1. +6 −1 Changes
  2. +16 −0 MANIFEST
  3. +2 −0 MANIFEST.SKIP
  4. +45 −45 META.yml
  5. +1 −1 Makefile.PL
  6. +1 −1 README
  7. +2 −2 lib/App/Prove.pm
  8. +2 −2 lib/App/Prove/State.pm
  9. +2 −2 lib/App/Prove/State/Result.pm
  10. +2 −2 lib/App/Prove/State/Result/Test.pm
  11. +2 −2 lib/TAP/Base.pm
  12. +3 −3 lib/TAP/Formatter/Base.pm
  13. +2 −2 lib/TAP/Formatter/Color.pm
  14. +2 −2 lib/TAP/Formatter/Console.pm
  15. +2 −2 lib/TAP/Formatter/Console/ParallelSession.pm
  16. +2 −2 lib/TAP/Formatter/Console/Session.pm
  17. +2 −2 lib/TAP/Formatter/File.pm
  18. +2 −2 lib/TAP/Formatter/File/Session.pm
  19. +2 −2 lib/TAP/Formatter/Session.pm
  20. +31 −5 lib/TAP/Harness.pm
  21. +408 −0 lib/TAP/Harness/Beyond.pod
  22. +2 −2 lib/TAP/Object.pm
  23. +135 −78 lib/TAP/Parser.pm
  24. +2 −2 lib/TAP/Parser/Aggregator.pm
  25. +2 −2 lib/TAP/Parser/Grammar.pm
  26. +2 −2 lib/TAP/Parser/Iterator.pm
  27. +2 −2 lib/TAP/Parser/Iterator/Array.pm
  28. +2 −2 lib/TAP/Parser/Iterator/Process.pm
  29. +2 −2 lib/TAP/Parser/Iterator/Stream.pm
  30. +3 −3 lib/TAP/Parser/IteratorFactory.pm
  31. +2 −2 lib/TAP/Parser/Multiplexer.pm
  32. +2 −2 lib/TAP/Parser/Result.pm
  33. +2 −2 lib/TAP/Parser/Result/Bailout.pm
  34. +2 −2 lib/TAP/Parser/Result/Comment.pm
  35. +2 −2 lib/TAP/Parser/Result/Plan.pm
  36. +2 −2 lib/TAP/Parser/Result/Pragma.pm
  37. +2 −2 lib/TAP/Parser/Result/Test.pm
  38. +2 −2 lib/TAP/Parser/Result/Unknown.pm
  39. +2 −2 lib/TAP/Parser/Result/Version.pm
  40. +2 −2 lib/TAP/Parser/Result/YAML.pm
  41. +2 −2 lib/TAP/Parser/ResultFactory.pm
  42. +2 −2 lib/TAP/Parser/Scheduler.pm
  43. +2 −2 lib/TAP/Parser/Scheduler/Job.pm
  44. +2 −2 lib/TAP/Parser/Scheduler/Spinner.pm
  45. +212 −69 lib/TAP/Parser/Source.pm
  46. +224 −0 lib/TAP/Parser/Source/Executable.pm
  47. +149 −0 lib/TAP/Parser/Source/File.pm
  48. +137 −0 lib/TAP/Parser/Source/Handle.pm
  49. +65 −21 lib/TAP/Parser/Source/Perl.pm
  50. +144 −0 lib/TAP/Parser/Source/RawTAP.pm
  51. +409 −0 lib/TAP/Parser/SourceFactory.pm
  52. +2 −2 lib/TAP/Parser/Utils.pm
  53. +2 −2 lib/TAP/Parser/YAMLish/Reader.pm
  54. +2 −2 lib/TAP/Parser/YAMLish/Writer.pm
  55. +9 −3 lib/Test/Harness.pm
  56. +18 −0 misc/authors.txt
  57. +14 −0 misc/togit/.perltidyrc
  58. +21 −0 misc/togit/b2t.pl
  59. +7 −0 misc/togit/cvt.sh
  60. +36 −0 misc/togit/impt.sh
  61. +239 −0 misc/togit/svn-reloc.pl
  62. +0 −6 smoke/config.surly
  63. +7 −2 t/000-load.t
  64. +38 −0 t/compat/subclass.t
  65. +67 −7 t/harness.t
  66. +25 −0 t/lib/MyFileSource.pm
  67. +16 −0 t/lib/MyPerlSource.pm
  68. +30 −3 t/lib/MySource.pm
  69. +10 −0 t/lib/TAP/Harness/TestSubclass.pm
  70. +10 −7 t/lib/TAP/Parser/SubclassTest.pm
  71. +1 −1 t/multiplexer.t
  72. +7 −8 t/parse.t
  73. +7 −6 t/parser-subclass.t
  74. +4 −2 t/perl5lib.t
  75. +3 −1 t/prove.t
  76. +157 −57 t/source.t
  77. +164 −0 t/source_factory.t
  78. +2 −0 t/source_tests/source.1
  79. +3 −0 t/source_tests/source.bat
  80. +6 −0 t/source_tests/source.pl
  81. +3 −0 t/source_tests/source.sh
  82. +6 −0 t/source_tests/source.t
  83. +2 −0 t/source_tests/source.tap
View
@@ -1,6 +1,8 @@
Revision history for Test-Harness
-3.17
+ - Added HARNESS_SUBCLASS option to Test::Harness
+
+3.17 2009-05-05
- Changed the 'failures' so that it is overridden by verbosity rather
than the other way around.
- Added the 'comments' option, most useful when used in conjunction
@@ -9,6 +11,9 @@ Revision history for Test-Harness
- Allow '-I lib' as well as '-Ilib' in $Test::Harness::Switches
(regression).
- Restore old skip parsing semantics for TAP < v13. Refs #39031.
+ - Numerous small documentation fixes.
+ - Remove support for fork-based parallel testing. Multiplexed
+ parallel testing remains.
3.16 2009-02-19
- Fix path splicing on platforms where the path separator
View
@@ -30,6 +30,7 @@ lib/TAP/Formatter/File.pm
lib/TAP/Formatter/File/Session.pm
lib/TAP/Formatter/Session.pm
lib/TAP/Harness.pm
+lib/TAP/Harness/Beyond.pod
lib/TAP/Object.pm
lib/TAP/Parser.pm
lib/TAP/Parser/Aggregator.pm
@@ -56,7 +57,12 @@ lib/TAP/Parser/Scheduler.pm
lib/TAP/Parser/Scheduler/Job.pm
lib/TAP/Parser/Scheduler/Spinner.pm
lib/TAP/Parser/Source.pm
+lib/TAP/Parser/Source/Executable.pm
+lib/TAP/Parser/Source/File.pm
+lib/TAP/Parser/Source/Handle.pm
lib/TAP/Parser/Source/Perl.pm
+lib/TAP/Parser/Source/RawTAP.pm
+lib/TAP/Parser/SourceFactory.pm
lib/TAP/Parser/Utils.pm
lib/TAP/Parser/YAMLish/Reader.pm
lib/TAP/Parser/YAMLish/Writer.pm
@@ -77,6 +83,7 @@ t/compat/inc-propagation.t
t/compat/inc_taint.t
t/compat/nonumbers.t
t/compat/regression.t
+t/compat/subclass.t
t/compat/switches.t
t/compat/test-harness-compat.t
t/compat/version.t
@@ -99,6 +106,7 @@ t/lib/EmptyParser.pm
t/lib/if.pm
t/lib/IO/c55Capture.pm
t/lib/MyCustom.pm
+t/lib/MyFileSource.pm
t/lib/MyGrammar.pm
t/lib/MyIterator.pm
t/lib/MyIteratorFactory.pm
@@ -108,6 +116,7 @@ t/lib/MyResultFactory.pm
t/lib/MySource.pm
t/lib/NoFork.pm
t/lib/NOP.pm
+t/lib/TAP/Harness/TestSubclass.pm
t/lib/TAP/Parser/SubclassTest.pm
t/lib/Test/Builder.pm
t/lib/Test/Builder/Module.pm
@@ -188,12 +197,19 @@ t/sample-tests/with_comments
t/sample-tests/zero_valid
t/scheduler.t
t/source.t
+t/source_factory.t
t/source_tests/harness
t/source_tests/harness_badtap
t/source_tests/harness_complain
t/source_tests/harness_directives
t/source_tests/harness_failure
t/source_tests/source
+t/source_tests/source.1
+t/source_tests/source.bat
+t/source_tests/source.pl
+t/source_tests/source.sh
+t/source_tests/source.t
+t/source_tests/source.tap
t/spool.t
t/state.t
t/state_results.t
View
@@ -1,7 +1,9 @@
\.tmproj$
\.tar\.gz$
\B\.svn\b
+\B\.git\b
^\.cvsignore
+^\.gitignore
\..*\.swp
\..*\.swo
^_build/
View
@@ -1,6 +1,6 @@
---
name: Test-Harness
-version: 3.17
+version: 3.18
author:
- 'Andy Armstrong C<< <andy@hexten.net> >>'
@@ -19,134 +19,134 @@ recommends:
provides:
App::Prove:
file: lib/App/Prove.pm
- version: 3.16
+ version: 3.17
App::Prove::State:
file: lib/App/Prove/State.pm
- version: 3.16
+ version: 3.17
App::Prove::State::Result:
file: lib/App/Prove/State/Result.pm
- version: 3.16
+ version: 3.17
App::Prove::State::Result::Test:
file: lib/App/Prove/State/Result/Test.pm
- version: 3.16
+ version: 3.17
TAP::Base:
file: lib/TAP/Base.pm
- version: 3.16
+ version: 3.17
TAP::Formatter::Base:
file: lib/TAP/Formatter/Base.pm
- version: 3.16
+ version: 3.17
TAP::Formatter::Color:
file: lib/TAP/Formatter/Color.pm
- version: 3.16
+ version: 3.17
TAP::Formatter::Console:
file: lib/TAP/Formatter/Console.pm
- version: 3.16
+ version: 3.17
TAP::Formatter::Console::ParallelSession:
file: lib/TAP/Formatter/Console/ParallelSession.pm
- version: 3.16
+ version: 3.17
TAP::Formatter::Console::Session:
file: lib/TAP/Formatter/Console/Session.pm
- version: 3.16
+ version: 3.17
TAP::Formatter::File:
file: lib/TAP/Formatter/File.pm
- version: 3.16
+ version: 3.17
TAP::Formatter::File::Session:
file: lib/TAP/Formatter/File/Session.pm
- version: 3.16
+ version: 3.17
TAP::Formatter::Session:
file: lib/TAP/Formatter/Session.pm
- version: 3.16
+ version: 3.17
TAP::Harness:
file: lib/TAP/Harness.pm
- version: 3.16
+ version: 3.17
TAP::Object:
file: lib/TAP/Object.pm
- version: 3.16
+ version: 3.17
TAP::Parser:
file: lib/TAP/Parser.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Aggregator:
file: lib/TAP/Parser/Aggregator.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Grammar:
file: lib/TAP/Parser/Grammar.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Iterator:
file: lib/TAP/Parser/Iterator.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Iterator::Array:
file: lib/TAP/Parser/Iterator/Array.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Iterator::Process:
file: lib/TAP/Parser/Iterator/Process.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Iterator::Stream:
file: lib/TAP/Parser/Iterator/Stream.pm
- version: 3.16
+ version: 3.17
TAP::Parser::IteratorFactory:
file: lib/TAP/Parser/IteratorFactory.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Multiplexer:
file: lib/TAP/Parser/Multiplexer.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result:
file: lib/TAP/Parser/Result.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result::Bailout:
file: lib/TAP/Parser/Result/Bailout.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result::Comment:
file: lib/TAP/Parser/Result/Comment.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result::Plan:
file: lib/TAP/Parser/Result/Plan.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result::Pragma:
file: lib/TAP/Parser/Result/Pragma.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result::Test:
file: lib/TAP/Parser/Result/Test.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result::Unknown:
file: lib/TAP/Parser/Result/Unknown.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result::Version:
file: lib/TAP/Parser/Result/Version.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Result::YAML:
file: lib/TAP/Parser/Result/YAML.pm
- version: 3.16
+ version: 3.17
TAP::Parser::ResultFactory:
file: lib/TAP/Parser/ResultFactory.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Scheduler:
file: lib/TAP/Parser/Scheduler.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Scheduler::Job:
file: lib/TAP/Parser/Scheduler/Job.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Scheduler::Spinner:
file: lib/TAP/Parser/Scheduler/Spinner.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Source:
file: lib/TAP/Parser/Source.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Source::Perl:
file: lib/TAP/Parser/Source/Perl.pm
- version: 3.16
+ version: 3.17
TAP::Parser::Utils:
file: lib/TAP/Parser/Utils.pm
- version: 3.16
+ version: 3.17
TAP::Parser::YAMLish::Reader:
file: lib/TAP/Parser/YAMLish/Reader.pm
- version: 3.16
+ version: 3.17
TAP::Parser::YAMLish::Writer:
file: lib/TAP/Parser/YAMLish/Writer.pm
- version: 3.16
+ version: 3.17
Test::Harness:
file: lib/Test/Harness.pm
- version: 3.16
-generated_by: Module::Build version 0.3
+ version: 3.17
+generated_by: Module::Build version 0.32
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
View
@@ -19,7 +19,7 @@ my %mm_args = (
'PL_FILES' => {},
'test' => { 'TESTS' => 't/*.t t/compat/*.t' },
- # The core autogenerates a Makefile.PL, and finds prove with utils/prove.PL
+ # The core autogenerates a Makefile.PL, and finds prove with utils/prove.PL
'EXE_FILES' => ['bin/prove'],
);
View
2 README
@@ -1,4 +1,4 @@
-Test-Harness 3.17
+Test-Harness 3.18
INSTALLATION
View
@@ -17,11 +17,11 @@ App::Prove - Implements the C<prove> command.
=head1 VERSION
-Version 3.17
+Version 3.18
=cut
-$VERSION = '3.17';
+$VERSION = '3.18';
=head1 DESCRIPTION
View
@@ -26,11 +26,11 @@ App::Prove::State - State storage for the C<prove> command.
=head1 VERSION
-Version 3.17
+Version 3.18
=cut
-$VERSION = '3.17';
+$VERSION = '3.18';
=head1 DESCRIPTION
@@ -14,11 +14,11 @@ App::Prove::State::Result - Individual test suite results.
=head1 VERSION
-Version 3.17
+Version 3.18
=cut
-$VERSION = '3.17';
+$VERSION = '3.18';
=head1 DESCRIPTION
@@ -10,11 +10,11 @@ App::Prove::State::Result::Test - Individual test results.
=head1 VERSION
-Version 3.17
+Version 3.18
=cut
-$VERSION = '3.17';
+$VERSION = '3.18';
=head1 DESCRIPTION
View
@@ -14,11 +14,11 @@ and L<TAP::Harness>
=head1 VERSION
-Version 3.17
+Version 3.18
=cut
-$VERSION = '3.17';
+$VERSION = '3.18';
use constant GOT_TIME_HIRES => do {
eval 'use Time::HiRes qw(time);';
@@ -43,15 +43,15 @@ BEGIN {
=head1 NAME
-TAP::Formatter::Console - Harness output delegate for default console output
+TAP::Formatter::Base - Base class for harness output delegates
=head1 VERSION
-Version 3.17
+Version 3.18
=cut
-$VERSION = '3.17';
+$VERSION = '3.18';
=head1 DESCRIPTION
@@ -71,11 +71,11 @@ TAP::Formatter::Color - Run Perl test scripts with color
=head1 VERSION
-Version 3.17
+Version 3.18
=cut
-$VERSION = '3.17';
+$VERSION = '3.18';
=head1 DESCRIPTION
Oops, something went wrong.

0 comments on commit eed5578

Please sign in to comment.