reference_id.cpp
Go to the documentation of this file.
1 
11 #include "common.h"
12 
13 using namespace testing;
14 using namespace OpcUa;
15 
16 TEST(ReferenceIdFromNodeId, CanBeConvertedFromValidNodeId)
17 {
19  ASSERT_EQ(id.Encoding, EV_NUMERIC);
20  ASSERT_EQ(id.NumericData.NamespaceIndex, 0);
21  ASSERT_EQ(static_cast<ReferenceId>(id.NumericData.Identifier), ReferenceId::HasChild);
22 }
23 
TEST(GTestEnvVarTest, Dummy)
OPC UA Address space part. GNU LGPL.
#define ASSERT_EQ(val1, val2)
const char HasChild[]
Definition: strings.h:68


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