Test suite for hex utils. More...
#include <TsHexUtils.h>
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... | |
Test suite for hex utils.
Definition at line 37 of file TsHexUtils.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| void TsHexUtils::setUp | ( | ) |
Definition at line 48 of file TsHexUtils.cpp.
References te::common::Convert(), dec_invalid, dec_val, dec_val_uchar, hex_invalid_0_F, hex_lcase, hex_lower, hex_ucase, and hex_upper.
|
protected |
Test Case: It Converts Binary to Hex.
Definition at line 467 of file TsHexUtils.cpp.
References te::core::Hex2Binary2().
|
protected |
Test Case: It Converts Binary to Hex.
Definition at line 487 of file TsHexUtils.cpp.
References te::core::Binary2Hex().
|
protected |
Test Case: It Converts char to Hex.
Definition at line 202 of file TsHexUtils.cpp.
References te::core::Char2Hex(), and te::common::Convert().
|
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.
|
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.
|
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.
|
protected |
Test Case: It Converts Hex to Binary.
Definition at line 450 of file TsHexUtils.cpp.
References te::core::Hex2Binary2().
|
protected |
Test Case: It Converts Hex to Binary.
Definition at line 391 of file TsHexUtils.cpp.
References te::core::Hex2Binary().
|
protected |
Test Case: It Converts Hex to Binary.
Definition at line 407 of file TsHexUtils.cpp.
References te::core::Hex2Binary().
|
protected |
Test Case: It Converts Hex to Binary.
Definition at line 432 of file TsHexUtils.cpp.
References te::core::Hex2Binary().
|
protected |
Test Case: It Converts Hex to Char.
Definition at line 232 of file TsHexUtils.cpp.
References te::common::Convert(), and te::core::Hex2Char().
|
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.