Changeset 459

Show
Ignore:
Timestamp:
07/21/07 09:35:16 (1 year ago)
Author:
blackhedd
Message:

Restored a test case that had been broken.

Files:

Legend:

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

    r330 r459  
    4545    when :extension 
    4646      assert_equal( :extension, lt ) 
     47    when :java 
     48      assert_equal( :java, lt ) 
    4749    else 
    4850      assert_equal( :extension, lt ) 
     
    7577  #------------------------------------- 
    7678 
    77   # This test throws an already-running exception. WHY? 
     79  # This test once threw an already-running exception. 
    7880  module Trivial 
    7981    def post_init 
    80       EentMachine.stop 
     82      EventMachine.stop 
    8183    end 
    8284  end 
    8385 
    8486  def test_server 
    85     #EventMachine.run { 
    86     #  EventMachine.start_server "localhost", 9000, Trivial 
    87     #  EventMachine.connect "localhost", 9000 
    88     #
    89  
     87    EventMachine.run { 
     88      EventMachine.start_server "localhost", 9000, Trivial 
     89      EventMachine.connect "localhost", 9000 
     90   
     91    assert( true ) # make sure it halts 
    9092  end 
    9193