PHP Class Phalcon\Test\Unit\VersionTest

Author: Andres Gutierrez ([email protected])
Author: Nikolaos Dimopoulos ([email protected])
Inheritance: extends Phalcon\Test\Module\UnitTest
Show file Open project: phalcon/cphalcon

Public Methods

Method Description
testVersionConstants ( ) Tests the constants of the class
testVersionGet ( ) Tests the get
testVersionGetId ( ) Tests the getId()
testVersionGetIdToGet ( ) Tests the getId() translation to get()
testVersionGetPart ( ) Tests the getPart with variable parameters passed, valid or not
testVersionGetToGetId ( ) Tests the get() translation to getId()

Private Methods

Method Description
numberToSpecial ( $number ) : string Translates a number to a special version string (ALPHA, BETA, RC)
specialToNumber ( $input ) : string Translates a special version (ALPHA, BETA, RC) to a version number

Method Details

testVersionConstants() public method

Tests the constants of the class
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])

testVersionGet() public method

Tests the get
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])
public testVersionGet ( )

testVersionGetId() public method

Tests the getId()
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])
public testVersionGetId ( )

testVersionGetIdToGet() public method

Tests the getId() translation to get()
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])

testVersionGetPart() public method

Tests the getPart with variable parameters passed, valid or not
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])
public testVersionGetPart ( )

testVersionGetToGetId() public method

Tests the get() translation to getId()
Since: 2014-09-04
Author: Nikolaos Dimopoulos ([email protected])