BitStringTest.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_BITSTRINGTEST_H
#define SH_BITSTRINGTEST_H
#define private public
#define protected public
#include "BitString.h"
#undef private
#undef protected
#include "UnitTest.h"
#include "TestSuite.h"
class BitStringTest : public UnitTest {
public:
BitStringTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testBitInputOutput (void) ;
void testLength (void) ;
void testDatatypeInput (void) ;
void testDatatypeOutput (void) ;
void testEquality (void) ;
void testCutting (void) ;
void testCompression (void) ;
void testArity (void) ;
private:
BitString *bs_0, *bs_1, *bs_10, *bs_001, *bs_100, *bs_1010, *bs_1110, *bs_01011, *bs_10010, *bs_10101110, *bs_101011101 ;
} ;
#endif // ndef SH_BITSTRINGTEST_H
BitStringTest::testArity
void testArity(void)
Definition: BitStringTest.cc:361
BitStringTest::testLength
void testLength(void)
Definition: BitStringTest.cc:160
BitStringTest::BitStringTest
BitStringTest(TestSuite *s)
Definition: BitStringTest.cc:26
BitStringTest::testDatatypeOutput
void testDatatypeOutput(void)
Definition: BitStringTest.cc:238
BitStringTest::bs_01011
BitString * bs_01011
Definition: BitStringTest.h:50
BitStringTest
Definition: BitStringTest.h:33
BitStringTest::testCompression
void testCompression(void)
Definition: BitStringTest.cc:339
BitStringTest::testDatatypeInput
void testDatatypeInput(void)
Definition: BitStringTest.cc:169
BitString.h
BitStringTest::cleanup
void cleanup(void)
Definition: BitStringTest.cc:109
BitStringTest::bs_1110
BitString * bs_1110
Definition: BitStringTest.h:50
BitStringTest::bs_1010
BitString * bs_1010
Definition: BitStringTest.h:50
BitStringTest::bs_101011101
BitString * bs_101011101
Definition: BitStringTest.h:50
UnitTest
Definition: UnitTest.h:38
UnitTest.h
BitStringTest::bs_10101110
BitString * bs_10101110
Definition: BitStringTest.h:50
BitStringTest::bs_10
BitString * bs_10
Definition: BitStringTest.h:50
TestSuite
Definition: TestSuite.h:31
BitStringTest::testEquality
void testEquality(void)
Definition: BitStringTest.cc:265
BitString
a string of bits
Definition: BitString.h:42
BitStringTest::testCutting
void testCutting(void)
Definition: BitStringTest.cc:285
BitStringTest::bs_001
BitString * bs_001
Definition: BitStringTest.h:50
TestSuite.h
BitStringTest::bs_100
BitString * bs_100
Definition: BitStringTest.h:50
BitStringTest::setup
void setup(void)
Definition: BitStringTest.cc:39
BitStringTest::bs_0
BitString * bs_0
Definition: BitStringTest.h:50
BitStringTest::bs_10010
BitString * bs_10010
Definition: BitStringTest.h:50
BitStringTest::bs_1
BitString * bs_1
Definition: BitStringTest.h:50
BitStringTest::testBitInputOutput
void testBitInputOutput(void)
Definition: BitStringTest.cc:124