error_test.cpp
Go to the documentation of this file.
1 
11 #include <opc/common/exception.h>
12 
13 #include <cppunit/extensions/HelperMacros.h>
14 #include <cppunit/config/SourcePrefix.h>
15 #include <iostream>
16 
17 class ErrorTestCase : public CPPUNIT_NS::TestFixture
18 {
22 
23 protected:
24  void Test();
25 };
26 
28 
30 {
31  Common::Error(1, "test_file", 2, "test_message");
32 }
CPPUNIT_TEST_SUITE(ErrorTestCase)
CPPUNIT_TEST_SUITE_REGISTRATION(ErrorTestCase)
Tests of Common::Error GNU LGPL.
Definition: error_test.cpp:17
CPPUNIT_TEST(Test)


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:06:04