def test_logging_error
@params['type'] = 'logging'
@params['id'] = '1'
@setup_logging_error_list = [ nil, @logging_error_sample ]
init_ServerErrorInfo
assert_equal(1, @setup_logging_errors_call)
assert_equal(false, @ServerErrorInfo.load_error?)
assert_equal(true, @ServerErrorInfo.logging_error?)
assert_equal(false, @ServerErrorInfo.alias_error?)
assert_equal(false, @ServerErrorInfo.document_error?)
assert_equal(false, @ServerErrorInfo.filter_error?)
assert_equal('foo', @ServerErrorInfo.error_message)
assert_equal(1, @error_message_call)
assert_equal(:TestErrorType, @ServerErrorInfo.error_type)
assert_equal(1, @error_type_call)
assert_equal(Time.mktime(2005, 2, 3, 0, 57, 13), @ServerErrorInfo.timestamp)
assert_equal(1, @timestamp_call)
assert_equal([ 'foo', 'bar' ], @ServerErrorInfo.backtrace)
assert_equal(1, @backtrace_call)
assert_equal('foo.log', @ServerErrorInfo.log_path)
assert_equal(1, @log_path_call)
end