\Tests\Unit\IqrfNetModule\ModelsGwModeManagerTest

Tests for IQRF Gateway Daemon's mode manager

Summary

Methods
Properties
Constants
readJsonResponse()
testChangeOperationModeInvalid()
testChangeOperationModeValid()
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

testChangeOperationModeInvalid()

testChangeOperationModeInvalid() : 

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

Returns

testChangeOperationModeValid()

testChangeOperationModeValid() : 

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

Returns