Class
TestRucy::TestLocalFileDocument
In:
test/test_local.rb
Parent:
RUNIT::TestCase
Methods
setup
teardown
test_GET_html_200_OK
test_GET_if_modified_since_200_OK
test_GET_if_modified_since_304_Not_Modified
test_GET_if_range_200_OK
test_GET_if_range_206_Partial_Content
test_GET_if_unmodified_since_200_OK
test_GET_if_unmodified_since_412_Precondition_Failed
test_GET_illegal_path_403_Forbidden
test_GET_nothing_404_Not_Found
test_GET_range_200_OK
test_GET_range_206_Partial_Content
test_GET_range_416_Requested_Range_Not_Satisfiable
test_GET_range_if_modified_since_206_Partial_Content
test_GET_range_if_modified_since_304_Not_Modified
test_GET_range_if_unmodified_since_206_Partial_Content
test_GET_range_if_unmodified_since_412_Precondition_Failed
test_GET_root_200_OK
test_GET_subdir_200_OK
test_GET_subdir_301_Moved_Permanently
test_GET_subdir_file_200_OK
test_HEAD_html_200_OK
test_HEAD_root_200_OK
test_POST_html_405_Method_Not_Allowed
test_POST_root_405_Method_Not_Allowed
Included Modules
PseudoLogger
PseudoRequestResponse
Constants
HTML
=
"<html>Hello world.</html>\n"
DATA
=
'0123456789'
Public Instance methods
setup
()
teardown
()
test_GET_html_200_OK
()
test_GET_if_modified_since_200_OK
()
test_GET_if_modified_since_304_Not_Modified
()
test_GET_if_range_200_OK
()
test_GET_if_range_206_Partial_Content
()
test_GET_if_unmodified_since_200_OK
()
test_GET_if_unmodified_since_412_Precondition_Failed
()
test_GET_illegal_path_403_Forbidden
()
test_GET_nothing_404_Not_Found
()
test_GET_range_200_OK
()
test_GET_range_206_Partial_Content
()
test_GET_range_416_Requested_Range_Not_Satisfiable
()
test_GET_range_if_modified_since_206_Partial_Content
()
test_GET_range_if_modified_since_304_Not_Modified
()
test_GET_range_if_unmodified_since_206_Partial_Content
()
test_GET_range_if_unmodified_since_412_Precondition_Failed
()
test_GET_root_200_OK
()
test_GET_subdir_200_OK
()
test_GET_subdir_301_Moved_Permanently
()
test_GET_subdir_file_200_OK
()
test_HEAD_html_200_OK
()
test_HEAD_root_200_OK
()
test_POST_html_405_Method_Not_Allowed
()
test_POST_root_405_Method_Not_Allowed
()
[Validate]