platform/api/symfony/Component/Scheduler/Tests/Trigger/PeriodicalTriggerTest.yaml

91 lines
2.1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: PeriodicalTriggerTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: InvalidArgumentException
type: class
source: Symfony\Component\Scheduler\Exception\InvalidArgumentException
- name: PeriodicalTrigger
type: class
source: Symfony\Component\Scheduler\Trigger\PeriodicalTrigger
- name: TriggerInterface
type: class
source: Symfony\Component\Scheduler\Trigger\TriggerInterface
properties: []
methods:
- name: testConstructor
visibility: public
parameters:
- name: trigger
- name: optimizable
default: 'true'
comment: '# * @dataProvider provideForConstructor'
- name: provideForConstructor
visibility: public
parameters: []
comment: null
- name: testInvalidInterval
visibility: public
parameters:
- name: interval
comment: '# * @dataProvider getInvalidIntervals'
- name: getInvalidIntervals
visibility: public
parameters: []
comment: null
- name: testToString
visibility: public
parameters:
- name: expected
- name: trigger
comment: '# * @dataProvider provideForToString'
- name: provideForToString
visibility: public
parameters: []
comment: null
- name: testGetNextRunDates
visibility: public
parameters:
- name: from
- name: trigger
- name: expected
- name: count
default: '0'
comment: '# * @dataProvider providerGetNextRunDates'
- name: providerGetNextRunDates
visibility: public
parameters: []
comment: null
- name: testGetNextRunDateAgain
visibility: public
parameters:
- name: trigger
- name: lastRun
- name: expected
comment: '# * @dataProvider providerGetNextRunDateAgain'
- name: providerGetNextRunDateAgain
visibility: public
parameters: []
comment: null
- name: createTrigger
visibility: private
parameters:
- name: interval
comment: null
- name: getNextRunDates
visibility: private
parameters:
- name: from
- name: trigger
- name: count
default: '1'
comment: null
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Scheduler\Exception\InvalidArgumentException
- Symfony\Component\Scheduler\Trigger\PeriodicalTrigger
- Symfony\Component\Scheduler\Trigger\TriggerInterface
interfaces: []