HttpProtocolDetectorTest

10

tests

0

failures

0

ignored

0.006s

duration

100%

successful

Tests

Test Method name Duration Result
[1] httpMethod=GET should_return_http_when_buffer_starts_with_http_method(String)[1] 0.001s passed
[2] httpMethod=POST should_return_http_when_buffer_starts_with_http_method(String)[2] 0.001s passed
[3] httpMethod=PUT should_return_http_when_buffer_starts_with_http_method(String)[3] 0.003s passed
[4] httpMethod=DELETE should_return_http_when_buffer_starts_with_http_method(String)[4] 0s passed
[5] httpMethod=HEAD should_return_http_when_buffer_starts_with_http_method(String)[5] 0s passed
[6] httpMethod=OPTIONS should_return_http_when_buffer_starts_with_http_method(String)[6] 0s passed
[7] httpMethod=PATCH should_return_http_when_buffer_starts_with_http_method(String)[7] 0s passed
[8] httpMethod=TRACE should_return_http_when_buffer_starts_with_http_method(String)[8] 0s passed
빈 버퍼가 주어지면 'UNKNOWN'을 반환한다 should_return_unknown_for_empty_buffer() 0.001s passed
버퍼가 HTTP 메서드로 시작하지 않으면 'UNKNOWN'을 반환한다 should_return_unknown_when_buffer_does_not_start_with_http_method() 0s passed