BmpOS2FileTest Class Reference

`#include <BmpOS2FileTest.h>`

Inheritance diagram for BmpOS2FileTest:

## Public Member Functions

| BmpOS2FileTest (TestSuite *s)
void | setup (void)
void | cleanup (void)
void | testReadWrite (void)
void | testReadEmbedExtract (void)
void | testReadEmbedWriteReadExtract (void)
void | testPosition (void)
void | testReadExtractCompare (void)
void | testEmbeddedValue (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

BitString * | bs1
BitString * | bs2
BitString * | bs3
BitString * | bs4
CvrStgFile * | f1
CvrStgFile * | f2
CvrStgFile * | f3
CvrStgFile * | f4
Globals | gl1
Globals | gl2
Globals | gl3
Globals | gl4

## 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

## BmpOS2FileTest()

BmpOS2FileTest::BmpOS2FileTest | ( | TestSuite * | s | ) |

## Member Function Documentation

## cleanup()

void BmpOS2FileTest::cleanup | ( | void |  | ) |

virtual

cleanup the unit test - called after run

Reimplemented from UnitTest.

## setup()

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

## testEmbeddedValue()

void BmpOS2FileTest::testEmbeddedValue | ( | void |  | ) |

## testPosition()

void BmpOS2FileTest::testPosition | ( | void |  | ) |

## testReadEmbedExtract()

void BmpOS2FileTest::testReadEmbedExtract | ( | void |  | ) |

## testReadEmbedWriteReadExtract()

void BmpOS2FileTest::testReadEmbedWriteReadExtract | ( | void |  | ) |

## testReadExtractCompare()

void BmpOS2FileTest::testReadExtractCompare | ( | void |  | ) |

## testReadWrite()

void BmpOS2FileTest::testReadWrite | ( | void |  | ) |

## Member Data Documentation

## bs1

BitString* BmpOS2FileTest::bs1

private

## bs2

BitString * BmpOS2FileTest::bs2

private

## bs3

BitString * BmpOS2FileTest::bs3

private

## bs4

BitString * BmpOS2FileTest::bs4

private

## f1

CvrStgFile* BmpOS2FileTest::f1

private

## f2

CvrStgFile * BmpOS2FileTest::f2

private

## f3

CvrStgFile * BmpOS2FileTest::f3

private

## f4

CvrStgFile * BmpOS2FileTest::f4

private

## gl1

Globals BmpOS2FileTest::gl1

private

## gl2

Globals BmpOS2FileTest::gl2

private

## gl3

Globals BmpOS2FileTest::gl3

private

## gl4

Globals BmpOS2FileTest::gl4

private

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

- BmpOS2FileTest.h
- BmpOS2FileTest.cc