7 skipif(!@include 'PHPUnit2/Framework/TestCase.php', 'need PHPUnit2');
13 require_once 'PHPUnit2/Framework/TestSuite.php';
14 require_once 'PHPUnit2/Framework/TestCase.php';
15 require_once 'PHPUnit2/TextUI/ResultPrinter.php';
17 class HttpUtilTest extends PHPUnit2_Framework_TestCase
23 function test_buildUri()
27 function test_negotiateLanguage()
31 function test_negotiateCharset()
35 function test_negotiateContentType()
39 function test_matchModified()
43 function test_matchEtag()
47 function test_matchRequestHeader()
51 function test_parseMessage()
55 function test_parseHeaders()
59 function test_chunkedDecode()
63 function test_gzEncode()
67 function test_gzDecode()
71 function test_deflate()
75 function test_inflate()
79 function test_compress()
83 function test_uncompress()
87 function test_support()
94 $s = new PHPUnit2_Framework_TestSuite('HttpUtilTest');
95 $p = new PHPUnit2_TextUI_ResultPrinter();
96 $p->printResult($s->run(), 0);