PHP Class Phalcon\Test\Unit\Security\RandomTest

Author: Serghei Iakovlev ([email protected])
Inheritance: extends Phalcon\Test\Module\UnitTest
Show file Open project: phalcon/cphalcon

Public Methods

Method Description
testRandomBase58 ( ) Tests the random base58 generation
testRandomBase64 ( ) Tests the random base64 generation
testRandomBase64Safe ( ) Tests the random base64 generation
testRandomByte ( ) Tests the random bytes string generation
testRandomHex ( ) Tests the random hex generation
testRandomNumber ( ) Tests the random number generation
testRandomUuid ( ) Tests the random UUID v4 generation

Protected Methods

Method Description
_before ( ) executed before each test

Method Details

_before() protected method

executed before each test
protected _before ( )

testRandomBase58() public method

Tests the random base58 generation
Since: 2015-08-20
Author: Serghei Iakovlev ([email protected])
public testRandomBase58 ( )

testRandomBase64() public method

Tests the random base64 generation
Since: 2015-08-17
Author: Serghei Iakovlev ([email protected])
public testRandomBase64 ( )

testRandomBase64Safe() public method

Tests the random base64 generation
Since: 2015-08-17
Author: Serghei Iakovlev ([email protected])

testRandomByte() public method

Tests the random bytes string generation
Since: 2015-08-17
Author: Serghei Iakovlev ([email protected])
public testRandomByte ( )

testRandomHex() public method

Tests the random hex generation
Since: 2015-08-17
Author: Serghei Iakovlev ([email protected])
public testRandomHex ( )

testRandomNumber() public method

Tests the random number generation
Since: 2015-08-17
Author: Serghei Iakovlev ([email protected])
public testRandomNumber ( )

testRandomUuid() public method

Tests the random UUID v4 generation
Since: 2015-08-17
Author: Serghei Iakovlev ([email protected])
public testRandomUuid ( )