steghide  0.5.1
Public Member Functions | Private Attributes | List of all members
BmpRGBSampleValueTest Class Reference

#include <BmpRGBSampleValueTest.h>

Inheritance diagram for BmpRGBSampleValueTest:
SampleValueTest UnitTest Test

Public Member Functions

 BmpRGBSampleValueTest (TestSuite *s)
 
void setup (void)
 
void cleanup (void)
 
void testDistance (void)
 
void testIsNeighbour (void)
 
- Public Member Functions inherited from SampleValueTest
 SampleValueTest (std::string n, TestSuite *s)
 
- Public Member Functions inherited from UnitTest
 UnitTest (std::string n, TestSuite *s)
 
 ~UnitTest (void)
 
void run (void)
 
- Public Member Functions inherited from Test
 Test (void)
 
 Test (const std::string &n)
 
 Test (const std::string &n, TestSuite *s)
 
virtual ~Test (void)
 
const std::string & getName (void)
 
TestSuitegetSuite (void)
 

Private Attributes

CvrStgFilef_win
 
CvrStgFilef_os2
 
SampleValuesv_0_0_0
 
SampleValuesv_1_1_1
 
SampleValuesv_0_3_4
 
SampleValuesv_10_10_10
 
SampleValuesv_12_13_14
 
SampleValuesv_128_128_128
 
SampleValuesv_210_0_120
 
SampleValuesv_255_255_255
 
Globals gl_win
 
Globals gl_os2
 

Additional Inherited Members

- Protected Member Functions inherited from SampleValueTest
bool genericTestDistance (SampleValue *s1, SampleValue *s2, UWORD32 dist)
 
bool genericTestIsNeighbour (SampleValue *s1, SampleValue *s2, bool res)
 
bool genericTestEValue (SampleValue *s, EmbValue ev)
 

Constructor & Destructor Documentation

BmpRGBSampleValueTest::BmpRGBSampleValueTest ( TestSuite s)

Member Function Documentation

void BmpRGBSampleValueTest::cleanup ( void  )
virtual

cleanup the unit test - called after run

Reimplemented from UnitTest.

void BmpRGBSampleValueTest::setup ( void  )
virtual

setup the unit test - called before run

UnitTest::setup will (together with UnitTest::cleanup) save and restore the object stored in Globs so they should be called from the corresponding functions in the derived object if the derived unit test manipulates the Globs object.

Reimplemented from UnitTest.

void BmpRGBSampleValueTest::testDistance ( void  )
void BmpRGBSampleValueTest::testIsNeighbour ( void  )

Member Data Documentation

CvrStgFile * BmpRGBSampleValueTest::f_os2
private
CvrStgFile* BmpRGBSampleValueTest::f_win
private
Globals BmpRGBSampleValueTest::gl_os2
private
Globals BmpRGBSampleValueTest::gl_win
private
SampleValue* BmpRGBSampleValueTest::sv_0_0_0
private
SampleValue * BmpRGBSampleValueTest::sv_0_3_4
private
SampleValue * BmpRGBSampleValueTest::sv_10_10_10
private
SampleValue * BmpRGBSampleValueTest::sv_128_128_128
private
SampleValue * BmpRGBSampleValueTest::sv_12_13_14
private
SampleValue * BmpRGBSampleValueTest::sv_1_1_1
private
SampleValue * BmpRGBSampleValueTest::sv_210_0_120
private
SampleValue * BmpRGBSampleValueTest::sv_255_255_255
private

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