api/symfony/Component/Intl/Tests/LocalesTest.yaml

56 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: LocalesTest
class_comment: '# * @group intl-data'
dependencies:
- name: MissingResourceException
type: class
source: Symfony\Component\Intl\Exception\MissingResourceException
- name: Locales
type: class
source: Symfony\Component\Intl\Locales
properties: []
methods:
- name: testGetNames
visibility: public
parameters:
- name: displayLocale
comment: "# * @group intl-data\n# */\n# class LocalesTest extends ResourceBundleTestCase\n\
# {\n# public function testGetLocales()\n# {\n# $this->assertSame($this->getLocales(),\
\ Locales::getLocales());\n# }\n# \n# public function testGetAliases()\n# {\n\
# $this->assertSame($this->getLocaleAliases(), Locales::getAliases());\n# }\n\
# \n# /**\n# * @dataProvider provideLocales"
- name: testGetNamesDefaultLocale
visibility: public
parameters: []
comment: null
- name: testGetNamesSupportsAliases
visibility: public
parameters:
- name: alias
- name: ofLocale
comment: '# * @dataProvider provideLocaleAliases'
- name: testGetName
visibility: public
parameters:
- name: displayLocale
comment: '# * @dataProvider provideLocales'
- name: testGetNameDefaultLocale
visibility: public
parameters: []
comment: null
- name: testGetNameWithInvalidLocale
visibility: public
parameters: []
comment: null
- name: testGetNameWithAliasLocale
visibility: public
parameters: []
comment: null
- name: testExists
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Intl\Exception\MissingResourceException
- Symfony\Component\Intl\Locales
interfaces: []