GraphTest.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_GRAPHTEST_H
#define SH_GRAPHTEST_H
#include "UnitTest.h"
class TestSuite ;
class CvrStgFile ;
class BitString ;
class Selector ;
class Graph ;
class GraphTest : public UnitTest {
public:
GraphTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testVertices (void) ;
void testSampleValues (void) ;
void testSampleOccurences (void) ;
void testSampleValueAdjacencyLists (void) ;
private:
CvrStgFile *f1, *f2, *f3, *f4, *f5, *f6, *f7, *f8, *f9, *f10, *f11, *f12, *f13, *f14, *f15, *f_f ;
BitString *bs1, *bs2, *bs3, *bs4, *bs5, *bs6, *bs7, *bs8, *bs9, *bs10, *bs11, *bs12, *bs13, *bs14, *bs15, *bs_f ;
Selector *s1, *s2, *s3, *s4, *s5, *s6, *s7, *s8, *s9, *s10, *s11, *s12, *s13, *s14, *s15, *s_f ;
Graph *g1, *g2, *g3, *g4, *g5, *g6, *g7, *g8, *g9, *g10, *g11, *g12, *g13, *g14, *g15, *g_f ;
Globals gl1, gl2, gl3, gl4, gl5, gl6, gl7, gl8, gl9, gl10, gl11, gl12, gl13, gl14, gl15, gl_f ;
} ;
#endif // ndef SH_GRAPHTEST_H
UnitTest.h
BitString
a string of bits
Definition BitString.h:42
CvrStgFile
a cover-/stego-file
Definition CvrStgFile.h:46
Globals
some useful pointers that should be global
Definition Globals.h:52
GraphTest::s15
Selector * s15
Definition GraphTest.h:47
GraphTest::gl9
Globals gl9
Definition GraphTest.h:49
GraphTest::testSampleValueAdjacencyLists
void testSampleValueAdjacencyLists(void)
Definition GraphTest.cc:250
GraphTest::gl6
Globals gl6
Definition GraphTest.h:49
GraphTest::bs8
BitString * bs8
Definition GraphTest.h:46
GraphTest::gl4
Globals gl4
Definition GraphTest.h:49
GraphTest::bs9
BitString * bs9
Definition GraphTest.h:46
GraphTest::f14
CvrStgFile * f14
Definition GraphTest.h:45
GraphTest::f10
CvrStgFile * f10
Definition GraphTest.h:45
GraphTest::gl14
Globals gl14
Definition GraphTest.h:49
GraphTest::gl12
Globals gl12
Definition GraphTest.h:49
GraphTest::g14
Graph * g14
Definition GraphTest.h:48
GraphTest::s11
Selector * s11
Definition GraphTest.h:47
GraphTest::cleanup
void cleanup(void)
Definition GraphTest.cc:159
GraphTest::s13
Selector * s13
Definition GraphTest.h:47
GraphTest::s7
Selector * s7
Definition GraphTest.h:47
GraphTest::bs_f
BitString * bs_f
Definition GraphTest.h:46
GraphTest::g10
Graph * g10
Definition GraphTest.h:48
GraphTest::s3
Selector * s3
Definition GraphTest.h:47
GraphTest::bs12
BitString * bs12
Definition GraphTest.h:46
GraphTest::bs7
BitString * bs7
Definition GraphTest.h:46
GraphTest::g5
Graph * g5
Definition GraphTest.h:48
GraphTest::f8
CvrStgFile * f8
Definition GraphTest.h:45
GraphTest::bs10
BitString * bs10
Definition GraphTest.h:46
GraphTest::gl8
Globals gl8
Definition GraphTest.h:49
GraphTest::f13
CvrStgFile * f13
Definition GraphTest.h:45
GraphTest::gl11
Globals gl11
Definition GraphTest.h:49
GraphTest::gl15
Globals gl15
Definition GraphTest.h:49
GraphTest::bs15
BitString * bs15
Definition GraphTest.h:46
GraphTest::g9
Graph * g9
Definition GraphTest.h:48
GraphTest::g_f
Graph * g_f
Definition GraphTest.h:48
GraphTest::g6
Graph * g6
Definition GraphTest.h:48
GraphTest::s_f
Selector * s_f
Definition GraphTest.h:47
GraphTest::setup
void setup(void)
Definition GraphTest.cc:42
GraphTest::gl3
Globals gl3
Definition GraphTest.h:49
GraphTest::f11
CvrStgFile * f11
Definition GraphTest.h:45
GraphTest::f7
CvrStgFile * f7
Definition GraphTest.h:45
GraphTest::s8
Selector * s8
Definition GraphTest.h:47
GraphTest::s1
Selector * s1
Definition GraphTest.h:47
GraphTest::f5
CvrStgFile * f5
Definition GraphTest.h:45
GraphTest::f4
CvrStgFile * f4
Definition GraphTest.h:45
GraphTest::bs6
BitString * bs6
Definition GraphTest.h:46
GraphTest::gl5
Globals gl5
Definition GraphTest.h:49
GraphTest::bs11
BitString * bs11
Definition GraphTest.h:46
GraphTest::testSampleValues
void testSampleValues(void)
Definition GraphTest.cc:207
GraphTest::f6
CvrStgFile * f6
Definition GraphTest.h:45
GraphTest::bs5
BitString * bs5
Definition GraphTest.h:46
GraphTest::f15
CvrStgFile * f15
Definition GraphTest.h:45
GraphTest::bs2
BitString * bs2
Definition GraphTest.h:46
GraphTest::g2
Graph * g2
Definition GraphTest.h:48
GraphTest::s4
Selector * s4
Definition GraphTest.h:47
GraphTest::s6
Selector * s6
Definition GraphTest.h:47
GraphTest::g13
Graph * g13
Definition GraphTest.h:48
GraphTest::s9
Selector * s9
Definition GraphTest.h:47
GraphTest::bs3
BitString * bs3
Definition GraphTest.h:46
GraphTest::f1
CvrStgFile * f1
Definition GraphTest.h:45
GraphTest::gl7
Globals gl7
Definition GraphTest.h:49
GraphTest::gl13
Globals gl13
Definition GraphTest.h:49
GraphTest::s14
Selector * s14
Definition GraphTest.h:47
GraphTest::g8
Graph * g8
Definition GraphTest.h:48
GraphTest::bs4
BitString * bs4
Definition GraphTest.h:46
GraphTest::f12
CvrStgFile * f12
Definition GraphTest.h:45
GraphTest::gl_f
Globals gl_f
Definition GraphTest.h:49
GraphTest::testSampleOccurences
void testSampleOccurences(void)
Definition GraphTest.cc:231
GraphTest::s12
Selector * s12
Definition GraphTest.h:47
GraphTest::g1
Graph * g1
Definition GraphTest.h:48
GraphTest::g12
Graph * g12
Definition GraphTest.h:48
GraphTest::bs1
BitString * bs1
Definition GraphTest.h:46
GraphTest::g7
Graph * g7
Definition GraphTest.h:48
GraphTest::testVertices
void testVertices(void)
Definition GraphTest.cc:181
GraphTest::s2
Selector * s2
Definition GraphTest.h:47
GraphTest::gl10
Globals gl10
Definition GraphTest.h:49
GraphTest::g4
Graph * g4
Definition GraphTest.h:48
GraphTest::s5
Selector * s5
Definition GraphTest.h:47
GraphTest::bs13
BitString * bs13
Definition GraphTest.h:46
GraphTest::f2
CvrStgFile * f2
Definition GraphTest.h:45
GraphTest::f9
CvrStgFile * f9
Definition GraphTest.h:45
GraphTest::g15
Graph * g15
Definition GraphTest.h:48
GraphTest::f3
CvrStgFile * f3
Definition GraphTest.h:45
GraphTest::g11
Graph * g11
Definition GraphTest.h:48
GraphTest::f_f
CvrStgFile * f_f
Definition GraphTest.h:45
GraphTest::gl1
Globals gl1
Definition GraphTest.h:49
GraphTest::gl2
Globals gl2
Definition GraphTest.h:49
GraphTest::GraphTest
GraphTest(TestSuite *s)
Definition GraphTest.cc:33
GraphTest::s10
Selector * s10
Definition GraphTest.h:47
GraphTest::g3
Graph * g3
Definition GraphTest.h:48
GraphTest::bs14
BitString * bs14
Definition GraphTest.h:46
Graph
a graph constructed from a cover file and a message to be embedded
Definition Graph.h:51
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