DFSAPHeuristicTest.h
Go to the documentation of this file.
/*
* steghide 0.5.1 - a steganography program
* Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#ifndef SH_DFSAPHEURISTICTEST_H
#define SH_DFSAPHEURISTICTEST_H
class DFSAPHeuristic ;
class BitString ;
class CvrStgFile ;
class Matching ;
class Selector ;
#include "UnitTest.h"
#include "TestSuite.h"
class DFSAPHeuristicTest : public UnitTest {
public:
DFSAPHeuristicTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testAlgorithm (void) ;
private:
BitString *bs1, *bs2, *bs3, *bs4, *bs5 ;
CvrStgFile *f1, *f2, *f3, *f4, *f5 ;
Selector *s1, *s2, *s3, *s4, *s5 ;
Graph *g1, *g2, *g3, *g4, *g5 ;
Matching *m1, *m2, *m3, *m4, *m5 ;
DFSAPHeuristic *aph1, *aph2, *aph3, *aph4, *aph5 ;
Globals gl1, gl2, gl3, gl4, gl5 ;
} ;
#endif // ndef SH_DFSAPHEURISTICTEST_H
TestSuite.h
UnitTest.h
BitString
a string of bits
Definition BitString.h:42
CvrStgFile
a cover-/stego-file
Definition CvrStgFile.h:46
DFSAPHeuristicTest::bs3
BitString * bs3
Definition DFSAPHeuristicTest.h:43
DFSAPHeuristicTest::DFSAPHeuristicTest
DFSAPHeuristicTest(TestSuite *s)
Definition DFSAPHeuristicTest.cc:37
DFSAPHeuristicTest::g1
Graph * g1
Definition DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::s4
Selector * s4
Definition DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::aph5
DFSAPHeuristic * aph5
Definition DFSAPHeuristicTest.h:48
DFSAPHeuristicTest::aph2
DFSAPHeuristic * aph2
Definition DFSAPHeuristicTest.h:48
DFSAPHeuristicTest::m1
Matching * m1
Definition DFSAPHeuristicTest.h:47
DFSAPHeuristicTest::aph4
DFSAPHeuristic * aph4
Definition DFSAPHeuristicTest.h:48
DFSAPHeuristicTest::gl1
Globals gl1
Definition DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::s1
Selector * s1
Definition DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::f3
CvrStgFile * f3
Definition DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::bs5
BitString * bs5
Definition DFSAPHeuristicTest.h:43
DFSAPHeuristicTest::m4
Matching * m4
Definition DFSAPHeuristicTest.h:47
DFSAPHeuristicTest::aph1
DFSAPHeuristic * aph1
Definition DFSAPHeuristicTest.h:48
DFSAPHeuristicTest::gl3
Globals gl3
Definition DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::setup
void setup(void)
Definition DFSAPHeuristicTest.cc:43
DFSAPHeuristicTest::m3
Matching * m3
Definition DFSAPHeuristicTest.h:47
DFSAPHeuristicTest::gl2
Globals gl2
Definition DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::s5
Selector * s5
Definition DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::f5
CvrStgFile * f5
Definition DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::bs2
BitString * bs2
Definition DFSAPHeuristicTest.h:43
DFSAPHeuristicTest::bs1
BitString * bs1
Definition DFSAPHeuristicTest.h:43
DFSAPHeuristicTest::g3
Graph * g3
Definition DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::f2
CvrStgFile * f2
Definition DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::g4
Graph * g4
Definition DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::m5
Matching * m5
Definition DFSAPHeuristicTest.h:47
DFSAPHeuristicTest::bs4
BitString * bs4
Definition DFSAPHeuristicTest.h:43
DFSAPHeuristicTest::f1
CvrStgFile * f1
Definition DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::s2
Selector * s2
Definition DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::g5
Graph * g5
Definition DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::f4
CvrStgFile * f4
Definition DFSAPHeuristicTest.h:44
DFSAPHeuristicTest::aph3
DFSAPHeuristic * aph3
Definition DFSAPHeuristicTest.h:48
DFSAPHeuristicTest::s3
Selector * s3
Definition DFSAPHeuristicTest.h:45
DFSAPHeuristicTest::gl4
Globals gl4
Definition DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::testAlgorithm
void testAlgorithm(void)
Definition DFSAPHeuristicTest.cc:154
DFSAPHeuristicTest::g2
Graph * g2
Definition DFSAPHeuristicTest.h:46
DFSAPHeuristicTest::gl5
Globals gl5
Definition DFSAPHeuristicTest.h:49
DFSAPHeuristicTest::cleanup
void cleanup(void)
Definition DFSAPHeuristicTest.cc:143
DFSAPHeuristicTest::m2
Matching * m2
Definition DFSAPHeuristicTest.h:47
DFSAPHeuristic
a matching algorithm implementing a heuristic search for augmenting paths
Definition DFSAPHeuristic.h:40
Globals
some useful pointers that should be global
Definition Globals.h:52
Graph
a graph constructed from a cover file and a message to be embedded
Definition Graph.h:51
Matching
represent a matching on a graph
Definition Matching.h:41
Selector
a random permutation of a random combination
Definition Selector.h:36
TestSuite
Definition TestSuite.h:31
UnitTest::UnitTest
UnitTest(std::string n, TestSuite *s)
Definition UnitTest.h:43