Changeset 624

Show
Ignore:
Timestamp:
12/27/07 15:40:13 (11 months ago)
Author:
blackhedd
Message:

removed the error-hook tests. This feature is now obsolete.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/tests/test_errors.rb

    r564 r624  
    2525# 
    2626 
     27 
     28###### THIS TEST IS NOW OBSOLETE. 
     29###### As of 27Dec07, the hookable error handling is obsolete because 
     30###### of its performance impact. 
     31 
     32 
    2733$:.unshift "../lib" 
    2834require 'eventmachine' 
     
    4349        end 
    4450 
     51        def test_a 
     52        end 
     53 
    4554        # EM has a default handler for RuntimeErrors that are emitted from 
    4655        # user written code. You can override the handler if you wish, but it's 
     
    4958        # run. 
    5059        # 
    51         def test_unhandled_error 
     60        def obsolete_test_unhandled_error 
    5261                assert_raise( RuntimeError ) { 
    5362                        EM.run { 
     
    5867        end 
    5968 
    60         def test_handled_error 
     69        def obsolete_test_handled_error 
    6170                err = nil 
    6271                EM.run {