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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2020
*/
21-
abstract class AbstractLocaleTest extends TestCase
21+
abstract class AbstractLocaleTestCase extends TestCase
2222
{
2323
public function testSetDefault()
2424
{

Tests/Locale/LocaleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Intl\Exception\MethodNotImplementedException;
1515
use Symfony\Component\Intl\Locale\Locale;
1616

17-
class LocaleTest extends AbstractLocaleTest
17+
class LocaleTest extends AbstractLocaleTestCase
1818
{
1919
public function testAcceptFromHttp()
2020
{

Tests/Locale/Verification/LocaleTest.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\Locale\Verification;
1313

14-
use Symfony\Component\Intl\Tests\Locale\AbstractLocaleTest;
14+
use Symfony\Component\Intl\Tests\Locale\AbstractLocaleTestCase;
1515
use Symfony\Component\Intl\Util\IntlTestHelper;
1616

1717
/**
18-
* Verifies that {@link AbstractLocaleTest} matches the behavior of the
18+
* Verifies that {@link AbstractLocaleTestCase} matches the behavior of the
1919
* {@link Locale} class with a specific version of ICU.
2020
*
2121
* @author Bernhard Schussek <[email protected]>
2222
*/
23-
class LocaleTest extends AbstractLocaleTest
23+
class LocaleTest extends AbstractLocaleTestCase
2424
{
2525
protected function setUp(): void
2626
{

Tests/NumberFormatter/AbstractNumberFormatterTest.php renamed to Tests/NumberFormatter/AbstractNumberFormatterTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
* @group legacy
2424
*/
25-
abstract class AbstractNumberFormatterTest extends TestCase
25+
abstract class AbstractNumberFormatterTestCase extends TestCase
2626
{
2727
/**
2828
* @dataProvider formatCurrencyWithDecimalStyleProvider

Tests/NumberFormatter/NumberFormatterTest.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-
class NumberFormatterTest extends AbstractNumberFormatterTest
27+
class NumberFormatterTest extends AbstractNumberFormatterTestCase
2828
{
2929
public function testConstructorWithUnsupportedLocale()
3030
{

Tests/NumberFormatter/Verification/NumberFormatterTest.php

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

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

14-
use Symfony\Component\Intl\Tests\NumberFormatter\AbstractNumberFormatterTest;
14+
use Symfony\Component\Intl\Tests\NumberFormatter\AbstractNumberFormatterTestCase;
1515
use Symfony\Component\Intl\Util\IntlTestHelper;
1616

1717
/**
1818
* Note that there are some values written like -2147483647 - 1. This is the lower 32bit int max and is a known
1919
* behavior of PHP.
2020
*/
21-
class NumberFormatterTest extends AbstractNumberFormatterTest
21+
class NumberFormatterTest extends AbstractNumberFormatterTestCase
2222
{
2323
protected function setUp(): void
2424
{

0 commit comments

Comments
 (0)