File: SharedFileEventTest.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 (33 lines) | stat: -rw-r--r-- 646 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
33
#ifndef SHARED_FILE_EVENT_TEST_HH
#define SHARED_FILE_EVENT_TEST_HH

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

class SharedFileEvent;

class SharedFileEventTest : public VHDLEventTest {
  CPPUNIT_TEST_SUITE( SharedFileEventTest);
  CPPUNIT_TEST( testConstructor );
  CPPUNIT_TEST( testSerialization );
  CPPUNIT_TEST( testEventCompare );
  CPPUNIT_TEST_SUITE_END();

private:
  SharedFileEvent *toTest1;
  SharedFileEvent *toTest2;

  static const string &getDefaultData();


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

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

};

#endif