JsonLanguageDataProviderTest.php 949 B

12345678910111213141516171819202122232425262728293031323334353637
  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\Data\Provider\Json;
  11. use Symfony\Component\Intl\Data\Bundle\Reader\BundleReaderInterface;
  12. use Symfony\Component\Intl\Data\Bundle\Reader\JsonBundleReader;
  13. use Symfony\Component\Intl\Intl;
  14. use Symfony\Component\Intl\Tests\Data\Provider\AbstractLanguageDataProviderTest;
  15. /**
  16. * @author Bernhard Schussek <bschussek@gmail.com>
  17. * @group intl-data
  18. */
  19. class JsonLanguageDataProviderTest extends AbstractLanguageDataProviderTest
  20. {
  21. protected function getDataDirectory()
  22. {
  23. return Intl::getDataDirectory();
  24. }
  25. /**
  26. * @return BundleReaderInterface
  27. */
  28. protected function createBundleReader()
  29. {
  30. return new JsonBundleReader();
  31. }
  32. }