|
steghide
0.5.1
|
#include <EdgeIteratorTest.h>
Public Member Functions | |
| EdgeIteratorTest (TestSuite *s) | |
| void | setup (void) |
| void | cleanup (void) |
| void | testReferenceIteration (void) |
| void | testIterationLength (void) |
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 Member Functions | |
| bool | genericTestGraphIteration (Graph *g, EdgeIterator::ITERATIONMODE m) |
| bool | genericTestVertexIteration (Vertex *srcvertex, EdgeIterator::ITERATIONMODE m, const std::vector< Edge * > &edges) |
| bool | genericTestIterationLength (Graph *g) |
Private Attributes | |
| BitString * | bs1 |
| BitString * | bs2 |
| CvrStgFile * | f1 |
| CvrStgFile * | f2 |
| Selector * | s1 |
| Selector * | s2 |
| Graph * | g1 |
| Graph * | g2 |
| Globals | gl1 |
| Globals | gl2 |
| BitString * | bs10 |
| BitString * | bs11 |
| BitString * | bs12 |
| CvrStgFile * | f10 |
| CvrStgFile * | f11 |
| CvrStgFile * | f12 |
| Selector * | s10 |
| Selector * | s11 |
| Selector * | s12 |
| Graph * | g10 |
| Graph * | g11 |
| Graph * | g12 |
| Globals | gl10 |
| Globals | gl11 |
| Globals | gl12 |
Additional Inherited Members | |
Protected Member Functions inherited from UnitTest | |
| void | addTestCategory (TestCategory *tc) |
| void | addTestResult (bool r) |
| char * | strip_test (char *s) |
| EdgeIteratorTest::EdgeIteratorTest | ( | TestSuite * | s | ) |
|
virtual |
cleanup the unit test - called after run
Reimplemented from UnitTest.
|
private |
|
private |
for all vertices in the graph test if getDegree() returns exactly the number of edges EdgeIterator iterates through
|
private |
check if an edge iterator for srcvertex with m iterates exactly through edges
|
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 EdgeIteratorTest::testIterationLength | ( | void | ) |
| void EdgeIteratorTest::testReferenceIteration | ( | void | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.11