[Form][Tests] Make *TestCase files abstract
This commit is contained in:
parent
85dd3c20a3
commit
5c895c854e
@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user