Re: $parser->unexpectedly_succeeded;

2006-07-29 Thread Ovid
- Original Message From: Matisse Enzer <[EMAIL PROTECTED]> > > if ( $parser->unexpectedly_succeeded ) { ... } > > > > But "unexpectedly_succeeded", while descriptive, is a terrible > > method name. For the life of me, I can't t

Re: $parser->unexpectedly_succeeded;

2006-07-28 Thread Matisse Enzer
On Jul 26, 2006, at 9:09 AM, Ovid wrote: And for the parser to also track this: if ( $parser->unexpectedly_succeeded ) { ... } But "unexpectedly_succeeded", while descriptive, is a terrible method name. For the life of me, I can't think of a better one whi

Re: $parser->unexpectedly_succeeded;

2006-07-27 Thread Smylers
David Landgren writes: > Ovid wrote: > > > if ( $result->unexpectedly_succeeded ) { ... } > > todo_succeeded That sounds good to me. Smylers

Re: $parser->unexpectedly_succeeded;

2006-07-26 Thread David Landgren
Ovid wrote: Hi all, For the TAPx::Parser, I need a better way of tracking all tests which unexpectedly succeed. The simple way is to have the user accumulate them while the tests are running: while ( my $result = $parser->results ) { if ( $result->is_test && $result->has_todo && $resul

$parser->unexpectedly_succeeded;

2006-07-26 Thread Ovid
nd for the parser to also track this: if ( $parser->unexpectedly_succeeded ) { ... } But "unexpectedly_succeeded", while descriptive, is a terrible method name. For the life of me, I can't think of a better one which is also equally descriptive. Heck, all I've come up wit