\Test\ServiceModule\ModelsServiceManagerTest

Tests for service manager

Summary

Methods
Properties
Constants
__construct()
testStartSystemD()
testStartDockerSupervisorD()
testStartUnknown()
testStopSystemD()
testStopDockerSupervisorD()
testStopUnknown()
testRestartSystemD()
testRestartDockerSupervisorD()
testRestartUnknown()
testGetStatusSystemD()
testGetStatusDockerSupervisorD()
testGetStatusUnknown()
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\ServiceModule\Models\Container  container) : 

Constructor

Parameters

\Test\ServiceModule\Models\Container container

Nette Tester Container

Returns

testStartSystemD()

testStartSystemD() : 

Test function to start IQRF Gateway Daemon's service via systemD

Returns

testStartDockerSupervisorD()

testStartDockerSupervisorD() : 

Test function to start IQRF Gateway Daemon's service via supervisord in Docker container

Returns

testStartUnknown()

testStartUnknown() : 

Test function to start IQRF Gateway Daemon's service via unknown init daemon

Returns

testStopSystemD()

testStopSystemD() : 

Test function to stop IQRF Gateway Daemon's service via systemD

Returns

testStopDockerSupervisorD()

testStopDockerSupervisorD() : 

Test function to stop IQRF Gateway Daemon's service via supervisord in Docker container

Returns

testStopUnknown()

testStopUnknown() : 

Test function to stop IQRF Gateway Daemon's service via unknown init daemon

Returns

testRestartSystemD()

testRestartSystemD() : 

Test function to restart IQRF Gateway Daemon's service via systemD

Returns

testRestartDockerSupervisorD()

testRestartDockerSupervisorD() : 

Test function to restart IQRF Gateway Daemon's service via supervisord in Docker container

Returns

testRestartUnknown()

testRestartUnknown() : 

Test function to restart IQRF Gateway Daemon's service via unknown init daemon

Returns

testGetStatusSystemD()

testGetStatusSystemD() : 

Test function to get status of IQRF Gateway Daemon's service via systemD

Returns

testGetStatusDockerSupervisorD()

testGetStatusDockerSupervisorD() : 

Test function to get status of IQRF Gateway Daemon's service via supervisord in Docker container

Returns

testGetStatusUnknown()

testGetStatusUnknown() : 

Test function to get status of IQRF Gateway Daemon's service via unknown init daemon

Returns