Changeset 459
- Timestamp:
- 07/21/07 09:35:16 (1 year ago)
- Files:
-
- version_0/tests/test_basic.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
version_0/tests/test_basic.rb
r330 r459 45 45 when :extension 46 46 assert_equal( :extension, lt ) 47 when :java 48 assert_equal( :java, lt ) 47 49 else 48 50 assert_equal( :extension, lt ) … … 75 77 #------------------------------------- 76 78 77 # This test throws an already-running exception. WHY?79 # This test once threw an already-running exception. 78 80 module Trivial 79 81 def post_init 80 E entMachine.stop82 EventMachine.stop 81 83 end 82 84 end 83 85 84 86 def test_server 85 #EventMachine.run {86 #EventMachine.start_server "localhost", 9000, Trivial87 #EventMachine.connect "localhost", 900088 #}89 87 EventMachine.run { 88 EventMachine.start_server "localhost", 9000, Trivial 89 EventMachine.connect "localhost", 9000 90 } 91 assert( true ) # make sure it halts 90 92 end 91 93
