public
Fork of eventmachine/eventmachine
Description: EventMachine - Sync from svn repo at rubyeventmachine.com
Homepage: http://www.rubyeventmachine.com
Clone URL: git://github.com/tmm1/eventmachine.git
Fixed fastfilereaderext tests for CI

git-svn-id: http://rubyeventmachine.com/svn/trunk@796 
2c60eb90-88cd-488e-9351-1edcb1d70dbc
raggi (author)
Mon Oct 06 16:50:56 -0700 2008
commit  0673d7b1e55e698cf3f97161c15bb41516f4213b
tree    36ea6002a54b678ea23ad69ffb58d8e175ffbb78
parent  ef8cc937fa5a1e697b6a4cb11da8adc7ebba3365
...
185
186
187
 
 
 
 
 
 
188
189
190
...
205
206
207
 
 
 
 
 
 
208
209
210
...
185
186
187
188
189
190
191
192
193
194
195
196
...
211
212
213
214
215
216
217
218
219
220
221
222
0
@@ -185,6 +185,12 @@ class TestSendFile < Test::Unit::TestCase
0
   end
0
 
0
   def test_stream_large_file_data
0
+ begin
0
+ require 'fastfilereaderext'
0
+ rescue LoadError
0
+ $stderr.puts "no fastfilereaderext, not running test_stream_large_file_data"
0
+ return
0
+ end
0
     File.open( TestFilename, "w" ) {|f|
0
       f << ("A" * 10000)
0
     }
0
@@ -205,6 +211,12 @@ class TestSendFile < Test::Unit::TestCase
0
   end
0
 
0
   def test_stream_large_chunked_file_data
0
+ begin
0
+ require 'fastfilereaderext'
0
+ rescue LoadError
0
+ $stderr.puts "no fastfilereaderext, not running test_stream_large_chunked_file_data"
0
+ return
0
+ end
0
     File.open( TestFilename, "w" ) {|f|
0
       f << ("A" * 100000)
0
     }

Comments

    No one has commented yet.