\Test\CoreModule\ModelVersionManagerTest

Tests for version manager

Summary

Methods
Properties
Constants
__construct()
testAvailableWebappUpdateNo()
testAvailableWebappUpdateYes()
testGetCurrentWebappStable()
testGetCurrentWebappMaster()
testGetInstalledWebapp()
testGetInstalledWebappGit()
testGetInstalledWebappFallback()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\Test\CoreModule\Model\Container  container) : 

Constructor

Parameters

\Test\CoreModule\Model\Container container

Nette Tester Container

Returns

testAvailableWebappUpdateNo()

testAvailableWebappUpdateNo() : 

Test function to check if an update is available for the webapp

Returns

testAvailableWebappUpdateYes()

testAvailableWebappUpdateYes() : 

Test function to check if an update is available for the webapp

Returns

testGetCurrentWebappStable()

testGetCurrentWebappStable() : 

Test function to get the current webapp version (stable - success)

Returns

testGetCurrentWebappMaster()

testGetCurrentWebappMaster() : 

Test function to get the current webapp version (stable - failure, master - success)

Returns

testGetInstalledWebapp()

testGetInstalledWebapp() : 

Test function to get the installed webapp version

Returns

testGetInstalledWebappGit()

testGetInstalledWebappGit() : 

Test function to get the installed webapp version with git

Returns

testGetInstalledWebappFallback()

testGetInstalledWebappFallback() : 

Test function to get the installed webapp version

Returns