List Info

Thread: test/unit doesn't rescue a Exception




test/unit doesn't rescue a Exception
user name
2006-09-04 02:27:33
On Sep 3, 2006, at 12:59 PM, Yukihiro Matsumoto wrote:

> In message "Re: test/unit doesn't rescue a
Exception"
>     on Mon, 4 Sep 2006 04:10:35 +0900, Eric Hodel  
> <drbrainsegment7.net> writes:
>
> |> -        rescue StandardError, ScriptError
> |> +        rescue Exception
> |> +          raise if [NoMemoryError,
SignalException, Interrupt,
> |> SystemExit].include? $!.class
> |>            add_error($!)
> |>          ensure
> |>            begin
> |
> |I think the same code should be added to the teardown
rescue.
>
> Eric, can you commit?  Or should we wait for Nathaniel?

If Nathaniel doesn't approve/commit by Wednesday I will
complete the  
patch and commit.  It is a holiday weekend (Labor Day) here
so he  
might be away from the internet.

-- 
Eric Hodel - drbrainsegment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotco
op.com



test/unit doesn't rescue a Exception
user name
2006-09-05 13:19:45
On 9/3/06, Eric Hodel <drbrainsegment7.net> wrote:

> If Nathaniel doesn't approve/commit by Wednesday I
will complete the
> patch and commit.  It is a holiday weekend (Labor Day)
here so he
> might be away from the internet.

I approve - go for it.


-- 
Nathaniel Talbott

<:((><

test/unit doesn't rescue a Exception
user name
2006-09-09 05:15:43
On Sep 5, 2006, at 6:19 AM, Nathaniel Talbott wrote:
> On 9/3/06, Eric Hodel <drbrainsegment7.net> wrote:
>> If Nathaniel doesn't approve/commit by Wednesday I
will complete the
>> patch and commit.  It is a holiday weekend (Labor
Day) here so he
>> might be away from the internet.
>
> I approve - go for it.

Committed.

-- 
Eric Hodel - drbrainsegment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotco
op.com



[1-10] [11-13]

about | contact  Other archives ( Real Estate discussion Medical topics )