![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
#include "irsol/protocol/message/error.hpp"
#include <catch2/catch_all.hpp>
#include <memory>
#include <string>
Go to the source code of this file.
Functions | |
CHECK (result.identifier==identifier) | |
irsol::protocol::InMessage | assignmentInMessage (assignment) |
irsol::protocol::InMessage | inquiryInMessage (inquiry) |
irsol::protocol::InMessage | commandInMessage (command) |
Variables | |
auto | description = GENERATE("hello world", "error description") |
irsol::protocol::Assignment | assignment {identifier, value} |
auto | result = irsol::protocol::Error::from(assignment, description) |
irsol::protocol::InMessage assignmentInMessage | ( | assignment | ) |
CHECK | ( | result. | identifier = =identifier | ) |
irsol::protocol::InMessage commandInMessage | ( | command | ) |
irsol::protocol::InMessage inquiryInMessage | ( | inquiry | ) |
irsol::protocol::Assignment assignment {identifier, value} |
Definition at line 16 of file test_error.cpp.
auto description = GENERATE("hello world", "error description") |
Definition at line 10 of file test_error.cpp.
auto result = irsol::protocol::Error::from(assignment, description) |
Definition at line 17 of file test_error.cpp.