C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
The ConversionTests class tests classes and functions provided by the files inside the conversion directory. More...
Public Member Functions | |
ConversionTests () | |
void | setUp () |
void | tearDown () |
void | testConversionException () |
void | testEndianness () |
Tests whether macros for endianness are correct. | |
void | testBinaryConversions () |
Tests most important binary conversions. | |
void | testSwapOrderFunctions () |
Tests swap order functions. | |
void | testStringEncodingConversions () |
Tests string encoding conversions. | |
void | testStringConversions () |
Tests miscellaneous string conversions. | |
void | testStringBuilder () |
The ConversionTests class tests classes and functions provided by the files inside the conversion directory.
Definition at line 37 of file conversiontests.cpp.
ConversionTests::ConversionTests | ( | ) |
Definition at line 77 of file conversiontests.cpp.
|
inline |
Definition at line 51 of file conversiontests.cpp.
|
inline |
Definition at line 54 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 146 of file conversiontests.cpp.
void ConversionTests::testConversionException | ( | ) |
Definition at line 83 of file conversiontests.cpp.
void ConversionTests::testEndianness | ( | ) |
Tests whether macros for endianness are correct.
Definition at line 91 of file conversiontests.cpp.
void ConversionTests::testStringBuilder | ( | ) |
Definition at line 433 of file conversiontests.cpp.
void ConversionTests::testStringConversions | ( | ) |
Tests miscellaneous string conversions.
Definition at line 250 of file conversiontests.cpp.
void ConversionTests::testStringEncodingConversions | ( | ) |
Tests string encoding conversions.
Definition at line 213 of file conversiontests.cpp.
void ConversionTests::testSwapOrderFunctions | ( | ) |
Tests swap order functions.
Definition at line 170 of file conversiontests.cpp.