steghide 0.5.1
EmbDataTest.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_EMBDATATEST_H
22#define SH_EMBDATATEST_H
23
24class BitString ;
25#define private public
26#include "EmbData.h"
27#undef private
28
29#include "UnitTest.h"
30#include "TestSuite.h"
31
32class EmbDataTest : public UnitTest {
33 public:
35
36 void testEmbedding (void) ;
37 void testExtracting (void) ;
38
39 private:
40 bool genericTestEmbedding (EmbData emb, BitString shouldbe) ;
45 bool feed_to (const BitString& bs, EmbData& emb) ;
46} ;
47
48#endif // ndef SH_EMBDATATEST_H
a string of bits
Definition BitString.h:42
void testExtracting(void)
Definition EmbDataTest.cc:63
void testEmbedding(void)
Definition EmbDataTest.cc:36
bool feed_to(const BitString &bs, EmbData &emb)
Definition EmbDataTest.cc:107
bool genericTestEmbedding(EmbData emb, BitString shouldbe)
Definition EmbDataTest.cc:92
EmbDataTest(TestSuite *s)
Definition EmbDataTest.cc:29
Definition EmbData.h:33
Definition TestSuite.h:31
UnitTest(std::string n, TestSuite *s)
Definition UnitTest.h:43