<?php
if (!defined('PHPUnit2_MAIN_METHOD')) {
    define('PHPUnit2_MAIN_METHOD', 'Zend_HttpClient_AllTests::main');
}

require_once 'PHPUnit2/Framework/TestSuite.php';
require_once 'PHPUnit2/TextUI/TestRunner.php';

require_once 'Zend/Http/ResponseTest.php';
require_once 'Zend/Http/ClientTest.php';

class Zend_Http_AllTests
{
    public static function main()
    {
        PHPUnit2_TextUI_TestRunner::run(self::suite());
    }

    public static function suite()
    {
        $suite = new PHPUnit2_Framework_TestSuite('Zend Framework - Zend_HttpClient');

        $suite->addTestSuite('Zend_Http_ClientTest');
		$suite->addTestSuite('Zend_Http_ResponseTest');

        return $suite;
    }
}

if (PHPUnit2_MAIN_METHOD == 'Zend_Http_AllTests::main') {
    Zend_HttpClient_AllTests::main();
}

<?php
if (!defined('PHPUnit2_MAIN_METHOD')) {
    define('PHPUnit2_MAIN_METHOD', 'Zend_HttpClient_AllTests::main');
}

require_once 'PHPUnit2/Framework/TestSuite.php';
require_once 'PHPUnit2/TextUI/TestRunner.php';

require_once 'Zend/Http/ResponseTest.php';
require_once 'Zend/Http/ClientTest.php';

class Zend_Http_AllTests
{
    public static function main()
    {
        PHPUnit2_TextUI_TestRunner::run(self::suite());
    }

    public static function suite()
    {
        $suite = new PHPUnit2_Framework_TestSuite('Zend Framework - Zend_HttpClient');

        $suite->addTestSuite('Zend_Http_ClientTest');
		$suite->addTestSuite('Zend_Http_Client_ResponseTest');

        return $suite;
    }
}

if (PHPUnit2_MAIN_METHOD == 'Zend_Http_AllTests::main') {
    Zend_HttpClient_AllTests::main();
}

Fix test case class name.
Fix test case class name.

git-svn-id: b6e219894c353fb1d215c78b2075057d8daadfba@1040 44c647ce-9c0f-0410-b52a-842ac1e357ba
