\Tests\Unit\IqrfNetModule\ModelsDevicesManagerTest

Test for showing devices in IQMESH Network

Summary

Methods
Properties
Constants
readJsonResponse()
testGetBonded()
testGetDiscovered()
testGetTableFail()
testGetTableSuccess()
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

readJsonResponse()

readJsonResponse(  mType) : mixed||string|int

Reads the IQRF JSON API response

Parameters

mType

Message type

Returns

mixed||string|int —

IQRF JSON API response

testGetBonded()

testGetBonded() : 

Tests the function to get bonded devices

Returns

testGetDiscovered()

testGetDiscovered() : 

Tests the function to get discovered devices

Returns

testGetTableFail()

testGetTableFail() : 

Tests the function to get table of devices in IQMESH Network (an error occurred)

Returns

testGetTableSuccess()

testGetTableSuccess() : 

Tests the function to get table of devices in IQMESH Network (success)

Returns