Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite Class Reference
Inheritance diagram for modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite:
Inheritance graph
[legend]

Public Member Functions

void SetUp () override
 
void TearDown () override
 

Static Public Member Functions

static void SetUpTestCase ()
 

Protected Member Functions

void shutdownModbusServer (PilzModbusServerMock *server, LibModbusClient &client)
 

Static Protected Member Functions

static unsigned int testPort ()
 

Protected Attributes

LibModbusClient client_
 
std::unique_ptr< PilzModbusServerMockserver_ { new PilzModbusServerMock(DEFAULT_REGISTER_SIZE) }
 

Static Protected Attributes

static unsigned int ACTIVE_PORT_IDX_ = 0
 
static std::vector< unsigned int > PORTS_FOR_TEST_
 

Detailed Description

Definition at line 40 of file unittest_modbus_check_ip_connection.cpp.

Member Function Documentation

◆ SetUp()

void modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::SetUp ( )
override

Definition at line 66 of file unittest_modbus_check_ip_connection.cpp.

◆ SetUpTestCase()

void modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::SetUpTestCase ( )
static

Definition at line 89 of file unittest_modbus_check_ip_connection.cpp.

◆ shutdownModbusServer()

void modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::shutdownModbusServer ( PilzModbusServerMock server,
LibModbusClient client 
)
protected

Definition at line 94 of file unittest_modbus_check_ip_connection.cpp.

◆ TearDown()

void modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::TearDown ( )
override

Definition at line 76 of file unittest_modbus_check_ip_connection.cpp.

◆ testPort()

unsigned int modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::testPort ( )
staticprotected

Definition at line 84 of file unittest_modbus_check_ip_connection.cpp.

Member Data Documentation

◆ ACTIVE_PORT_IDX_

unsigned int modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::ACTIVE_PORT_IDX_ = 0
staticprotected

Definition at line 58 of file unittest_modbus_check_ip_connection.cpp.

◆ client_

LibModbusClient modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::client_
protected

Definition at line 54 of file unittest_modbus_check_ip_connection.cpp.

◆ PORTS_FOR_TEST_

std::vector< unsigned int > modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::PORTS_FOR_TEST_
staticprotected
Initial value:
=
std::vector<unsigned int>(END_PORT - START_PORT)

Definition at line 59 of file unittest_modbus_check_ip_connection.cpp.

◆ server_

std::unique_ptr<PilzModbusServerMock> modbus_socket_connection_check_test::ModbusConnectionCheckTestsuite::server_ { new PilzModbusServerMock(DEFAULT_REGISTER_SIZE) }
protected

Definition at line 55 of file unittest_modbus_check_ip_connection.cpp.


The documentation for this class was generated from the following file:


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