TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SchedulerModuleControllerTest Class Reference
Inheritance diagram for SchedulerModuleControllerTest:

Public Member Functions

 checkDateWithStrtotimeValuesDataProvider ()
 
 checkDateWithStrtotimeValues ($strToTimeValue)
 
 checkDateWithTypo3DateSyntaxDataProvider ()
 
 checkDateWithTypo3DateSyntax ($typo3DateValue, $expectedTimestamp)
 
 checkDateWithInvalidDateValuesDataProvider ()
 
 checkDateWithInvalidDateValues ($dateValue)
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $testObject
 

Detailed Description

Test case

Definition at line 20 of file SchedulerModuleControllerTest.php.

Member Function Documentation

checkDateWithInvalidDateValues (   $dateValue)

This test must be raised an InvalidArgumentException

checkDateWithInvalidDateValuesDataProvider

Test:
Parameters
string$dateValueTest value which will be passed to $this->testObject->checkDate.

Definition at line 173 of file SchedulerModuleControllerTest.php.

checkDateWithInvalidDateValuesDataProvider ( )

Provides some invalid dates

See Also
checkDateWithInvalidDateValues
Returns
array Test data for "checkDateWithInvalidDateValues".

Definition at line 153 of file SchedulerModuleControllerTest.php.

checkDateWithStrtotimeValues (   $strToTimeValue)

checkDateWithStrtotimeValuesDataProvider

Test:
See Also
http://de.php.net/manual/de/function.strtotime.php
Parameters
string$strToTimeValueTest value which will be passed to $this->testObject->checkDate

Definition at line 76 of file SchedulerModuleControllerTest.php.

checkDateWithStrtotimeValuesDataProvider ( )

Data provider for checkDateWithStrtotimeValues

See Also
checkDateWithStrtotimeValues
Returns
array Testdata for "checkDateWithStrtotimeValues".

Definition at line 43 of file SchedulerModuleControllerTest.php.

checkDateWithTypo3DateSyntax (   $typo3DateValue,
  $expectedTimestamp 
)

checkDateWithTypo3DateSyntaxDataProvider

Test:
Parameters
string$typo3DateValueTest value which will be passed to $this->testObject->checkDate
int$expectedTimestampExpected value to compare with result from operation

Definition at line 142 of file SchedulerModuleControllerTest.php.

checkDateWithTypo3DateSyntaxDataProvider ( )

Provides dates in TYPO3 date field formats (non-US), i.e. H:i Y-m-d

See Also
checkDateWithTypo3DateSyntax
Returns
array Test data for "checkDateWithTypo3DateSyntax".

Definition at line 94 of file SchedulerModuleControllerTest.php.

setUp ( )
protected

Sets up each test case.

Returns
void

Definition at line 32 of file SchedulerModuleControllerTest.php.

Member Data Documentation

$testObject
protected

Definition at line 25 of file SchedulerModuleControllerTest.php.