LRAUV  revA
Str_Test Class Reference

Units tests for class Str More...

#include <Str_Test.h>

Inheritance diagram for Str_Test:
Collaboration diagram for Str_Test:

Public Member Functions

void testConstructorCharStar (void)
 Units tests for Str( const char* str = NULL, size_t length = NO_POS ); More...
 
void testCopyConstructor (void)
 Units tests for Str( const Str& str, const size_t offset = 0, size_t count = NO_POS ); More...
 
void testBoolConstructor (void)
 Units tests for Str( const bool var ); More...
 
void testDoubleConstructor (void)
 Units tests for Str( const double var, size_t precision = 10 ) More...
 
void testIntConstructor (void)
 Units tests for Str( const int var, size_t radix = 10 ) More...
 
void testSizeTConstructor (void)
 Units tests for Str( const unsigned int var, size_t radix = 16 ) More...
 
void testIntToAscii (void)
 Str::IntToAscii Unit Tests. More...
 
void testIntToAsciiWithOffset (void)
 Str::IntToAscii Unit Tests. More...
 
void testFindLastOf ()
 
void testSplit ()
 
void testAsHex ()
 

Detailed Description

Units tests for class Str

Member Function Documentation

void Str_Test::testAsHex ( )
inline
void Str_Test::testBoolConstructor ( void  )
inline

Units tests for Str( const bool var );

References Str::cStr(), and Str::length().

void Str_Test::testConstructorCharStar ( void  )
inline

Units tests for Str( const char* str = NULL, size_t length = NO_POS );

References Str::cStr(), Str::EMPTY_STR, and Str::length().

void Str_Test::testCopyConstructor ( void  )
inline

Units tests for Str( const Str& str, const size_t offset = 0, size_t count = NO_POS );

References Str::cStr(), Str::length(), and Str::MAX_LEN.

void Str_Test::testDoubleConstructor ( void  )
inline

Units tests for Str( const double var, size_t precision = 10 )

References Str::cStr(), and Str::length().

void Str_Test::testFindLastOf ( )
inline

References Str::findLastOf(), and Str::NO_POS.

void Str_Test::testIntConstructor ( void  )
inline

Units tests for Str( const int var, size_t radix = 10 )

References Str::cStr(), and Str::length().

void Str_Test::testIntToAscii ( void  )
inline

Str::IntToAscii Unit Tests.

References Str::IntToAscii().

void Str_Test::testIntToAsciiWithOffset ( void  )
inline

Str::IntToAscii Unit Tests.

References Str::IntToAscii().

void Str_Test::testSizeTConstructor ( void  )
inline

Units tests for Str( const unsigned int var, size_t radix = 16 )

References Str::cStr(), and Str::length().

void Str_Test::testSplit ( )
inline

References Str::split().


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