‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest:

Public Member Functions

 generateRandomBytesReturnsExpectedAmountOfBytes ()
 
 generateRandomHexStringReturnsExpectedAmountOfChars ($numberOfChars)
 
 generateRandomPasswordThrowsInvalidPasswordRulesException (array $passwordRules, int $exceptionCode)
 
 generateRandomPasswordGeneratesRandomWithEncoding (array $passwordRules, string $pattern)
 
 generateRandomPasswordGeneratesRandomWithCharacterSets (array $passwordRules, string $pattern)
 
 generateRandomPasswordGeneratesRandomWithLength (array $passwordRules, int $length)
 

Static Public Member Functions

static generateRandomHexStringReturnsExpectedAmountOfCharsDataProvider ()
 
static generateRandomPasswordThrowsInvalidPasswordRulesExceptionDataProvider ()
 
static generateRandomPasswordGeneratesRandomWithEncodingDataProvider ()
 
static generateRandomPasswordGeneratesRandomWithCharacterSetsDataProvider ()
 
static generateRandomPasswordGeneratesRandomWithLengthDataProvider ()
 

Detailed Description

Definition at line 26 of file RandomTest.php.

Member Function Documentation

◆ generateRandomBytesReturnsExpectedAmountOfBytes()

TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomBytesReturnsExpectedAmountOfBytes ( )

Definition at line 29 of file RandomTest.php.

◆ generateRandomHexStringReturnsExpectedAmountOfChars()

TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomHexStringReturnsExpectedAmountOfChars (   $numberOfChars)
Parameters
int$numberOfChars‪Number of Chars to generate

Definition at line 64 of file RandomTest.php.

◆ generateRandomHexStringReturnsExpectedAmountOfCharsDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomHexStringReturnsExpectedAmountOfCharsDataProvider ( )
static

Data provider for generateRandomHexStringReturnsExpectedAmountOfChars

Definition at line 38 of file RandomTest.php.

◆ generateRandomPasswordGeneratesRandomWithCharacterSets()

TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomPasswordGeneratesRandomWithCharacterSets ( array  $passwordRules,
string  $pattern 
)

Definition at line 164 of file RandomTest.php.

◆ generateRandomPasswordGeneratesRandomWithCharacterSetsDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomPasswordGeneratesRandomWithCharacterSetsDataProvider ( )
static

Definition at line 134 of file RandomTest.php.

◆ generateRandomPasswordGeneratesRandomWithEncoding()

TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomPasswordGeneratesRandomWithEncoding ( array  $passwordRules,
string  $pattern 
)

Definition at line 127 of file RandomTest.php.

◆ generateRandomPasswordGeneratesRandomWithEncodingDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomPasswordGeneratesRandomWithEncodingDataProvider ( )
static

Definition at line 106 of file RandomTest.php.

◆ generateRandomPasswordGeneratesRandomWithLength()

TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomPasswordGeneratesRandomWithLength ( array  $passwordRules,
int  $length 
)

Definition at line 201 of file RandomTest.php.

◆ generateRandomPasswordGeneratesRandomWithLengthDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomPasswordGeneratesRandomWithLengthDataProvider ( )
static

Definition at line 171 of file RandomTest.php.

◆ generateRandomPasswordThrowsInvalidPasswordRulesException()

TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomPasswordThrowsInvalidPasswordRulesException ( array  $passwordRules,
int  $exceptionCode 
)

Definition at line 96 of file RandomTest.php.

◆ generateRandomPasswordThrowsInvalidPasswordRulesExceptionDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Crypto\RandomTest::generateRandomPasswordThrowsInvalidPasswordRulesExceptionDataProvider ( )
static

Definition at line 70 of file RandomTest.php.