PHP Class AutoUpdateTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: visualappeal/php-auto-update

Public Methods

Method Description
testBranchDev ( ) Ensure that a new dev version is available.
testBranchMaster ( ) Ensure that no new master version is available
testErrorUpdateCheck ( )
testIniNewVersion ( ) Test if new update is available with a ini file.
testIniNoNewVersion ( ) Test if NO new update is available with a ini file.
testInit ( ) Test creation of class instance.
testJsonNewVersion ( ) Test if new update is available with a json file.
testJsonNoNewVersion ( ) Test if NO new update is available with a json file.
testTrailingSlashes ( ) Test the trailing slash method.

Protected Methods

Method Description
setUp ( )
tearDown ( )

Method Details

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testBranchDev() public method

Ensure that a new dev version is available.
public testBranchDev ( )

testBranchMaster() public method

Ensure that no new master version is available
public testBranchMaster ( )

testErrorUpdateCheck() public method

testIniNewVersion() public method

Test if new update is available with a ini file.
public testIniNewVersion ( )

testIniNoNewVersion() public method

Test if NO new update is available with a ini file.
public testIniNoNewVersion ( )

testInit() public method

Test creation of class instance.
public testInit ( )

testJsonNewVersion() public method

Test if new update is available with a json file.
public testJsonNewVersion ( )

testJsonNoNewVersion() public method

Test if NO new update is available with a json file.

testTrailingSlashes() public method

Test the trailing slash method.
public testTrailingSlashes ( )