\Tests\Unit\GatewayModule\ModelsInfoManagerTest

Tests for Gateway info manager

Summary

Methods
Properties
Constants
testGetBoardGw()
testGetBoardDeviceTree()
testGetBoardDmi()
testGetBoardUnknown()
testGetId()
testGetCoordinatorInfo()
testGetDiskUsages()
testGetMemoryUsage()
testGetSwapUsage()
testGetSwapUsageWithoutSwap()
testConvertSizes()
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

testGetBoardGw()

testGetBoardGw() : 

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

Returns

testGetBoardDeviceTree()

testGetBoardDeviceTree() : 

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

Returns

testGetBoardDmi()

testGetBoardDmi() : 

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

Returns

testGetBoardUnknown()

testGetBoardUnknown() : 

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

Returns

testGetId()

testGetId() : 

Tests the function to get the gateway ID

Returns

testGetCoordinatorInfo()

testGetCoordinatorInfo() : 

Tests the function to get information about the Coordinator

Returns

testGetDiskUsages()

testGetDiskUsages() : 

Tests the function to get disk usages

Returns

testGetMemoryUsage()

testGetMemoryUsage() : 

Tests the function to get memory usage

Returns

testGetSwapUsage()

testGetSwapUsage() : 

Tests the function to get swap usage

Returns

testGetSwapUsageWithoutSwap()

testGetSwapUsageWithoutSwap() : 

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

Returns

testConvertSizes()

testConvertSizes() : 

Tests the function to convert size in bytes to human readable format

Returns