TsHexUtils Class Reference

Test suite for hex utils. More...

#include <TsHexUtils.h>

Inheritance diagram for TsHexUtils:

Public Member Functions

void setUp ()
 
void tearDown ()
 

Protected Member Functions

void tcBinary2Hex2_1 ()
 Test Case: It Converts Binary to Hex. More...
 
void tcBinary2Hex_size ()
 Test Case: It Converts Binary to Hex. More...
 
void tcChar2Hex ()
 Test Case: It Converts char to Hex. More...
 
void tcGetDecimalFromHexLCase ()
 Test Case: Get Decimal from Hex (Lower case). More...
 
void tcGetDecimalFromHexNotCS ()
 Test Case: Get Decimal from Hex (no case sensitive). More...
 
void tcGetDecimalFromHexUCase ()
 Test Case: Get Decimal from Hex (Upper case). More...
 
void tcHex2Binary2 ()
 Test Case: It Converts Hex to Binary. More...
 
void tcHex2Binary_1 ()
 Test Case: It Converts Hex to Binary. More...
 
void tcHex2Binary_2 ()
 Test Case: It Converts Hex to Binary. More...
 
void tcHex2Binary_3 ()
 Test Case: It Converts Hex to Binary. More...
 
void tcHex2Char ()
 Test Case: It Converts Hex to Char. More...
 
void tcHex2Char2 ()
 Test Case: It Converts Hex to Char. More...
 

Private Member Functions

 CPPUNIT_TEST (tcHex2Char)
 
 CPPUNIT_TEST (tcHex2Char2)
 
 CPPUNIT_TEST (tcChar2Hex)
 
 CPPUNIT_TEST (tcGetDecimalFromHexNotCS)
 
 CPPUNIT_TEST (tcGetDecimalFromHexUCase)
 
 CPPUNIT_TEST (tcGetDecimalFromHexLCase)
 
 CPPUNIT_TEST (tcHex2Binary_1)
 
 CPPUNIT_TEST (tcHex2Binary_2)
 
 CPPUNIT_TEST (tcHex2Binary_3)
 
 CPPUNIT_TEST (tcHex2Binary2)
 
 CPPUNIT_TEST (tcBinary2Hex2_1)
 
 CPPUNIT_TEST (tcBinary2Hex_size)
 
 CPPUNIT_TEST_SUITE (TsHexUtils)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Test suite for hex utils.

Definition at line 37 of file TsHexUtils.h.

Member Function Documentation

TsHexUtils::CPPUNIT_TEST ( tcHex2Char  )
private
TsHexUtils::CPPUNIT_TEST ( tcHex2Char2  )
private
TsHexUtils::CPPUNIT_TEST ( tcChar2Hex  )
private
TsHexUtils::CPPUNIT_TEST ( tcGetDecimalFromHexNotCS  )
private
TsHexUtils::CPPUNIT_TEST ( tcGetDecimalFromHexUCase  )
private
TsHexUtils::CPPUNIT_TEST ( tcGetDecimalFromHexLCase  )
private
TsHexUtils::CPPUNIT_TEST ( tcHex2Binary_1  )
private
TsHexUtils::CPPUNIT_TEST ( tcHex2Binary_2  )
private
TsHexUtils::CPPUNIT_TEST ( tcHex2Binary_3  )
private
TsHexUtils::CPPUNIT_TEST ( tcHex2Binary2  )
private
TsHexUtils::CPPUNIT_TEST ( tcBinary2Hex2_1  )
private
TsHexUtils::CPPUNIT_TEST ( tcBinary2Hex_size  )
private
TsHexUtils::CPPUNIT_TEST_SUITE ( TsHexUtils  )
private
TsHexUtils::CPPUNIT_TEST_SUITE_END ( )
private
void TsHexUtils::setUp ( )
void TsHexUtils::tcBinary2Hex2_1 ( )
protected

Test Case: It Converts Binary to Hex.

Definition at line 467 of file TsHexUtils.cpp.

References te::core::Hex2Binary2().

void TsHexUtils::tcBinary2Hex_size ( )
protected

Test Case: It Converts Binary to Hex.

Definition at line 487 of file TsHexUtils.cpp.

References te::core::Binary2Hex().

void TsHexUtils::tcChar2Hex ( )
protected

Test Case: It Converts char to Hex.

Definition at line 202 of file TsHexUtils.cpp.

References te::core::Char2Hex(), and te::common::Convert().

void TsHexUtils::tcGetDecimalFromHexLCase ( )
protected

Test Case: Get Decimal from Hex (Lower case).

Definition at line 175 of file TsHexUtils.cpp.

References dec_invalid, dec_val, te::core::GetDecimalFromHexLCase(), hex_lcase, and hex_upper.

void TsHexUtils::tcGetDecimalFromHexNotCS ( )
protected

Test Case: Get Decimal from Hex (no case sensitive).

Definition at line 94 of file TsHexUtils.cpp.

References dec_invalid, dec_val, dec_val_uchar, te::core::GetDecimalFromHexNotCS(), hex_invalid_0_F, and hex_lcase.

void TsHexUtils::tcGetDecimalFromHexUCase ( )
protected

Test Case: Get Decimal from Hex (Upper case).

Definition at line 145 of file TsHexUtils.cpp.

References dec_invalid, dec_val, te::core::GetDecimalFromHexUCase(), hex_lower, and hex_ucase.

void TsHexUtils::tcHex2Binary2 ( )
protected

Test Case: It Converts Hex to Binary.

Definition at line 450 of file TsHexUtils.cpp.

References te::core::Hex2Binary2().

void TsHexUtils::tcHex2Binary_1 ( )
protected

Test Case: It Converts Hex to Binary.

Definition at line 391 of file TsHexUtils.cpp.

References te::core::Hex2Binary().

void TsHexUtils::tcHex2Binary_2 ( )
protected

Test Case: It Converts Hex to Binary.

Definition at line 407 of file TsHexUtils.cpp.

References te::core::Hex2Binary().

void TsHexUtils::tcHex2Binary_3 ( )
protected

Test Case: It Converts Hex to Binary.

Definition at line 432 of file TsHexUtils.cpp.

References te::core::Hex2Binary().

void TsHexUtils::tcHex2Char ( )
protected

Test Case: It Converts Hex to Char.

Definition at line 232 of file TsHexUtils.cpp.

References te::common::Convert(), and te::core::Hex2Char().

void TsHexUtils::tcHex2Char2 ( )
protected

Test Case: It Converts Hex to Char.

Definition at line 315 of file TsHexUtils.cpp.

References te::common::Convert(), and te::core::Hex2Char2().

void TsHexUtils::tearDown ( )

Definition at line 83 of file TsHexUtils.cpp.

References dec_val, dec_val_uchar, hex_invalid_0_F, hex_lcase, hex_lower, hex_ucase, and hex_upper.


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