IntlGlobalsTest.php 895 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\Globals\Verification;
  11. use Symfony\Component\Intl\Tests\Globals\AbstractIntlGlobalsTest;
  12. use Symfony\Component\Intl\Util\IntlTestHelper;
  13. /**
  14. * Verifies that {@link AbstractIntlGlobalsTest} matches the behavior of the
  15. * intl functions with a specific version of ICU.
  16. *
  17. * @author Bernhard Schussek <bschussek@gmail.com>
  18. */
  19. class IntlGlobalsTest extends AbstractIntlGlobalsTest
  20. {
  21. protected function setUp()
  22. {
  23. IntlTestHelper::requireFullIntl($this, false);
  24. parent::setUp();
  25. }
  26. protected function getIntlErrorName($errorCode)
  27. {
  28. return intl_error_name($errorCode);
  29. }
  30. }