#include <CvrStgFileTest.h>
|
bool | areEqual (const std::string &fn1, const std::string &fn2) const |
|
void | removeFile (const std::string &fn) const |
|
void | copyFile (const std::string &src, const std::string &dest) const |
|
void | moveFile (const std::string &src, const std::string &dest) const |
|
§ CvrStgFileTest()
CvrStgFileTest::CvrStgFileTest |
( |
std::string |
n, |
|
|
TestSuite * |
s |
|
) |
| |
|
inline |
§ areEqual()
bool CvrStgFileTest::areEqual |
( |
const std::string & |
fn1, |
|
|
const std::string & |
fn2 |
|
) |
| const |
|
private |
§ copyFile()
void CvrStgFileTest::copyFile |
( |
const std::string & |
src, |
|
|
const std::string & |
dest |
|
) |
| const |
|
private |
§ genericTestEmbeddedValue()
bool CvrStgFileTest::genericTestEmbeddedValue |
( |
const CvrStgFile * |
f | ) |
const |
|
protected |
for all sample positions, test if f->getEmbeddedValue(p) and f->getSampleValue(p)->getEmbeddedValue() return the same result
§ genericTestPosition()
§ genericTestReadEmbedExtract()
bool CvrStgFileTest::genericTestReadEmbedExtract |
( |
const std::string & |
fn, |
|
|
BitString & |
emb |
|
) |
| const |
|
protected |
§ genericTestReadEmbedWriteReadExtract()
bool CvrStgFileTest::genericTestReadEmbedWriteReadExtract |
( |
const std::string & |
cvrfn, |
|
|
BitString & |
emb |
|
) |
| const |
|
protected |
§ genericTestReadExtractCompare()
bool CvrStgFileTest::genericTestReadExtractCompare |
( |
const std::string & |
fn, |
|
|
BitString & |
emb |
|
) |
| const |
|
protected |
read fn and extract the first emb.getLength() bits, return true iff these equal emb
§ genericTestReadWrite()
bool CvrStgFileTest::genericTestReadWrite |
( |
const std::string & |
rfn, |
|
|
bool |
new_wfn = true |
|
) |
| const |
|
protected |
read the file rfn and write it again, return true iff write op created what was read by read op
- Parameters
-
rfn | the file name of the file to read |
new_wfn | wether to write the data to another file or to rfn (a backup copy is done) |
§ genericTestSVALCalculation()
bool CvrStgFileTest::genericTestSVALCalculation |
( |
const CvrStgFile * |
f, |
|
|
const Graph * |
g |
|
) |
| const |
|
protected |
§ moveFile()
void CvrStgFileTest::moveFile |
( |
const std::string & |
src, |
|
|
const std::string & |
dest |
|
) |
| const |
|
private |
§ removeFile()
void CvrStgFileTest::removeFile |
( |
const std::string & |
fn | ) |
const |
|
private |
The documentation for this class was generated from the following files: