zephyr/tests/net/lib/http_header_fields
Kumar Gala 9127c4b3b1 tests: Cleanup converting int result to string
Introduce TC_RESULT_TO_STR to convert from an integer test result to a
string like "PASS", "FAIL", "SKIP".  Do this to remove the defines of
PASS/FAIL/SKIP since those names might get used by other code and to
have a single consistent way of doing the conversion.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-06-29 11:53:59 -05:00
..
src tests: Cleanup converting int result to string 2018-06-29 11:53:59 -05:00
CMakeLists.txt
README
prj.conf tests: net: Increase the stack size of frdm-k64f 2018-06-05 10:30:30 -04:00
testcase.yaml tests: cleanup meta-data of various tests 2018-04-09 22:55:20 -04:00

README

HTTP header fields test
-----------------------

Sample output:

tc_start() - HTTP header fields test
[PASS] test_preserve_data
[PASS] test_parse_url
[PASS] test_method_str
[PASS] test_header_nread_value
[PASS] test_double_content_length_error HTTP_REQUEST
[PASS] test_chunked_content_length_error HTTP_REQUEST
[PASS] test_header_cr_no_lf_error HTTP_REQUEST
[PASS] test_invalid_header_field_token_error HTTP_REQUEST
[PASS] test_invalid_header_field_content_error HTTP_REQUEST
[PASS] test_double_content_length_error HTTP_RESPONSE
[PASS] test_chunked_content_length_error HTTP_RESPONSE
[PASS] test_header_cr_no_lf_error HTTP_RESPONSE
[PASS] test_invalid_header_field_token_error HTTP_RESPONSE
[PASS] test_invalid_header_field_content_error HTTP_RESPONSE

	No errors detected
===================================================================
PASS - main.
===================================================================
PROJECT EXECUTION SUCCESSFUL