Permalink
Commits on Nov 22, 2011
  1. @schwern
  2. @schwern

    Reactivate t/is_deeply_with_threads.t

    It works.  Just spiff it up a little.
    
    For #100
    schwern committed Nov 22, 2011
  3. @schwern

    Fix test counter coordination between threads.

    Beef up t/threads.t to catch it.  Previously each thread was created and immediately joined,
    so they were running sequentially.  This lets them run in parallel and detected the lack
    of locking.
    
    For #100
    schwern committed Nov 22, 2011
  4. @schwern

    Enable t/overload_threads.t. It works.

    For #100
    schwern committed Nov 22, 2011
  5. @schwern
  6. @schwern
  7. @schwern

    Fix up TB2::TestState's can() and isa() emulation to avoid problems d…

    …uring global destruction.
    
    This raises its heads during threading stuff.
    
    For #100
    schwern committed Nov 22, 2011
  8. @schwern

    Add a role TB2::CanThread to take care of threading.

    Threading will be controlled per object so it will be possible to have a test which is
    not thread coordinated even if threads are on.
    
    Sharing things will be the responsibility of the TestState and EventCoordinator.
    A builder should not have to care about threading.
    
    For #100
    schwern committed Nov 20, 2011
  9. @schwern
  10. @schwern

    Absorb TB2::Streamer::TAP into TB2::Streamer::Print.

    This makes it simpler to deal with the threading issues in one place.  It also allows
    others to subclass from ::Print and have the output and error handles they'll likely need.
    
    For #232
    schwern committed Nov 22, 2011
  11. @schwern

    Make TB2::Streamer::Print thread safe.

    For #232
    schwern committed Nov 22, 2011
  12. @schwern
  13. @schwern

    TB2::ThreadSafeFilehandleAccessor provides thread safe filehandle acc…

    …essors.
    
    I hate threads.
    
    For #232
    schwern committed Nov 22, 2011
  14. @schwern

    Move TB2::Streamer tests into their own directory.

    We're going to add more shortly.
    
    For #232
    schwern committed Nov 22, 2011
Commits on Nov 20, 2011
  1. @schwern
  2. @schwern

    Move TB2::Streamer::TAP->stderr into TB2::Streamer::Print.

    Seems like it will be handy for others to use, and they should be able to get it without
    subclassing the TAP streamer.
    
    For #231
    schwern committed Nov 20, 2011
  3. @schwern

    Remove the bits of Test::Builder's own filehandles.

    * A separate todo output handle no longer exists as a concept.  It was never very
      useful and just an extra thing for people to forget to set when changing outputs.
      It is now just a pass through for $builder->output.  Setting it does nothing.
    
    Fix Test::Builder::Tester to not worry about the todo_output.
    
    Plug Test::Builder->reset_outputs into TB2::Formatter->reset_streamer.
    
    The reset_outputs test was changing the outputs as it was storing their originals.
    This messed up because todo_output() is now an alias for output().  It would
    record and change output(), then go to record todo_output() but it was already
    changed by output().  Do the recording and changing separately to avoid confusion.
    
    For #231
    schwern committed Nov 20, 2011
  4. @schwern

    Change Streamer->stdout and stderr to only duplicate STDOUT and STDER…

    …R once.
    
    This prevents mid-term changes to STDOUT and STDERR from being picked up if
    reset_outputs is called.
    
    For #231
    schwern committed Nov 20, 2011
  5. @schwern

    Add TB2::Formatter->reset_streamer

    This will allow Test::Builder->reset_outputs to work.
    
    For #231
    schwern committed Nov 20, 2011
  6. @schwern
  7. @schwern

    Update the Unicode output advice in the Test::More docs.

    * Note that STD* duplication is now delayed
    * But also note that for compatibility you probably want to do it as early as possible
    * Give a complete recipe using "open" rather than binmode.
    
    For #231
    schwern committed Nov 20, 2011
Commits on Nov 19, 2011
  1. @schwern

    Merge pull request #230 from timgimyee/patch-1

    Documentation fixes.  A strangely worded sentence, maybe a typo, and som...
    schwern committed Nov 19, 2011
  2. @timgimyee

    Documentation fixes. A strangely worded sentence, maybe a typo, and s…

    …ome other stuff. But I'm not sure, because there is no obvious diff tool.
    timgimyee committed Nov 19, 2011
  3. @schwern
  4. @schwern

    Unroll and speed up History->_update_statistics

    It would be really sweet if there was an optimized way to increment in Mouse.
    schwern committed Nov 19, 2011
  5. @schwern

    Eliminate the use of method modifiers in History, which are very slow.

    A lot of the type checks are no longer necessary.
    schwern committed Nov 19, 2011
  6. @schwern
  7. @schwern

    Calling try() is expensive, and most of them are coming from load().

    Once we successfully load a module there's no point in trying again.
    schwern committed Nov 19, 2011
  8. @schwern

    Doc typo in TB2::Types

    schwern committed Nov 19, 2011
Commits on Nov 17, 2011
  1. @schwern

    Version 1.005000_001

    schwern committed Nov 17, 2011
  2. @schwern

    Change Test::Simple back to using Test::Builder.

    Test::Builder2 is incomplete.
    schwern committed Nov 17, 2011
  3. @schwern
  4. @schwern

    Add $VERSION to all the TB2 modules.

    For #223
    schwern committed Nov 17, 2011
  5. @schwern
  6. @schwern

    Change Test::Builder2:: to TB2::

    Also any hard coded Test/Builder2/ to TB2/
    
    For #224
    schwern committed Nov 17, 2011