#include <gtest/gtest.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/secure_channel.h>
#include <opc/ua/protocol/types.h>
#include <opc/ua/protocol/protocol.h>
#include <algorithm>
#include <stdexcept>
#include <stdlib.h>
#include <string>
Go to the source code of this file.
Classes | |
class | InputChannel |
class | OpcUaBinaryDeserialization |
class | OpcUaBinarySerialization |
class | OutputChannel |
Macros | |
#define | ASSERT_APPLICATION_DESCRIPTION_EQ(desc) |
#define | ASSERT_ENDPOINT_EQ(e) |
#define | ASSERT_REQUEST_HEADER_EQ(header) |
#define | ASSERT_RESPONSE_HEADER_EQ(header) |
#define | FILL_APPLICATION_DESCRIPTION(desc) |
#define | FILL_TEST_ENDPOINT(endpoint) |
#define | FILL_TEST_REQUEST_HEADER(header) |
#define | FILL_TEST_RESPONSE_HEADER(header) |
#define | TEST_APPLICATION_DESCRIPTION_BINARY_DATA |
#define | TEST_ENDPOINT_BINARY_DATA |
#define | TEST_REQUEST_HEADER_BINARY_DATA |
#define | TEST_RESPONSE_HEADER_BINARY_DATA |
Typedefs | |
typedef OpcUa::Binary::IStream< InputChannel > | BinaryIStream |
typedef OpcUa::Binary::OStream< OutputChannel > | BinaryOStream |
Functions | |
std::string | GetEndpoint () |
std::string | GetHost () |
int | GetPort () |
std::string | PrintData (const std::vector< char > &vec) |
Test of opc ua binary handshake. GNU LGPL. More... | |
#define ASSERT_APPLICATION_DESCRIPTION_EQ | ( | desc | ) |
Definition at line 310 of file tests/protocol/common.h.
#define ASSERT_ENDPOINT_EQ | ( | e | ) |
Definition at line 352 of file tests/protocol/common.h.
#define ASSERT_REQUEST_HEADER_EQ | ( | header | ) |
Definition at line 275 of file tests/protocol/common.h.
#define ASSERT_RESPONSE_HEADER_EQ | ( | header | ) |
Definition at line 236 of file tests/protocol/common.h.
#define FILL_APPLICATION_DESCRIPTION | ( | desc | ) |
Definition at line 288 of file tests/protocol/common.h.
#define FILL_TEST_ENDPOINT | ( | endpoint | ) |
Definition at line 321 of file tests/protocol/common.h.
#define FILL_TEST_REQUEST_HEADER | ( | header | ) |
Definition at line 263 of file tests/protocol/common.h.
#define FILL_TEST_RESPONSE_HEADER | ( | header | ) |
Definition at line 222 of file tests/protocol/common.h.
#define TEST_APPLICATION_DESCRIPTION_BINARY_DATA |
Definition at line 299 of file tests/protocol/common.h.
#define TEST_ENDPOINT_BINARY_DATA |
Definition at line 337 of file tests/protocol/common.h.
#define TEST_REQUEST_HEADER_BINARY_DATA |
Definition at line 251 of file tests/protocol/common.h.
#define TEST_RESPONSE_HEADER_BINARY_DATA |
Definition at line 212 of file tests/protocol/common.h.
Definition at line 174 of file tests/protocol/common.h.
Definition at line 96 of file tests/protocol/common.h.
|
inline |
Definition at line 71 of file tests/protocol/common.h.
|
inline |
Definition at line 51 of file tests/protocol/common.h.
|
inline |
Definition at line 61 of file tests/protocol/common.h.
|
inline |
Test of opc ua binary handshake. GNU LGPL.
Definition at line 29 of file tests/protocol/common.h.