Test suite for ByteSwapUtils. More...
#include <TsByteSwapUtils.h>
Public Member Functions | |
| void | setUp () |
| void | tearDown () |
Protected Member Functions | |
| void | tcSwap2Bytes () |
| Test Case: Swap an array of 2 bytes -sizeof(<type>)== 2. More... | |
| void | tcSwap4Bytes () |
| Test Case: Swap an array of 4 bytes. More... | |
| void | tcSwap8Bytes () |
| Test Case: Swap an array of 8-bytesr. More... | |
| void | tcSwapBytes () |
| Test Case: Swap an array of n-bytes. More... | |
| void | tcSwapBytes_bint16 () |
| Test Case: Swap 2 bytes (boost::int16). More... | |
| void | tcSwapBytes_bint32 () |
| Test Case: Swap 4 bytes (boost::int32). More... | |
| void | tcSwapBytes_buint32 () |
| Test Case: Swap 4 bytes (boost::uint32). More... | |
| void | tcSwapBytes_double () |
| Test Case: Swap 8 bytes (double). More... | |
| void | tcSwapBytes_float () |
| Test Case: Swap 4 bytes (float). More... | |
Test suite for ByteSwapUtils.
Definition at line 37 of file TsByteSwapUtils.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| void TsByteSwapUtils::setUp | ( | ) |
Definition at line 53 of file TsByteSwapUtils.cpp.
|
protected |
Test Case: Swap an array of 2 bytes -sizeof(<type>)== 2.
Definition at line 61 of file TsByteSwapUtils.cpp.
References te::common::Swap2Bytes().
|
protected |
Test Case: Swap an array of 4 bytes.
Definition at line 80 of file TsByteSwapUtils.cpp.
References te::common::Swap4Bytes().
|
protected |
Test Case: Swap an array of 8-bytesr.
Definition at line 117 of file TsByteSwapUtils.cpp.
References te::common::Swap8Bytes().
|
protected |
Test Case: Swap an array of n-bytes.
Definition at line 98 of file TsByteSwapUtils.cpp.
References te::common::SwapBytes().
|
protected |
Test Case: Swap 2 bytes (boost::int16).
Definition at line 135 of file TsByteSwapUtils.cpp.
References te::common::SwapBytes().
|
protected |
Test Case: Swap 4 bytes (boost::int32).
Definition at line 174 of file TsByteSwapUtils.cpp.
References te::common::SwapBytes().
|
protected |
Test Case: Swap 4 bytes (boost::uint32).
Definition at line 202 of file TsByteSwapUtils.cpp.
References te::common::SwapBytes().
|
protected |
Test Case: Swap 8 bytes (double).
Definition at line 299 of file TsByteSwapUtils.cpp.
References d, p, and te::common::SwapBytes().
|
protected |
Test Case: Swap 4 bytes (float).
Definition at line 223 of file TsByteSwapUtils.cpp.
References te::common::SwapBytes().
| void TsByteSwapUtils::tearDown | ( | ) |
Definition at line 57 of file TsByteSwapUtils.cpp.