C++ Utilities
4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
The ConversionTests class tests classes and methods of the ConversionUtilities namespace. More...
Public Member Functions | |
ConversionTests () | |
void | setUp () |
void | tearDown () |
void | testConversionException () |
void | testEndianness () |
Tests whether macros for endianness are correct. More... | |
void | testBinaryConversions () |
Tests most important binary conversions. More... | |
void | testSwapOrderFunctions () |
Tests swap order functions. More... | |
void | testStringEncodingConversions () |
Tests string encoding conversions. More... | |
void | testStringConversions () |
Tests miscellaneous string conversions. More... | |
void | testStringBuilder () |
The ConversionTests class tests classes and methods of the ConversionUtilities namespace.
Definition at line 31 of file conversiontests.cpp.
ConversionTests::ConversionTests | ( | ) |
Definition at line 71 of file conversiontests.cpp.
|
inline |
Definition at line 45 of file conversiontests.cpp.
|
inline |
Definition at line 48 of file conversiontests.cpp.
void ConversionTests::testBinaryConversions | ( | ) |
Tests most important binary conversions.
Tests toUInt16(), ... toUInt64(), toInt16(), ... toInt64() and the inverse getBytes() functions with random numbers.
Definition at line 140 of file conversiontests.cpp.
void ConversionTests::testConversionException | ( | ) |
Definition at line 77 of file conversiontests.cpp.
void ConversionTests::testEndianness | ( | ) |
Tests whether macros for endianness are correct.
Definition at line 85 of file conversiontests.cpp.
void ConversionTests::testStringBuilder | ( | ) |
Definition at line 374 of file conversiontests.cpp.
void ConversionTests::testStringConversions | ( | ) |
Tests miscellaneous string conversions.
Definition at line 244 of file conversiontests.cpp.
void ConversionTests::testStringEncodingConversions | ( | ) |
Tests string encoding conversions.
Definition at line 207 of file conversiontests.cpp.
void ConversionTests::testSwapOrderFunctions | ( | ) |
Tests swap order functions.
Definition at line 164 of file conversiontests.cpp.