BmpWinFileTest.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_BMPWINFILETEST_H
#define SH_BMPWINFILETEST_H
#define private public
#define protected public
#include "BmpFile.h"
#undef private
#undef protected
#include "CvrStgFileTest.h"
class BmpWinFileTest : public CvrStgFileTest {
public:
BmpWinFileTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testReadWrite (void) ;
void testReadEmbedExtract (void) ;
void testReadEmbedWriteReadExtract (void) ;
void testPosition (void) ;
void testReadExtractCompare (void) ;
void testEmbeddedValue (void) ;
private:
BitString *bs1, *bs2, *bs3, *bs4 ;
CvrStgFile *f1, *f2, *f3, *f4 ;
Globals gl1, gl2, gl3, gl4 ;
} ;
#endif // ndef SH_BMPWINFILETEST_H
BmpWinFileTest::bs4
BitString * bs4
Definition: BmpWinFileTest.h:46
BmpFile.h
BmpWinFileTest::f2
CvrStgFile * f2
Definition: BmpWinFileTest.h:47
BmpWinFileTest::gl1
Globals gl1
Definition: BmpWinFileTest.h:48
CvrStgFile
a cover-/stego-file
Definition: CvrStgFile.h:46
BmpWinFileTest::gl3
Globals gl3
Definition: BmpWinFileTest.h:48
CvrStgFileTest.h
CvrStgFileTest
Definition: CvrStgFileTest.h:30
Globals
some useful pointers that should be global
Definition: Globals.h:52
BmpWinFileTest::bs3
BitString * bs3
Definition: BmpWinFileTest.h:46
BmpWinFileTest::testEmbeddedValue
void testEmbeddedValue(void)
Definition: BmpWinFileTest.cc:132
BmpWinFileTest::bs2
BitString * bs2
Definition: BmpWinFileTest.h:46
BmpWinFileTest::testPosition
void testPosition(void)
Definition: BmpWinFileTest.cc:96
BmpWinFileTest
Definition: BmpWinFileTest.h:31
BmpWinFileTest::cleanup
void cleanup(void)
Definition: BmpWinFileTest.cc:64
BmpWinFileTest::gl4
Globals gl4
Definition: BmpWinFileTest.h:48
BmpWinFileTest::testReadEmbedWriteReadExtract
void testReadEmbedWriteReadExtract(void)
Definition: BmpWinFileTest.cc:88
BmpWinFileTest::gl2
Globals gl2
Definition: BmpWinFileTest.h:48
BmpWinFileTest::testReadExtractCompare
void testReadExtractCompare(void)
Definition: BmpWinFileTest.cc:127
TestSuite
Definition: TestSuite.h:31
BitString
a string of bits
Definition: BitString.h:42
BmpWinFileTest::f1
CvrStgFile * f1
Definition: BmpWinFileTest.h:47
BmpWinFileTest::testReadEmbedExtract
void testReadEmbedExtract(void)
Definition: BmpWinFileTest.cc:80
BmpWinFileTest::bs1
BitString * bs1
Definition: BmpWinFileTest.h:46
BmpWinFileTest::testReadWrite
void testReadWrite(void)
Definition: BmpWinFileTest.cc:72
BmpWinFileTest::setup
void setup(void)
Definition: BmpWinFileTest.cc:39
BmpWinFileTest::f3
CvrStgFile * f3
Definition: BmpWinFileTest.h:47
BmpWinFileTest::BmpWinFileTest
BmpWinFileTest(TestSuite *s)
Definition: BmpWinFileTest.cc:29
BmpWinFileTest::f4
CvrStgFile * f4
Definition: BmpWinFileTest.h:47