CollatorTest.php 879 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Intl\Tests\Collator\Verification;
  11. use Symfony\Component\Intl\Tests\Collator\AbstractCollatorTest;
  12. use Symfony\Component\Intl\Util\IntlTestHelper;
  13. /**
  14. * Verifies that {@link AbstractCollatorTest} matches the behavior of the
  15. * {@link \Collator} class in a specific version of ICU.
  16. *
  17. * @author Bernhard Schussek <bschussek@gmail.com>
  18. */
  19. class CollatorTest extends AbstractCollatorTest
  20. {
  21. protected function setUp()
  22. {
  23. IntlTestHelper::requireFullIntl($this, false);
  24. parent::setUp();
  25. }
  26. protected function getCollator($locale)
  27. {
  28. return new \Collator($locale);
  29. }
  30. }