This test file will contain a series of scanf checks for each of the directly tested TimeTag classes.
Definition at line 139 of file StringUtils_T.cpp.
Public Member Functions | |
unsigned | floatFormatTest () |
string | getFileContents (const string &fileName) |
unsigned | hexConversionTest () |
unsigned | hexDumpDataConfigTest () |
unsigned | hexDumpDataStreamFlagTest () |
unsigned | hexDumpDataTest () |
unsigned | hexToAsciiTest () |
unsigned | justificationTest () |
unsigned | numberToStringTest () |
unsigned | prettyPrintTest () |
unsigned | regularExpressionsTest () |
unsigned | splitWithDoubleQuotesTest () |
unsigned | splitWithQuotesTest () |
unsigned | stringReplaceTest () |
unsigned | stringToNumberTest () |
StringUtils_T () | |
unsigned | stripLeadingTest () |
unsigned | stripTest () |
unsigned | stripTrailingTest () |
unsigned | translateTest () |
unsigned | wordTest () |
~StringUtils_T () | |
|
inline |
Definition at line 142 of file StringUtils_T.cpp.
|
inline |
Definition at line 143 of file StringUtils_T.cpp.
|
inline |
Definition at line 1209 of file StringUtils_T.cpp.
|
inline |
Get the contents of a file and store it in a string. Used to get expected text results.
Definition at line 149 of file StringUtils_T.cpp.
|
inline |
Tests for the hex converters. Given strings with hex and decimal values, convert the values to the opposite type then compare with expected results.
Definition at line 455 of file StringUtils_T.cpp.
|
inline |
Test various output configurations for hexDumpData.
Definition at line 1047 of file StringUtils_T.cpp.
|
inline |
Test stream flags support for hexDumpData, making sure stream state is unaltered on return.
Definition at line 1016 of file StringUtils_T.cpp.
|
inline |
Test for the hexDump methods. This test is intended to verify that the output formats are correct. There are no characters that could be unique to the system configuration in these lists.
Definition at line 967 of file StringUtils_T.cpp.
|
inline |
Test for the hexDump methods.
This test is intended to verify that the unique ASCII characters are all transformed from hex and output properly.
The hexDataDump method is to display hex data in ASCII format. This output may be configured using the configHexDataDump method, or output without the comparison hex code using the printable method.
Definition at line 916 of file StringUtils_T.cpp.
|
inline |
Tests for the justification methods. Given a baseString and a filler character, the tests will justify the string to a new string of the size of the original string + 6.
Definition at line 170 of file StringUtils_T.cpp.
|
inline |
Tests for the number to string method. Given numbers of various types, convert them to a string and compare against the correct known value.
Definition at line 424 of file StringUtils_T.cpp.
|
inline |
Test for the prettyPrint method. prettyPrint will take a string and split the information into formatted lines.
Definition at line 679 of file StringUtils_T.cpp.
|
inline |
Tests for the regular expression methods. Provided a string and a regular expression query, the isLike method will return 0 or 1 if a match is found. Matches will then provide the found result.
Definition at line 642 of file StringUtils_T.cpp.
|
inline |
Test for the splitWithDoubleQuotes method. splitWithDoubleQuotes will split a string into a std::vector<std::string> respecting double quoted strings.
Definition at line 819 of file StringUtils_T.cpp.
|
inline |
Test for the splitWithQuotes method. splitWithQuotes will split a string into a std::vector<std::string> respecting single and double quoted strings.
Definition at line 732 of file StringUtils_T.cpp.
|
inline |
Tests for the string replace methods. Provided a string, replace substrings within it with other substrings and compare with expected results.
Definition at line 489 of file StringUtils_T.cpp.
|
inline |
Tests for the string to number methods. Given a baseString and a target number type, the methods should generate the appropriate values.
Definition at line 382 of file StringUtils_T.cpp.
|
inline |
Tests for the stripLeading methods. Given a baseString and a filler character and string, the tests will strip the baseString of the request string or character from the front of the string.
Definition at line 212 of file StringUtils_T.cpp.
|
inline |
Tests for the strip method. Given a baseString and a filler character and string, the tests will strip the baseString of the request string or character from both ends of the string.
Definition at line 300 of file StringUtils_T.cpp.
|
inline |
Tests for the stripTrailing methods. Given a baseString and a filler character and string, the tests will strip the baseString of the request string or character from the end of the string.
Definition at line 256 of file StringUtils_T.cpp.
|
inline |
Tests for the translate method. Given a baseString and a translation strings, the baseString will be "translated" using those translation strings.
Definition at line 342 of file StringUtils_T.cpp.
|
inline |
Tests for the word methods.
Definition at line 522 of file StringUtils_T.cpp.