api/symfony/Component/Intl/Tests/Util/GitRepositoryTest.yaml
2024-09-26 02:03:21 -07:00

41 lines
1.2 KiB
YAML

name: GitRepositoryTest
class_comment: '# * @group intl-data'
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: Filesystem
type: class
source: Symfony\Component\Filesystem\Filesystem
- name: RuntimeException
type: class
source: Symfony\Component\Intl\Exception\RuntimeException
- name: GitRepository
type: class
source: Symfony\Component\Intl\Util\GitRepository
properties: []
methods:
- name: cleanup
visibility: protected
parameters: []
comment: "# * @group intl-data\n# */\n# class GitRepositoryTest extends TestCase\n\
# {\n# private ?string $targetDir = null;\n# \n# private const REPO_URL = 'https://github.com/symfony/intl.git';\n\
# \n# /**\n# * @before\n# *\n# * @after"
- name: testItThrowsAnExceptionIfInitialisedWithNonGitDirectory
visibility: public
parameters: []
comment: null
- name: testItClonesTheRepository
visibility: public
parameters: []
comment: null
- name: testItCheckoutsToTheLastTag
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Filesystem\Filesystem
- Symfony\Component\Intl\Exception\RuntimeException
- Symfony\Component\Intl\Util\GitRepository
interfaces: []