Skip to content

Commit ba98f39

Browse files
committed
use TestCase suffix for abstract tests in Tests directories
1 parent 5d08313 commit ba98f39

15 files changed

+24
-24
lines changed

Tests/Collator/AbstractCollatorTest.php renamed to Tests/Collator/AbstractCollatorTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* @author Bernhard Schussek <bschussek@gmail.com>
2121
*/
22-
abstract class AbstractCollatorTest extends TestCase
22+
abstract class AbstractCollatorTestCase extends TestCase
2323
{
2424
/**
2525
* @dataProvider asortProvider

Tests/Collator/CollatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @group legacy
2121
*/
22-
class CollatorTest extends AbstractCollatorTest
22+
class CollatorTest extends AbstractCollatorTestCase
2323
{
2424
public function testConstructorWithUnsupportedLocale()
2525
{

Tests/Collator/Verification/CollatorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111

1212
namespace Symfony\Component\Intl\Tests\Collator\Verification;
1313

14-
use Symfony\Component\Intl\Tests\Collator\AbstractCollatorTest;
14+
use Symfony\Component\Intl\Tests\Collator\AbstractCollatorTestCase;
1515
use Symfony\Component\Intl\Util\IntlTestHelper;
1616

1717
/**
18-
* Verifies that {@link AbstractCollatorTest} matches the behavior of the
18+
* Verifies that {@link AbstractCollatorTestCase} matches the behavior of the
1919
* {@link \Collator} class in a specific version of ICU.
2020
*
2121
* @author Bernhard Schussek <bschussek@gmail.com>
2222
*/
23-
class CollatorTest extends AbstractCollatorTest
23+
class CollatorTest extends AbstractCollatorTestCase
2424
{
2525
protected function setUp(): void
2626
{

Tests/DateFormatter/AbstractIntlDateFormatterTest.php renamed to Tests/DateFormatter/AbstractIntlDateFormatterTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* @group legacy
2626
*/
27-
abstract class AbstractIntlDateFormatterTest extends TestCase
27+
abstract class AbstractIntlDateFormatterTestCase extends TestCase
2828
{
2929
private $defaultLocale;
3030

Tests/DateFormatter/IntlDateFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* @group legacy
2323
*/
24-
class IntlDateFormatterTest extends AbstractIntlDateFormatterTest
24+
class IntlDateFormatterTest extends AbstractIntlDateFormatterTestCase
2525
{
2626
public function testConstructor()
2727
{

Tests/DateFormatter/Verification/IntlDateFormatterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
namespace Symfony\Component\Intl\Tests\DateFormatter\Verification;
1313

1414
use Symfony\Component\Intl\DateFormatter\IntlDateFormatter;
15-
use Symfony\Component\Intl\Tests\DateFormatter\AbstractIntlDateFormatterTest;
15+
use Symfony\Component\Intl\Tests\DateFormatter\AbstractIntlDateFormatterTestCase;
1616
use Symfony\Component\Intl\Util\IntlTestHelper;
1717

1818
/**
19-
* Verifies that {@link AbstractIntlDateFormatterTest} matches the behavior of
19+
* Verifies that {@link AbstractIntlDateFormatterTestCase} matches the behavior of
2020
* the {@link \IntlDateFormatter} class in a specific version of ICU.
2121
*
2222
* @author Bernhard Schussek <bschussek@gmail.com>
2323
*/
24-
class IntlDateFormatterTest extends AbstractIntlDateFormatterTest
24+
class IntlDateFormatterTest extends AbstractIntlDateFormatterTestCase
2525
{
2626
protected function setUp(): void
2727
{

Tests/Globals/AbstractIntlGlobalsTest.php renamed to Tests/Globals/AbstractIntlGlobalsTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @group legacy
2222
*/
23-
abstract class AbstractIntlGlobalsTest extends TestCase
23+
abstract class AbstractIntlGlobalsTestCase extends TestCase
2424
{
2525
public static function errorNameProvider()
2626
{

Tests/Globals/IntlGlobalsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* @group legacy
1818
*/
19-
class IntlGlobalsTest extends AbstractIntlGlobalsTest
19+
class IntlGlobalsTest extends AbstractIntlGlobalsTestCase
2020
{
2121
protected function getIntlErrorName($errorCode)
2222
{

Tests/Globals/Verification/IntlGlobalsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111

1212
namespace Symfony\Component\Intl\Tests\Globals\Verification;
1313

14-
use Symfony\Component\Intl\Tests\Globals\AbstractIntlGlobalsTest;
14+
use Symfony\Component\Intl\Tests\Globals\AbstractIntlGlobalsTestCase;
1515
use Symfony\Component\Intl\Util\IntlTestHelper;
1616

1717
/**
18-
* Verifies that {@link AbstractIntlGlobalsTest} matches the behavior of the
18+
* Verifies that {@link AbstractIntlGlobalsTestCase} matches the behavior of the
1919
* intl functions with a specific version of ICU.
2020
*
2121
* @author Bernhard Schussek <bschussek@gmail.com>
2222
*
2323
* @group legacy
2424
*/
25-
class IntlGlobalsTest extends AbstractIntlGlobalsTest
25+
class IntlGlobalsTest extends AbstractIntlGlobalsTestCase
2626
{
2727
protected function setUp(): void
2828
{

Tests/Locale/AbstractLocaleTest.php renamed to Tests/Locale/AbstractLocaleTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author Bernhard Schussek <bschussek@gmail.com>
2020
*/
21-
abstract class AbstractLocaleTest extends TestCase
21+
abstract class AbstractLocaleTestCase extends TestCase
2222
{
2323
public function testSetDefault()
2424
{

0 commit comments

Comments
 (0)