TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
RandomTest Class Reference
Inheritance diagram for RandomTest:
UnitTestCase BaseTestCase

Public Member Functions

 generateRandomBytesReturnsExpectedAmountOfBytes ()
 
 generateRandomHexStringReturnsExpectedAmountOfCharsDataProvider ()
 
 generateRandomHexStringReturnsExpectedAmountOfChars ($numberOfChars)
 

Additional Inherited Members

- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 24 of file RandomTest.php.

Member Function Documentation

generateRandomBytesReturnsExpectedAmountOfBytes ( )
Test:

Definition at line 29 of file RandomTest.php.

generateRandomHexStringReturnsExpectedAmountOfChars (   $numberOfChars)
Test:
generateRandomHexStringReturnsExpectedAmountOfCharsDataProvider
Parameters
int$numberOfCharsNumber of Chars to generate

Definition at line 66 of file RandomTest.php.

generateRandomHexStringReturnsExpectedAmountOfCharsDataProvider ( )

Data provider for generateRandomHexStringReturnsExpectedAmountOfChars

Returns
array

Definition at line 40 of file RandomTest.php.