File: SigEventTest.hh

package info (click to toggle)
tyvis 20031216-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,024 kB
  • ctags: 2,985
  • sloc: cpp: 22,881; sh: 8,372; makefile: 353
file content (32 lines) | stat: -rw-r--r-- 597 bytes parent folder | download
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
#ifndef SIG_EVENT_TEST_HH
#define SIG_EVENT_TEST_HH

#include <cppunit/extensions/HelperMacros.h>
#include "VHDLEventTest.hh"

class SigEvent;
class VHDLData;

class SigEventTest : public VHDLEventTest {
  CPPUNIT_TEST_SUITE( SigEventTest);
  CPPUNIT_TEST( testConstructor );
  CPPUNIT_TEST( testSerialization );
  CPPUNIT_TEST( testEventCompare );
  CPPUNIT_TEST_SUITE_END();
  
private:
  SigEvent *toTest1;

  static const VHDLData &getDefaultVHDLData();

public:
  void setUp();
  void tearDown();

  void testConstructor( );
  void testSerialization();
  void testEventCompare();

};

#endif