error_test.cpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 #include <opc/common/exception.h>
00012 
00013 #include <cppunit/extensions/HelperMacros.h>
00014 #include <cppunit/config/SourcePrefix.h>
00015 #include <iostream>
00016 
00017 class ErrorTestCase : public CPPUNIT_NS::TestFixture
00018 {
00019   CPPUNIT_TEST_SUITE(ErrorTestCase);
00020   CPPUNIT_TEST(Test);
00021   CPPUNIT_TEST_SUITE_END();
00022 
00023 protected:
00024   void Test();
00025 };
00026 
00027 CPPUNIT_TEST_SUITE_REGISTRATION( ErrorTestCase );
00028 
00029 void ErrorTestCase::Test()
00030 {
00031   Common::Error(1, "test_file", 2, "test_message");
00032 }


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:24:40