\Test\IqrfNetModule\ModelsDpaRawManagerTest

Tests for DPA Raw request and response manager

Summary

Methods
Properties
Constants
__construct()
testValidatePacketInvalid()
testValidatePacketValid()
testUpdateNadr()
testParseResponseBroadcast()
testParseResponseCoordinator()
testParseResponseEnumerationParser()
testParseResponseOsParser()
testParseResponseWithoutParser()
testGetPacketRequest()
testGetPacketResponse()
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

__construct()

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

Constructor

Parameters

\Test\IqrfNetModule\Models\Container container

Nette Tester Container

Returns

testValidatePacketInvalid()

testValidatePacketInvalid() : 

Test function to validation of raw IQRF packet (invalid packet)

Returns

testValidatePacketValid()

testValidatePacketValid() : 

Test function to validation of raw IQRF packet (valid packet)

Returns

testUpdateNadr()

testUpdateNadr() : 

Test function to update NADR in raw DPA packet

Returns

testParseResponseBroadcast()

testParseResponseBroadcast() : 

Test function to parse DPA response (broadcast)

Returns

testParseResponseCoordinator()

testParseResponseCoordinator() : 

Test function to parse DPA response (Coordinator parser)

Returns

testParseResponseEnumerationParser()

testParseResponseEnumerationParser() : 

Test function to parse DPA response (Enumeration parser)

Returns

testParseResponseOsParser()

testParseResponseOsParser() : 

Test function to parse DPA response (OS parser)

Returns

testParseResponseWithoutParser()

testParseResponseWithoutParser() : 

Test function to parse DPA response (without parser)

Returns

testGetPacketRequest()

testGetPacketRequest() : 

Test function to get a DPA packet from JSON DPA request

Returns

testGetPacketResponse()

testGetPacketResponse() : 

Test function to get a DPA packet from JSON DPA response

Returns