- gcc didn't like those changes
[m6w6/ext-http] / tests / ut_HttpResponse.phpt
1 --TEST--
2 PHPUnit HttpResponse
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkcls('HttpResponse');
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 HttpResponseTest extends PHPUnit2_Framework_TestCase
21 {
22 function test_setHeader()
23 {
24 }
25
26 function test_getHeader()
27 {
28 }
29
30 function test_setETag()
31 {
32 }
33
34 function test_getETag()
35 {
36 }
37
38 function test_setLastModified()
39 {
40 }
41
42 function test_getLastModified()
43 {
44 }
45
46 function test_setContentDisposition()
47 {
48 }
49
50 function test_getContentDisposition()
51 {
52 }
53
54 function test_setContentType()
55 {
56 }
57
58 function test_getContentType()
59 {
60 }
61
62 function test_guessContentType()
63 {
64 }
65
66 function test_setCache()
67 {
68 }
69
70 function test_getCache()
71 {
72 }
73
74 function test_setCacheControl()
75 {
76 }
77
78 function test_getCacheControl()
79 {
80 }
81
82 function test_setGzip()
83 {
84 }
85
86 function test_getGzip()
87 {
88 }
89
90 function test_setThrottleDelay()
91 {
92 }
93
94 function test_getThrottleDelay()
95 {
96 }
97
98 function test_setBufferSize()
99 {
100 }
101
102 function test_getBufferSize()
103 {
104 }
105
106 function test_setData()
107 {
108 }
109
110 function test_getData()
111 {
112 }
113
114 function test_setFile()
115 {
116 }
117
118 function test_getFile()
119 {
120 }
121
122 function test_setStream()
123 {
124 }
125
126 function test_getStream()
127 {
128 }
129
130 function test_send()
131 {
132 }
133
134 function test_capture()
135 {
136 }
137
138 function test_redirect()
139 {
140 }
141
142 function test_status()
143 {
144 }
145
146 function test_getRequestHeaders()
147 {
148 }
149
150 function test_getRequestBody()
151 {
152 }
153
154
155 }
156
157 $s = new PHPUnit2_Framework_TestSuite('HttpResponseTest');
158 $p = new PHPUnit2_TextUI_ResultPrinter();
159 $p->printResult($s->run(), 0);
160
161 echo "Done\n";
162 ?>
163 --EXPECTF--
164 %sTEST
165
166
167 Time: 0
168
169 OK (33 tests)
170 Done