Functions
binary_serialize_variant.cpp File Reference
#include "common.h"
#include <opc/ua/protocol/extension_identifiers.h>
#include <opc/ua/protocol/message_identifiers.h>
#include <opc/ua/protocol/binary/stream.h>
#include <opc/ua/protocol/data_value.h>
#include <opc/ua/protocol/types.h>
#include <opc/ua/protocol/variant.h>
#include <algorithm>
#include <stdexcept>
Include dependency graph for binary_serialize_variant.cpp:

Go to the source code of this file.

Functions

OpcUa::Guid CreateTestGuid ()
 
 TEST (Variant, InitializeNUL)
 
More...
 
 TEST (Variant, InitializeWithBoolValue)
 
 TEST (Variant, AssignBoolValue)
 
 TEST (Variant, InitializeWithBoolVector)
 
 TEST (Variant, InitializeWithString)
 
 TEST (Variant, InitializeWithVariant)
 
 TEST (Variant, InitializeObjectId)
 
 TEST (Variant, InitializeMessageId)
 
 TEST (Variant, Comparable)
 
 TEST_F (OpcUaBinarySerialization, Variant_NUL)
 Test of opc ua binary attributes. GNU LGPL. More...
 
 TEST_F (OpcUaBinarySerialization, Variant_BOOLEAN)
 
 TEST_F (OpcUaBinarySerialization, Variant_BOOLEAN_Array)
 
 TEST_F (OpcUaBinarySerialization, Variant_BOOLEAN_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_NUL)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BOOLEAN)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BOOLEAN_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BOOLEAN_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BYTE)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BYTE_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BYTE_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_SBYTE)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_SBYTE_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_SBYTE_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT16)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT16_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT16_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT16)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT16_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT16_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT32)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT32_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT32_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT32)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT32_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT32_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT64)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT64_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_INT64_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT64)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT64_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_UINT64_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_FLOAT)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_FLOAT_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_FLOAT_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_DOUBLE)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_DOUBLE_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_DOUBLE_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_GUId)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_GUId_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_GUId_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_STRING)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_STRING_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_STRING_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BYTE_STRING)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BYTE_STRING_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_BYTE_STRING_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_DATETIME)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_DATE_TIME_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_DATE_TIME_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_LOCALIZED_TEXT)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_LOCALIZED_TEXT_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_LOCALIZED_TEXT_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_QUALIFIED_NAME)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_QUALIFIED_NAME_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_QUALIFIED_NAME_DIMENSIONS)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_NODE_Id)
 
More...
 
 TEST_F (OpcUaBinaryDeserialization, Variant_NODE_Id_Array)
 
 TEST_F (OpcUaBinaryDeserialization, Variant_NODE_Id_DIMENSIONS)
 

Function Documentation

OpcUa::Guid CreateTestGuid ( )

Definition at line 1081 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
InitializeNUL   
)


Definition at line 1711 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
InitializeWithBoolValue   
)

Definition at line 1719 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
AssignBoolValue   
)

Definition at line 1727 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
InitializeWithBoolVector   
)

Definition at line 1738 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
InitializeWithString   
)

Definition at line 1747 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
InitializeWithVariant   
)

Definition at line 1755 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
InitializeObjectId   
)

Definition at line 1763 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
InitializeMessageId   
)

Definition at line 1772 of file binary_serialize_variant.cpp.

TEST ( Variant  ,
Comparable   
)

Definition at line 1819 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinarySerialization  ,
Variant_NUL   
)

Test of opc ua binary attributes. GNU LGPL.

Author
Alexander Rykovanov 2012 rykov.nosp@m.anov.nosp@m..as@g.nosp@m.mail.nosp@m..com Distributed under the GNU LGPL License (See accompanying file LICENSE or copy at http://www.gnu.org/licenses/lgpl.html)

Definition at line 27 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinarySerialization  ,
Variant_BOOLEAN   
)

Definition at line 46 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinarySerialization  ,
Variant_BOOLEAN_Array   
)

Definition at line 67 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinarySerialization  ,
Variant_BOOLEAN_DIMENSIONS   
)

Definition at line 91 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_NUL   
)

Definition at line 120 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BOOLEAN   
)

Definition at line 140 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BOOLEAN_Array   
)

Definition at line 164 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BOOLEAN_DIMENSIONS   
)

Definition at line 195 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BYTE   
)


Definition at line 221 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BYTE_Array   
)

Definition at line 245 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BYTE_DIMENSIONS   
)

Definition at line 277 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_SBYTE   
)


Definition at line 307 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_SBYTE_Array   
)

Definition at line 331 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_SBYTE_DIMENSIONS   
)

Definition at line 363 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT16   
)


Definition at line 390 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT16_Array   
)

Definition at line 415 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT16_DIMENSIONS   
)

Definition at line 447 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT16   
)


Definition at line 476 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT16_Array   
)

Definition at line 501 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT16_DIMENSIONS   
)

Definition at line 533 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT32   
)


Definition at line 562 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT32_Array   
)

Definition at line 587 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT32_DIMENSIONS   
)

Definition at line 619 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT32   
)


Definition at line 648 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT32_Array   
)

Definition at line 673 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT32_DIMENSIONS   
)

Definition at line 705 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT64   
)


Definition at line 734 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT64_Array   
)

Definition at line 759 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_INT64_DIMENSIONS   
)

Definition at line 791 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT64   
)


Definition at line 820 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT64_Array   
)

Definition at line 845 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_UINT64_DIMENSIONS   
)

Definition at line 877 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_FLOAT   
)


Definition at line 906 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_FLOAT_Array   
)

Definition at line 932 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_FLOAT_DIMENSIONS   
)

Definition at line 966 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_DOUBLE   
)


Definition at line 996 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_DOUBLE_Array   
)

Definition at line 1021 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_DOUBLE_DIMENSIONS   
)

Definition at line 1053 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_GUId   
)


Definition at line 1097 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_GUId_Array   
)

Definition at line 1124 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_GUId_DIMENSIONS   
)

Definition at line 1158 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_STRING   
)


Definition at line 1189 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_STRING_Array   
)

Definition at line 1214 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_STRING_DIMENSIONS   
)

Definition at line 1248 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BYTE_STRING   
)


Definition at line 1279 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BYTE_STRING_Array   
)

Definition at line 1304 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_BYTE_STRING_DIMENSIONS   
)

Definition at line 1336 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_DATETIME   
)


Definition at line 1367 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_DATE_TIME_Array   
)

Definition at line 1392 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_DATE_TIME_DIMENSIONS   
)

Definition at line 1424 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_LOCALIZED_TEXT   
)


Definition at line 1453 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_LOCALIZED_TEXT_Array   
)

Definition at line 1478 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_LOCALIZED_TEXT_DIMENSIONS   
)

Definition at line 1510 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_QUALIFIED_NAME   
)


Definition at line 1539 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_QUALIFIED_NAME_Array   
)

Definition at line 1564 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_QUALIFIED_NAME_DIMENSIONS   
)

Definition at line 1596 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_NODE_Id   
)


Definition at line 1625 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_NODE_Id_Array   
)

Definition at line 1650 of file binary_serialize_variant.cpp.

TEST_F ( OpcUaBinaryDeserialization  ,
Variant_NODE_Id_DIMENSIONS   
)

Definition at line 1681 of file binary_serialize_variant.cpp.



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