merged branch ornicar/removeWebTestCaseClass (PR #1352)

Commits
-------

f08533f [HttpKernel] Remove useless WebTestCase class

Discussion
----------

[HttpKernel] Remove useless WebTestCase class

see https://github.com/symfony/symfony/pull/1351
This commit is contained in:
Fabien Potencier 2011-06-16 19:29:51 +02:00
commit 7733301bdb
2 changed files with 1 additions and 34 deletions

View File

@ -22,7 +22,7 @@ use Symfony\Component\HttpKernel\Test\WebTestCase as BaseWebTestCase;
*
* @author Fabien Potencier <fabien@symfony.com>
*/
abstract class WebTestCase extends BaseWebTestCase
abstract class WebTestCase extends \PHPUnit_Framework_TestCase
{
static protected $kernel;

View File

@ -1,33 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\Test;
use Symfony\Component\DomCrawler\Crawler;
use Symfony\Component\HttpKernel\Client;
/**
* WebTestCase is the base class for functional tests.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
abstract class WebTestCase extends \PHPUnit_Framework_TestCase
{
/**
* Creates a Client.
*
* @param array $options An array of options to pass to the createKernel class
* @param array $server An array of server parameters
*
* @return Client A Client instance
*/
abstract static protected function createClient(array $options = array(), array $server = array());
}