JpegFileTest.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_JPEGFILETEST_H
#define SH_JPEGFILETEST_H
#include "JpegFile.h"
#include "CvrStgFileTest.h"
class JpegFileTest : public CvrStgFileTest {
public:
JpegFileTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testReadEmbedExtract (void) ;
void testReadEmbedWriteReadExtract (void) ;
void testPosition (void) ;
void testReadExtractCompare (void) ;
void testEmbeddedValue (void) ;
private:
BitString *bs1, *bs2 ;
CvrStgFile *f1, *f2 ;
Globals gl1, gl2 ;
} ;
#endif // ndef SH_JPEGFILETEST_H
CvrStgFileTest.h
JpegFile.h
BitString
a string of bits
Definition BitString.h:42
CvrStgFileTest::CvrStgFileTest
CvrStgFileTest(std::string n, TestSuite *s)
Definition CvrStgFileTest.h:32
CvrStgFile
a cover-/stego-file
Definition CvrStgFile.h:46
Globals
some useful pointers that should be global
Definition Globals.h:52
JpegFileTest::testReadEmbedExtract
void testReadEmbedExtract(void)
Definition JpegFileTest.cc:55
JpegFileTest::JpegFileTest
JpegFileTest(TestSuite *s)
Definition JpegFileTest.cc:25
JpegFileTest::bs2
BitString * bs2
Definition JpegFileTest.h:42
JpegFileTest::testReadEmbedWriteReadExtract
void testReadEmbedWriteReadExtract(void)
Definition JpegFileTest.cc:61
JpegFileTest::testReadExtractCompare
void testReadExtractCompare(void)
Definition JpegFileTest.cc:72
JpegFileTest::gl1
Globals gl1
Definition JpegFileTest.h:44
JpegFileTest::bs1
BitString * bs1
Definition JpegFileTest.h:42
JpegFileTest::gl2
Globals gl2
Definition JpegFileTest.h:44
JpegFileTest::f2
CvrStgFile * f2
Definition JpegFileTest.h:43
JpegFileTest::testPosition
void testPosition(void)
Definition JpegFileTest.cc:67
JpegFileTest::cleanup
void cleanup(void)
Definition JpegFileTest.cc:47
JpegFileTest::setup
void setup(void)
Definition JpegFileTest.cc:32
JpegFileTest::testEmbeddedValue
void testEmbeddedValue(void)
Definition JpegFileTest.cc:77
JpegFileTest::f1
CvrStgFile * f1
Definition JpegFileTest.h:43
TestSuite
Definition TestSuite.h:31