projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
4898140
)
- update
author
Michael Wallner
<mike@php.net>
Wed, 15 Jun 2005 12:13:13 +0000
(12:13 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 15 Jun 2005 12:13:13 +0000
(12:13 +0000)
tests/HttpRequestPool_001.phpt
patch
|
blob
|
history
diff --git
a/tests/HttpRequestPool_001.phpt
b/tests/HttpRequestPool_001.phpt
index b3a035b8389d794857e64e8c5c968ad45b95553a..fd3853ad0556dbaea5c04d19a5beba3f1dbd59f5 100644
(file)
--- a/
tests/HttpRequestPool_001.phpt
+++ b/
tests/HttpRequestPool_001.phpt
@@
-23,13
+23,20
@@
foreach ($reqs as $req) {
$req->getResponseMessage()->getResponseCode(), "\n";
$pool->detach($req);
$pool->attach($req);
$req->getResponseMessage()->getResponseCode(), "\n";
$pool->detach($req);
$pool->attach($req);
+ $pool->detach($req);
+ $pool->attach($req);
+ $pool->detach($req);
+ $pool->attach($req);
+ $pool->detach($req);
+ $pool->attach($req);
+ $req->getResponseMessage()->getResponseCode();
+ $req->getResponseMessage()->getResponseCode();
+ $req->getResponseMessage()->getResponseCode();
+ $req->getResponseMessage()->getResponseCode();
}
}
-try {
- $pool->send();
-} catch (HttpException $ex) {
- echo "Catched\n";
-}
+$pool->send();
$pool->reset();
$pool->reset();
+$pool->attach($req);
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
@@
-39,5
+46,4
@@
X-Powered-By: PHP/%s
http://www.php.net/=200:200
http://pear.php.net/=200:200
http://pecl.php.net/=200:200
http://www.php.net/=200:200
http://pear.php.net/=200:200
http://pecl.php.net/=200:200
-Catched
Done
Done