platform/api/symfony/Component/Uid/Tests/UlidTest.yaml
2024-09-02 10:44:11 -07:00

159 lines
3.6 KiB
YAML

name: UlidTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: MaxUlid
type: class
source: Symfony\Component\Uid\MaxUlid
- name: NilUlid
type: class
source: Symfony\Component\Uid\NilUlid
- name: CustomUlid
type: class
source: Symfony\Component\Uid\Tests\Fixtures\CustomUlid
- name: Ulid
type: class
source: Symfony\Component\Uid\Ulid
- name: UuidV4
type: class
source: Symfony\Component\Uid\UuidV4
properties: []
methods:
- name: testGenerate
visibility: public
parameters: []
comment: '# * @group time-sensitive'
- name: testWithInvalidUlid
visibility: public
parameters: []
comment: null
- name: testBinary
visibility: public
parameters: []
comment: null
- name: toHex
visibility: public
parameters: []
comment: null
- name: testFromUuid
visibility: public
parameters: []
comment: null
- name: testBase58
visibility: public
parameters: []
comment: null
- name: testGetDateTime
visibility: public
parameters: []
comment: '# * @group time-sensitive'
- name: testIsValid
visibility: public
parameters: []
comment: null
- name: testEquals
visibility: public
parameters: []
comment: null
- name: testCompare
visibility: public
parameters: []
comment: '# * @group time-sensitive'
- name: testFromBinary
visibility: public
parameters: []
comment: null
- name: testFromBinaryInvalidFormat
visibility: public
parameters:
- name: ulid
comment: '# * @dataProvider provideInvalidBinaryFormat'
- name: provideInvalidBinaryFormat
visibility: public
parameters: []
comment: null
- name: testFromBase58
visibility: public
parameters: []
comment: null
- name: testFromBase58InvalidFormat
visibility: public
parameters:
- name: ulid
comment: '# * @dataProvider provideInvalidBase58Format'
- name: provideInvalidBase58Format
visibility: public
parameters: []
comment: null
- name: testFromBase32
visibility: public
parameters: []
comment: null
- name: testFromBase32InvalidFormat
visibility: public
parameters:
- name: ulid
comment: '# * @dataProvider provideInvalidBase32Format'
- name: provideInvalidBase32Format
visibility: public
parameters: []
comment: null
- name: testFromRfc4122
visibility: public
parameters: []
comment: null
- name: testFromRfc4122InvalidFormat
visibility: public
parameters:
- name: ulid
comment: '# * @dataProvider provideInvalidRfc4122Format'
- name: provideInvalidRfc4122Format
visibility: public
parameters: []
comment: null
- name: testFromStringOnExtendedClassReturnsStatic
visibility: public
parameters: []
comment: null
- name: testFromStringBase58Padding
visibility: public
parameters: []
comment: null
- name: testNilUlid
visibility: public
parameters:
- name: ulid
comment: '# * @testWith ["00000000-0000-0000-0000-000000000000"]
# * ["1111111111111111111111"]
# * ["00000000000000000000000000"]'
- name: testNewNilUlid
visibility: public
parameters: []
comment: null
- name: testMaxUlid
visibility: public
parameters:
- name: ulid
comment: '# * @testWith ["ffffffff-ffff-ffff-ffff-ffffffffffff"]
# * ["7zzzzzzzzzzzzzzzzzzzzzzzzz"]'
- name: testNewMaxUlid
visibility: public
parameters: []
comment: null
- name: testToString
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Uid\MaxUlid
- Symfony\Component\Uid\NilUlid
- Symfony\Component\Uid\Tests\Fixtures\CustomUlid
- Symfony\Component\Uid\Ulid
- Symfony\Component\Uid\UuidV4
interfaces: []