Classes | Functions | Variables
modbus_socket_connection_check_test Namespace Reference

Classes

class  ModbusConnectionCheckTestsuite
 

Functions

 TEST_F (ModbusConnectionCheckTestsuite, testReactionToCorrectConnection)
 
 TEST_F (ModbusConnectionCheckTestsuite, testReactionToIncorrectPort)
 
 TEST_F (ModbusConnectionCheckTestsuite, testReactionToIncorrectIP)
 
 TEST_F (ModbusConnectionCheckTestsuite, testReactionToIncorrectPortAndIncorrectIP)
 

Variables

constexpr unsigned int DEFAULT_REGISTER_SIZE { 514 }
 
constexpr unsigned int DEFAULT_WRITE_IDX { 512 }
 
constexpr unsigned int END_PORT { 20700 }
 
constexpr unsigned int START_PORT { 20600 }
 
constexpr unsigned int WRONG_PORT = 4711
 

Function Documentation

◆ TEST_F() [1/4]

modbus_socket_connection_check_test::TEST_F ( ModbusConnectionCheckTestsuite  ,
testReactionToCorrectConnection   
)

Definition at line 111 of file unittest_modbus_check_ip_connection.cpp.

◆ TEST_F() [2/4]

modbus_socket_connection_check_test::TEST_F ( ModbusConnectionCheckTestsuite  ,
testReactionToIncorrectPort   
)

Definition at line 117 of file unittest_modbus_check_ip_connection.cpp.

◆ TEST_F() [3/4]

modbus_socket_connection_check_test::TEST_F ( ModbusConnectionCheckTestsuite  ,
testReactionToIncorrectIP   
)

Definition at line 122 of file unittest_modbus_check_ip_connection.cpp.

◆ TEST_F() [4/4]

modbus_socket_connection_check_test::TEST_F ( ModbusConnectionCheckTestsuite  ,
testReactionToIncorrectPortAndIncorrectIP   
)

Definition at line 127 of file unittest_modbus_check_ip_connection.cpp.

Variable Documentation

◆ DEFAULT_REGISTER_SIZE

constexpr unsigned int modbus_socket_connection_check_test::DEFAULT_REGISTER_SIZE { 514 }

Definition at line 36 of file unittest_modbus_check_ip_connection.cpp.

◆ DEFAULT_WRITE_IDX

constexpr unsigned int modbus_socket_connection_check_test::DEFAULT_WRITE_IDX { 512 }

Definition at line 37 of file unittest_modbus_check_ip_connection.cpp.

◆ END_PORT

constexpr unsigned int modbus_socket_connection_check_test::END_PORT { 20700 }

Definition at line 35 of file unittest_modbus_check_ip_connection.cpp.

◆ START_PORT

constexpr unsigned int modbus_socket_connection_check_test::START_PORT { 20600 }

Definition at line 34 of file unittest_modbus_check_ip_connection.cpp.

◆ WRONG_PORT

constexpr unsigned int modbus_socket_connection_check_test::WRONG_PORT = 4711

Definition at line 38 of file unittest_modbus_check_ip_connection.cpp.



prbt_hardware_support
Author(s):
autogenerated on Thu Feb 4 2021 03:09:23