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 
33 class 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
BitStringTest::bs_1010
BitString * bs_1010
Definition: BitStringTest.h:50
BitStringTest::testDatatypeOutput
void testDatatypeOutput(void)
Definition: BitStringTest.cc:238
BitStringTest::BitStringTest
BitStringTest(TestSuite *s)
Definition: BitStringTest.cc:26
UnitTest
Definition: UnitTest.h:38
BitStringTest::testDatatypeInput
void testDatatypeInput(void)
Definition: BitStringTest.cc:169
BitStringTest::testEquality
void testEquality(void)
Definition: BitStringTest.cc:265
BitStringTest::bs_0
BitString * bs_0
Definition: BitStringTest.h:50
BitStringTest::bs_10
BitString * bs_10
Definition: BitStringTest.h:50
BitStringTest::bs_10010
BitString * bs_10010
Definition: BitStringTest.h:50
BitString.h
BitStringTest::bs_100
BitString * bs_100
Definition: BitStringTest.h:50
BitStringTest::testArity
void testArity(void)
Definition: BitStringTest.cc:361
BitStringTest::setup
void setup(void)
Definition: BitStringTest.cc:39
BitStringTest::bs_101011101
BitString * bs_101011101
Definition: BitStringTest.h:50
TestSuite.h
BitStringTest::testLength
void testLength(void)
Definition: BitStringTest.cc:160
BitStringTest::bs_1
BitString * bs_1
Definition: BitStringTest.h:50
UnitTest.h
BitStringTest::testBitInputOutput
void testBitInputOutput(void)
Definition: BitStringTest.cc:124
BitString
a string of bits
Definition: BitString.h:42
BitStringTest::bs_1110
BitString * bs_1110
Definition: BitStringTest.h:50
TestSuite
Definition: TestSuite.h:31
BitStringTest::bs_01011
BitString * bs_01011
Definition: BitStringTest.h:50
BitStringTest::bs_10101110
BitString * bs_10101110
Definition: BitStringTest.h:50
BitStringTest::bs_001
BitString * bs_001
Definition: BitStringTest.h:50
BitStringTest::testCutting
void testCutting(void)
Definition: BitStringTest.cc:285
BitStringTest::testCompression
void testCompression(void)
Definition: BitStringTest.cc:339
BitStringTest
Definition: BitStringTest.h:33
BitStringTest::cleanup
void cleanup(void)
Definition: BitStringTest.cc:109