# File test/test_logger.rb, line 693 def test_write_log @send_size = 65536 @access_log.write_log(@request, @response, @curr_time) # CLF: %h %l %u %t "%r" %s %b assert_equal(1, @client_name_call) # %h # unsupported: %l # unsupported: %u # @curr_time: %t assert_equal(1, @line_call) # %r assert_equal(1, @status_call) # %s assert_equal(1, @send_size_call) # %b assert_equal(1, @write_call) assert_equal("client - - Fri, 19 Nov 2004 01:13:25 GMT \"GET /foo/bar HTTP/1.1\" 200 65536\n", @write_data) assert_equal(1, @flush_call) end