Unit test for the byte array converters. More...
#include <iostream>#include <vector>#include <gtest/gtest.h>#include <ecl/config/portable_types.hpp>#include "../../include/ecl/converters/to_byte_array.hpp"#include "../../include/ecl/converters/from_byte_array.hpp"
Go to the source code of this file.
Typedefs | |
| typedef std::vector< unsigned char > | ByteArray |
Functions | |
| int | main (int argc, char **argv) |
| void | print (const ByteArray &byte_array) |
| void | print (const std::vector< char > &byte_array) |
| TEST (Converter, fromByteArray) | |
| TEST (Converter, toByteArray) | |
| TEST (Converter, toByteArrayFailedSize) | |
| TEST (Converter, charToByteArray) | |
| TEST (Converter, byteArrayStringConverters) | |
Variables | |
| bool | debug_output = false |
Unit test for the byte array converters.
Definition in file byte_array_converters.cpp.
| typedef std::vector<unsigned char> ByteArray |
Definition at line 30 of file byte_array_converters.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 136 of file byte_array_converters.cpp.
Definition at line 38 of file byte_array_converters.cpp.
| void print | ( | const std::vector< char > & | byte_array | ) |
Definition at line 47 of file byte_array_converters.cpp.
Definition at line 59 of file byte_array_converters.cpp.
Definition at line 69 of file byte_array_converters.cpp.
Definition at line 91 of file byte_array_converters.cpp.
Definition at line 103 of file byte_array_converters.cpp.
Definition at line 121 of file byte_array_converters.cpp.
| bool debug_output = false |
Definition at line 36 of file byte_array_converters.cpp.