OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WStringUtilsTest Class Reference

Testing some boundary cases and basic behaviour of those helper functions. More...

#include <WStringUtils_test.h>

+ Inheritance diagram for WStringUtilsTest:
+ Collaboration diagram for WStringUtilsTest:

Public Member Functions

void testVectorOutputOperator (void)
 Every vector with elements which may be passed to an ostream, should be correctly written to that stream. More...
 
void testRightTrimming (void)
 Trimming from the right side means that the left side stays unmodified and each character which is in the given character set (WHITESPACE on default) and occurs on the right side will be removed. More...
 
void testLeftTrimming (void)
 Same testing like right side trimming but now from the left side. More...
 
void testCaseTransformations (void)
 Switching to upper case means that all chars [a-z] will be transformed into [A-Z]. More...
 
void testTokenizer (void)
 Tokenizers break of a string or other character sequence into a series of tokens. More...
 

Detailed Description

Testing some boundary cases and basic behaviour of those helper functions.

Definition at line 40 of file WStringUtils_test.h.

Member Function Documentation

◆ testCaseTransformations()

void WStringUtilsTest::testCaseTransformations ( void  )
inline

Switching to upper case means that all chars [a-z] will be transformed into [A-Z].

This does explicitly not include umlauts.

Definition at line 114 of file WStringUtils_test.h.

◆ testLeftTrimming()

void WStringUtilsTest::testLeftTrimming ( void  )
inline

Same testing like right side trimming but now from the left side.

Definition at line 89 of file WStringUtils_test.h.

◆ testRightTrimming()

void WStringUtilsTest::testRightTrimming ( void  )
inline

Trimming from the right side means that the left side stays unmodified and each character which is in the given character set (WHITESPACE on default) and occurs on the right side will be removed.

Definition at line 68 of file WStringUtils_test.h.

◆ testTokenizer()

void WStringUtilsTest::testTokenizer ( void  )
inline

Tokenizers break of a string or other character sequence into a series of tokens.

Definition at line 130 of file WStringUtils_test.h.

◆ testVectorOutputOperator()

void WStringUtilsTest::testVectorOutputOperator ( void  )
inline

Every vector with elements which may be passed to an ostream, should be correctly written to that stream.

Definition at line 47 of file WStringUtils_test.h.


The documentation for this class was generated from the following file: