\Tests\Unit\IqrfNetModule\ModelsGwModeManagerTest

Tests for IQRF Gateway Daemon's mode manager

Summary

Methods
Properties
Constants
readJsonResponse()
testGet()
testSetInvalid()
testSetValid()
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

testGet()

testGet() : 

Tests the function to get current IQRF Gateway Daemon's mode

Returns

testSetInvalid()

testSetInvalid() : 

Tests the function to set IQRF Gateway Daemon's mode (invalid mode)

Returns

testSetValid()

testSetValid() : 

Tests the function to set IQRF Gateway Daemon's mode (valid mode)

Returns