- improve internal array handling
[m6w6/ext-http] / tests / ut_HttpRequestPool.phpt
1 --TEST--
2 PHPUnit HttpRequestPool
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkcls('HttpRequestPool');
7 skipif(!@include 'PHPUnit2/Framework/TestCase.php', 'need PHPUnit2');
8 ?>
9 --FILE--
10 <?php
11 echo "-TEST\n";
12
13 error_reporting(E_ALL);
14 ini_set('html_errors', 0);
15
16 require_once 'PHPUnit2/Framework/TestSuite.php';
17 require_once 'PHPUnit2/Framework/TestCase.php';
18 require_once 'PHPUnit2/TextUI/ResultPrinter.php';
19
20 class HttpRequestPoolTest extends PHPUnit2_Framework_TestCase
21 {
22 function test___construct()
23 {
24 }
25
26 function test___destruct()
27 {
28 }
29
30 function test_attach()
31 {
32 }
33
34 function test_detach()
35 {
36 }
37
38 function test_send()
39 {
40 }
41
42 function test_reset()
43 {
44 }
45
46 function test_socketPerform()
47 {
48 }
49
50 function test_socketSelect()
51 {
52 }
53
54 function test_valid()
55 {
56 }
57
58 function test_current()
59 {
60 }
61
62 function test_key()
63 {
64 }
65
66 function test_next()
67 {
68 }
69
70 function test_rewind()
71 {
72 }
73
74 function test_count()
75 {
76 }
77
78 function test_getAttachedRequests()
79 {
80 }
81
82 function test_getFinishedRequests()
83 {
84 }
85
86
87 }
88
89 $s = new PHPUnit2_Framework_TestSuite('HttpRequestPoolTest');
90 $p = new PHPUnit2_TextUI_ResultPrinter();
91 $p->printResult($s->run(), 0);
92
93 echo "Done\n";
94 ?>
95 --EXPECTF--
96 %sTEST
97
98
99 Time: 0
100
101 OK (16 tests)
102 Done