#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 |
( |
std::string |
n, |
|
|
TestSuite * |
s |
|
) |
| |
|
inline |
bool CvrStgFileTest::areEqual |
( |
const std::string & |
fn1, |
|
|
const std::string & |
fn2 |
|
) |
| const |
|
private |
void CvrStgFileTest::copyFile |
( |
const std::string & |
src, |
|
|
const std::string & |
dest |
|
) |
| const |
|
private |
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
bool CvrStgFileTest::genericTestReadEmbedExtract |
( |
const std::string & |
fn, |
|
|
BitString & |
emb |
|
) |
| const |
|
protected |
bool CvrStgFileTest::genericTestReadEmbedWriteReadExtract |
( |
const std::string & |
cvrfn, |
|
|
BitString & |
emb |
|
) |
| const |
|
protected |
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
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) |
bool CvrStgFileTest::genericTestSVALCalculation |
( |
const CvrStgFile * |
f, |
|
|
const Graph * |
g |
|
) |
| const |
|
protected |
void CvrStgFileTest::moveFile |
( |
const std::string & |
src, |
|
|
const std::string & |
dest |
|
) |
| const |
|
private |
void CvrStgFileTest::removeFile |
( |
const std::string & |
fn | ) |
const |
|
private |
The documentation for this class was generated from the following files: