steghide 0.5.1
GraphTest.h
Go to the documentation of this file.
1/*
2 * steghide 0.5.1 - a steganography program
3 * Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 *
19 */
20
21#ifndef SH_GRAPHTEST_H
22#define SH_GRAPHTEST_H
23
24#include "UnitTest.h"
25
26class TestSuite ;
27class CvrStgFile ;
28class BitString ;
29class Selector ;
30class Graph ;
31
32class GraphTest : public UnitTest {
33 public:
34 GraphTest (TestSuite* s) ;
35
36 void setup (void) ;
37 void cleanup (void) ;
38
39 void testVertices (void) ;
40 void testSampleValues (void) ;
41 void testSampleOccurences (void) ;
43
44 private:
45 CvrStgFile *f1, *f2, *f3, *f4, *f5, *f6, *f7, *f8, *f9, *f10, *f11, *f12, *f13, *f14, *f15, *f_f ;
46 BitString *bs1, *bs2, *bs3, *bs4, *bs5, *bs6, *bs7, *bs8, *bs9, *bs10, *bs11, *bs12, *bs13, *bs14, *bs15, *bs_f ;
47 Selector *s1, *s2, *s3, *s4, *s5, *s6, *s7, *s8, *s9, *s10, *s11, *s12, *s13, *s14, *s15, *s_f ;
48 Graph *g1, *g2, *g3, *g4, *g5, *g6, *g7, *g8, *g9, *g10, *g11, *g12, *g13, *g14, *g15, *g_f ;
50} ;
51
52#endif // ndef SH_GRAPHTEST_H
a string of bits
Definition BitString.h:42
a cover-/stego-file
Definition CvrStgFile.h:46
some useful pointers that should be global
Definition Globals.h:52
Selector * s15
Definition GraphTest.h:47
Globals gl9
Definition GraphTest.h:49
void testSampleValueAdjacencyLists(void)
Definition GraphTest.cc:250
Globals gl6
Definition GraphTest.h:49
BitString * bs8
Definition GraphTest.h:46
Globals gl4
Definition GraphTest.h:49
BitString * bs9
Definition GraphTest.h:46
CvrStgFile * f14
Definition GraphTest.h:45
CvrStgFile * f10
Definition GraphTest.h:45
Globals gl14
Definition GraphTest.h:49
Globals gl12
Definition GraphTest.h:49
Graph * g14
Definition GraphTest.h:48
Selector * s11
Definition GraphTest.h:47
void cleanup(void)
Definition GraphTest.cc:159
Selector * s13
Definition GraphTest.h:47
Selector * s7
Definition GraphTest.h:47
BitString * bs_f
Definition GraphTest.h:46
Graph * g10
Definition GraphTest.h:48
Selector * s3
Definition GraphTest.h:47
BitString * bs12
Definition GraphTest.h:46
BitString * bs7
Definition GraphTest.h:46
Graph * g5
Definition GraphTest.h:48
CvrStgFile * f8
Definition GraphTest.h:45
BitString * bs10
Definition GraphTest.h:46
Globals gl8
Definition GraphTest.h:49
CvrStgFile * f13
Definition GraphTest.h:45
Globals gl11
Definition GraphTest.h:49
Globals gl15
Definition GraphTest.h:49
BitString * bs15
Definition GraphTest.h:46
Graph * g9
Definition GraphTest.h:48
Graph * g_f
Definition GraphTest.h:48
Graph * g6
Definition GraphTest.h:48
Selector * s_f
Definition GraphTest.h:47
void setup(void)
Definition GraphTest.cc:42
Globals gl3
Definition GraphTest.h:49
CvrStgFile * f11
Definition GraphTest.h:45
CvrStgFile * f7
Definition GraphTest.h:45
Selector * s8
Definition GraphTest.h:47
Selector * s1
Definition GraphTest.h:47
CvrStgFile * f5
Definition GraphTest.h:45
CvrStgFile * f4
Definition GraphTest.h:45
BitString * bs6
Definition GraphTest.h:46
Globals gl5
Definition GraphTest.h:49
BitString * bs11
Definition GraphTest.h:46
void testSampleValues(void)
Definition GraphTest.cc:207
CvrStgFile * f6
Definition GraphTest.h:45
BitString * bs5
Definition GraphTest.h:46
CvrStgFile * f15
Definition GraphTest.h:45
BitString * bs2
Definition GraphTest.h:46
Graph * g2
Definition GraphTest.h:48
Selector * s4
Definition GraphTest.h:47
Selector * s6
Definition GraphTest.h:47
Graph * g13
Definition GraphTest.h:48
Selector * s9
Definition GraphTest.h:47
BitString * bs3
Definition GraphTest.h:46
CvrStgFile * f1
Definition GraphTest.h:45
Globals gl7
Definition GraphTest.h:49
Globals gl13
Definition GraphTest.h:49
Selector * s14
Definition GraphTest.h:47
Graph * g8
Definition GraphTest.h:48
BitString * bs4
Definition GraphTest.h:46
CvrStgFile * f12
Definition GraphTest.h:45
Globals gl_f
Definition GraphTest.h:49
void testSampleOccurences(void)
Definition GraphTest.cc:231
Selector * s12
Definition GraphTest.h:47
Graph * g1
Definition GraphTest.h:48
Graph * g12
Definition GraphTest.h:48
BitString * bs1
Definition GraphTest.h:46
Graph * g7
Definition GraphTest.h:48
void testVertices(void)
Definition GraphTest.cc:181
Selector * s2
Definition GraphTest.h:47
Globals gl10
Definition GraphTest.h:49
Graph * g4
Definition GraphTest.h:48
Selector * s5
Definition GraphTest.h:47
BitString * bs13
Definition GraphTest.h:46
CvrStgFile * f2
Definition GraphTest.h:45
CvrStgFile * f9
Definition GraphTest.h:45
Graph * g15
Definition GraphTest.h:48
CvrStgFile * f3
Definition GraphTest.h:45
Graph * g11
Definition GraphTest.h:48
CvrStgFile * f_f
Definition GraphTest.h:45
Globals gl1
Definition GraphTest.h:49
Globals gl2
Definition GraphTest.h:49
GraphTest(TestSuite *s)
Definition GraphTest.cc:33
Selector * s10
Definition GraphTest.h:47
Graph * g3
Definition GraphTest.h:48
BitString * bs14
Definition GraphTest.h:46
a graph constructed from a cover file and a message to be embedded
Definition Graph.h:51
a random permutation of a random combination
Definition Selector.h:36
Definition TestSuite.h:31
UnitTest(std::string n, TestSuite *s)
Definition UnitTest.h:43