let DEV_2 be trunk
[m6w6/ext-http] / tests / HttpMessage_005.phpt
diff --git a/tests/HttpMessage_005.phpt b/tests/HttpMessage_005.phpt
deleted file mode 100644 (file)
index 81dd7dd..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
---TEST--
-HttpMessage::prepend()
---SKIPIF--
-<?php
-include 'skip.inc';
-checkver(5);
-?>
---FILE--
-<?php
-echo "-TEST\n";
-
-$m1 = new HttpMessage("
-GET / HTTP/1.1
-Host: example.com
-Accept: */*
-Connection: close
-HTTP/1.1 200 ok
-Server: Funky/1.0
-Content-Type: text/plain
-Content-Length: 3
-
-Hi!"
-);
-
-$m2 = new HttpMessage("
-GET http://example.com/ HTTP/1.0
-HTTP/1.1 200 ok
-Server: Funky/2.0
-Content-Type: text/html
-Content-Length: 9
-
-Hi there!"
-);
-
-$m1->prepend($m2);
-$m2 = NULL;
-echo $m1->toString(true);
-
-$m1->prepend($m1->detach(), false);
-echo $m1->toString(true);
-
-echo "Done\n";
-?>
---EXPECTF--
-%aTEST
-GET http://example.com/ HTTP/1.0
-HTTP/1.1 200 ok
-Server: Funky/2.0
-Content-Type: text/html
-Content-Length: 9
-
-Hi there!
-GET / HTTP/1.1
-Host: example.com
-Accept: */*
-Connection: close
-HTTP/1.1 200 ok
-Server: Funky/1.0
-Content-Type: text/plain
-Content-Length: 3
-
-Hi!
-GET http://example.com/ HTTP/1.0
-HTTP/1.1 200 ok
-Server: Funky/2.0
-Content-Type: text/html
-Content-Length: 9
-
-Hi there!
-GET / HTTP/1.1
-Host: example.com
-Accept: */*
-Connection: close
-HTTP/1.1 200 ok
-Server: Funky/1.0
-Content-Type: text/plain
-Content-Length: 3
-
-Hi!
-HTTP/1.1 200 ok
-Server: Funky/1.0
-Content-Type: text/plain
-Content-Length: 3
-
-Hi!
-Done
\ No newline at end of file