[Form][Tests] Make *TestCase files abstract

This commit is contained in:
Marek Kalnik 2012-10-09 23:02:06 +02:00
parent 85dd3c20a3
commit 5c895c854e
4 changed files with 5 additions and 4 deletions

View File

@ -11,10 +11,11 @@
namespace Symfony\Component\Form\Tests\Extension\Core\DataTransformer;
class DateTimeTestCase extends LocalizedTestCase
abstract class DateTimeTestCase extends LocalizedTestCase
{
public static function assertDateTimeEquals(\DateTime $expected, \DateTime $actual)
{
self::assertEquals($expected->format('c'), $actual->format('c'));
}
}

View File

@ -11,7 +11,7 @@
namespace Symfony\Component\Form\Tests\Extension\Core\DataTransformer;
class LocalizedTestCase extends \PHPUnit_Framework_TestCase
abstract class LocalizedTestCase extends \PHPUnit_Framework_TestCase
{
protected static $icuVersion = null;

View File

@ -17,7 +17,7 @@ use Symfony\Component\Form\Extension\Core\CoreExtension;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class FormIntegrationTestCase extends \PHPUnit_Framework_TestCase
abstract class FormIntegrationTestCase extends \PHPUnit_Framework_TestCase
{
/**
* @var \Symfony\Component\Form\FormFactoryInterface

View File

@ -19,7 +19,7 @@ namespace Symfony\Component\Form\Tests;
* @author robo
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class FormPerformanceTestCase extends FormIntegrationTestCase
abstract class FormPerformanceTestCase extends FormIntegrationTestCase
{
/**
* @var integer