LocaleTest.php 948 B

1234567891011121314151617181920212223242526272829303132333435363738
  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\Locale\Verification;
  11. use Symfony\Component\Intl\Tests\Locale\AbstractLocaleTest;
  12. use Symfony\Component\Intl\Util\IntlTestHelper;
  13. /**
  14. * Verifies that {@link AbstractLocaleTest} matches the behavior of the
  15. * {@link Locale} class with a specific version of ICU.
  16. *
  17. * @author Bernhard Schussek <bschussek@gmail.com>
  18. */
  19. class LocaleTest extends AbstractLocaleTest
  20. {
  21. protected function setUp()
  22. {
  23. IntlTestHelper::requireFullIntl($this, false);
  24. parent::setUp();
  25. }
  26. protected function call($methodName)
  27. {
  28. $args = array_slice(func_get_args(), 1);
  29. return call_user_func_array(array('Locale', $methodName), $args);
  30. }
  31. }