X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fparse_message_004.phpt;fp=tests%2Fparse_message_004.phpt;h=0000000000000000000000000000000000000000;hb=87db9817d428282792c8146d9c2ae9748ebf6f1e;hp=5ce6048ddf530378346679be6cc92650260a358f;hpb=7a5c865f6faf8b1b6c91735e9d3b040449ea74ba;p=m6w6%2Fext-http diff --git a/tests/parse_message_004.phpt b/tests/parse_message_004.phpt deleted file mode 100644 index 5ce6048..0000000 --- a/tests/parse_message_004.phpt +++ /dev/null @@ -1,115 +0,0 @@ ---TEST-- -http_parse_message() recursive ---SKIPIF-- - ---FILE-- - ---EXPECTF-- -%aTEST -object(stdClass)%a { - ["type"]=> - int(2) - ["httpVersion"]=> - float(1.1) - ["responseCode"]=> - int(200) - ["responseStatus"]=> - string(2) "Ok" - ["headers"]=> - array(2) { - ["Server"]=> - string(9) "Funky/1.0" - ["Content-Length"]=> - string(2) "10" - } - ["body"]=> - string(10) "1234567890" - ["parentMessage"]=> - object(stdClass)%a { - ["type"]=> - int(1) - ["httpVersion"]=> - float(1.1) - ["requestMethod"]=> - string(3) "GET" - ["requestUrl"]=> - string(1) "/" - ["headers"]=> - array(2) { - ["Host"]=> - string(15) "www.example.com" - ["Accept"]=> - string(3) "*/*" - } - ["body"]=> - string(0) "" - ["parentMessage"]=> - object(stdClass)%a { - ["type"]=> - int(2) - ["httpVersion"]=> - float(1.1) - ["responseCode"]=> - int(200) - ["responseStatus"]=> - string(2) "Ok" - ["headers"]=> - array(2) { - ["Server"]=> - string(9) "Funky/1.0" - ["Content-Length"]=> - string(2) "10" - } - ["body"]=> - string(0) "" - ["parentMessage"]=> - object(stdClass)%a { - ["type"]=> - int(1) - ["httpVersion"]=> - float(1.1) - ["requestMethod"]=> - string(4) "HEAD" - ["requestUrl"]=> - string(1) "/" - ["headers"]=> - array(2) { - ["Host"]=> - string(15) "www.example.com" - ["Accept"]=> - string(3) "*/*" - } - ["body"]=> - string(0) "" - ["parentMessage"]=> - NULL - } - } - } -} -Done