18 #include <gtest/gtest.h> 30 TEST(PilzModbusExceptionTests, testMsgWhat)
32 const std::string test_string{
"TEST_STRING"};
34 EXPECT_EQ(test_string, exception->what());
39 int main(
int argc,
char *argv[])
41 testing::InitGoogleTest(&argc, argv);
42 return RUN_ALL_TESTS();
TEST(PilzModbusExceptionTests, testMsgWhat)
Test message setting.
int main(int argc, char *argv[])
Expection thrown by prbt_hardware_support::LibModbusClient::readHoldingRegister if a disconnect from ...