1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#ifndef UNIVERSAL_BOOLEAN_TEST_HH
#define UNIVERSAL_BOOLEAN_TEST_HH
#include <cppunit/extensions/HelperMacros.h>
#include "VHDLDataTest.hh"
class UniversalBoolean;
class UniversalBooleanTest : public VHDLDataTest {
CPPUNIT_TEST_SUITE( UniversalBooleanTest);
CPPUNIT_TEST(testGetUniversalKind);
CPPUNIT_TEST(testGetLength);
CPPUNIT_TEST(testPrint);
CPPUNIT_TEST(testEqual);
CPPUNIT_TEST(testNotEqual);
CPPUNIT_TEST(testGreater);
CPPUNIT_TEST(testGreaterEqual);
CPPUNIT_TEST(testLess);
CPPUNIT_TEST(testLessEqual);
CPPUNIT_TEST(testClone);
CPPUNIT_TEST(testSerialization);
CPPUNIT_TEST_SUITE_END();
private:
UniversalBoolean *toTest;
static bool getDefaultValue();
public:
void setUp();
void tearDown();
void testGetUniversalKind();
void testGetLength();
void testPrint();
void testEqual();
void testNotEqual();
void testGreater();
void testGreaterEqual();
void testLess();
void testLessEqual();
void testClone();
void testSerialization();
};
#endif
|