Methods

__construct()

__construct(\Test\GatewayModule\Models\Container  container) : 

Constructor

Parameters

\Test\GatewayModule\Models\Container container

Nette Tester Container

Returns

testGetBoardGw()

testGetBoardGw() : 

Test function to get information about the board (via IQRF GW json)

Returns

testGetBoardDeviceTree()

testGetBoardDeviceTree() : 

Test function to get information about the board (via device tree)

Returns

testGetBoardDmi()

testGetBoardDmi() : 

Test function to get information about the board (via DMI)

Returns

testGetBoardUnknown()

testGetBoardUnknown() : 

Test function to get information about the board (unknown method)

Returns

testGetId()

testGetId() : 

Test function to get the gateway ID

Returns

testGetIpAddresses()

testGetIpAddresses() : 

Test function to get IPv4 and IPv6 addresses of the gateway

Returns

testGetMacAddresses()

testGetMacAddresses() : 

Test function to get MAC addresses of the gateway

Returns

testGetHostname()

testGetHostname() : 

Test function to get hostname of the gateway

Returns

testGetCoordinatorInfo()

testGetCoordinatorInfo() : 

Test function to get information about the Coordinator

Returns

testGetDaemonVersion()

testGetDaemonVersion() : 

Test function to get IQRF Gateway Daemon's version

Returns

testGetDaemonVersionNotInstalled()

testGetDaemonVersionNotInstalled() : 

Test function to get IQRF Gateway Daemon's version (IQRF Gateway Daemon is not installed)

Returns

testGetDaemonVersionUnknown()

testGetDaemonVersionUnknown() : 

Test function to get IQRF Gateway Daemon's version (unknown version)

Returns

testGetWebAppVersion()

testGetWebAppVersion() : 

Test function to get version of the webapp

Returns

testGetDiskUsages()

testGetDiskUsages() : 

Test function to get disk usages

Returns

testGetMemoryUsage()

testGetMemoryUsage() : 

Test function to get memory usage

Returns

testGetSwapUsage()

testGetSwapUsage() : 

Test function to get swap usage

Returns

testGetSwapUsageWithoutSwap()

testGetSwapUsageWithoutSwap() : 

Test function to get swap usage (computer hasn't got swap)

Returns

testConvertSizes()

testConvertSizes() : 

Test function to convert size in bytes to human readable format

Returns