This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Intl/Tests/Locale/Verification/LocaleTest.php

38 lines
892 B
PHP
Raw Normal View History

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests\Locale\Verification;
use Symfony\Component\Intl\Tests\Locale\AbstractLocaleTest;
/**
* Verifies that {@link AbstractLocaleTest} matches the behavior of the
* {@link Locale} class with a specific version of ICU.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class LocaleTest extends AbstractLocaleTest
{
protected function setUp()
{
$this->skipIfIntlExtensionNotLoaded();
parent::setUp();
}
protected function call($methodName)
{
$args = array_slice(func_get_args(), 1);
return call_user_func_array(array('Locale', $methodName), $args);
}
}