Classes | Functions
unittest_modbus_api_spec.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <string>
#include <memory>
#include <prbt_hardware_support/modbus_api_spec.h>
Include dependency graph for unittest_modbus_api_spec.cpp:

Go to the source code of this file.

Classes

class  NodeHandleMock
 

Functions

int main (int argc, char **argv)
 
 TEST (ModbusApiSpecTest, testModbusApiSpecExceptionDtor)
 Test increases function coverage by ensuring that all Dtor variants are called. More...
 
 TEST (ModbusApiSpecTest, ConstructionViaInitilizerListRead)
 
 TEST (ModbusApiSpecTest, ConstructionViaInitilizerListReadNonExistent)
 
 TEST (ModbusApiSpecTest, ConstructionViaInitilizerListOverwrite)
 
 TEST (ModbusApiSpecTest, NodeHandleConstructionSimpleRead)
 
 TEST (ModbusApiSpecTest, NodeHandleConstructionMissingApiSpec)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 112 of file unittest_modbus_api_spec.cpp.

TEST ( ModbusApiSpecTest  ,
testModbusApiSpecExceptionDtor   
)

Test increases function coverage by ensuring that all Dtor variants are called.

Definition at line 40 of file unittest_modbus_api_spec.cpp.

TEST ( ModbusApiSpecTest  ,
ConstructionViaInitilizerListRead   
)

Definition at line 45 of file unittest_modbus_api_spec.cpp.

TEST ( ModbusApiSpecTest  ,
ConstructionViaInitilizerListReadNonExistent   
)

Definition at line 55 of file unittest_modbus_api_spec.cpp.

TEST ( ModbusApiSpecTest  ,
ConstructionViaInitilizerListOverwrite   
)

Definition at line 63 of file unittest_modbus_api_spec.cpp.

TEST ( ModbusApiSpecTest  ,
NodeHandleConstructionSimpleRead   
)

Definition at line 78 of file unittest_modbus_api_spec.cpp.

TEST ( ModbusApiSpecTest  ,
NodeHandleConstructionMissingApiSpec   
)

Definition at line 94 of file unittest_modbus_api_spec.cpp.



prbt_hardware_support
Author(s):
autogenerated on Tue Feb 2 2021 03:50:18