BmpFileTest Class Reference

`#include <BmpFileTest.h>`

Inheritance diagram for BmpFileTest:

## Public Member Functions

| BmpFileTest (TestSuite *s)
void | setup (void)
void | cleanup (void)
void | testSVALCalculation (void)
Public Member Functions inherited from CvrStgFileTest
| CvrStgFileTest (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)
TestSuite * | getSuite (void)

## Private Attributes

CvrStgFile * | f1
CvrStgFile * | f2
Graph * | g1
Graph * | g2
Selector * | s1
Selector * | s2
BitString * | bs1
BitString * | bs2
Globals | gl1
Globals | gl2

## Additional Inherited Members

Protected Member Functions inherited from CvrStgFileTest
bool | genericTestReadWrite (const std::string &rfn, bool new_wfn=true) const
bool | genericTestReadEmbedExtract (const std::string &fn, BitString &emb) const
bool | genericTestReadExtractCompare (const std::string &fn, BitString &emb) const
bool | genericTestReadEmbedWriteReadExtract (const std::string &cvrfn, BitString &emb) const
bool | genericTestPosition (const CvrStgFile *f, const SamplePos pos, SampleValue *sv_r) const
bool | genericTestSVALCalculation (const CvrStgFile *f, const Graph *g) const
bool | genericTestEmbeddedValue (const CvrStgFile *f) const
Protected Member Functions inherited from UnitTest
void | addTestCategory (TestCategory *tc)
void | addTestResult (bool r)
char * | strip_test (char *s)

## Constructor & Destructor Documentation

## BmpFileTest()

BmpFileTest::BmpFileTest | ( | TestSuite * | s | ) |

## Member Function Documentation

## cleanup()

void BmpFileTest::cleanup | ( | void |  | ) |

virtual

cleanup the unit test - called after run

Reimplemented from UnitTest.

## setup()

void BmpFileTest::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.

## testSVALCalculation()

void BmpFileTest::testSVALCalculation | ( | void |  | ) |

## Member Data Documentation

## bs1

BitString* BmpFileTest::bs1

private

## bs2

BitString * BmpFileTest::bs2

private

## f1

CvrStgFile* BmpFileTest::f1

private

## f2

CvrStgFile * BmpFileTest::f2

private

## g1

Graph* BmpFileTest::g1

private

## g2

Graph * BmpFileTest::g2

private

## gl1

Globals BmpFileTest::gl1

private

## gl2

Globals BmpFileTest::gl2

private

## s1

Selector* BmpFileTest::s1

private

## s2

Selector * BmpFileTest::s2

private

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

- BmpFileTest.h
- BmpFileTest.cc