steghide 0.5.1
BitStringTest.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_BITSTRINGTEST_H
22#define SH_BITSTRINGTEST_H
23
24#define private public
25#define protected public
26#include "BitString.h"
27#undef private
28#undef protected
29
30#include "UnitTest.h"
31#include "TestSuite.h"
32
33class BitStringTest : public UnitTest {
34 public:
36
37 void setup (void) ;
38 void cleanup (void) ;
39
40 void testBitInputOutput (void) ;
41 void testLength (void) ;
42 void testDatatypeInput (void) ;
43 void testDatatypeOutput (void) ;
44 void testEquality (void) ;
45 void testCutting (void) ;
46 void testCompression (void) ;
47 void testArity (void) ;
48
49 private:
51} ;
52
53#endif // ndef SH_BITSTRINGTEST_H
void testBitInputOutput(void)
Definition BitStringTest.cc:124
BitString * bs_1010
Definition BitStringTest.h:50
BitString * bs_0
Definition BitStringTest.h:50
BitString * bs_100
Definition BitStringTest.h:50
BitString * bs_1110
Definition BitStringTest.h:50
void testDatatypeInput(void)
Definition BitStringTest.cc:169
BitString * bs_10010
Definition BitStringTest.h:50
BitStringTest(TestSuite *s)
Definition BitStringTest.cc:26
BitString * bs_10
Definition BitStringTest.h:50
void testDatatypeOutput(void)
Definition BitStringTest.cc:238
BitString * bs_101011101
Definition BitStringTest.h:50
BitString * bs_01011
Definition BitStringTest.h:50
void testEquality(void)
Definition BitStringTest.cc:265
BitString * bs_001
Definition BitStringTest.h:50
BitString * bs_1
Definition BitStringTest.h:50
void setup(void)
Definition BitStringTest.cc:39
void testArity(void)
Definition BitStringTest.cc:361
void testLength(void)
Definition BitStringTest.cc:160
void testCompression(void)
Definition BitStringTest.cc:339
void testCutting(void)
Definition BitStringTest.cc:285
BitString * bs_10101110
Definition BitStringTest.h:50
void cleanup(void)
Definition BitStringTest.cc:109
a string of bits
Definition BitString.h:42
Definition TestSuite.h:31
UnitTest(std::string n, TestSuite *s)
Definition UnitTest.h:43