summaryrefslogtreecommitdiff
path: root/maximus/system/inc/SystemManagerTest.h
blob: 6c902dc67908fcb78ea4b24a00a3fb86b2037954 (plain)
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
47
48
49
50
51
52
#ifndef SYSTEMMANAGERTEST_H
#define SYSTEMMANAGERTEST_H

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>

class SystemManager;
class SciServer;
class IFunctionCall;
class IPhy;
class IEthernet;
class INetworkClock;


class SystemManagerTest : public CPPUNIT_NS::TestFixture
{

	CPPUNIT_TEST_SUITE (SystemManagerTest);
	CPPUNIT_TEST (createStationTest);
  CPPUNIT_TEST (removeStationTest);
  CPPUNIT_TEST (areAllActiveStationsIdleTest);
  CPPUNIT_TEST (setNetworkClockTest);
  CPPUNIT_TEST (setStationNameTest);
	CPPUNIT_TEST_SUITE_END ();

public:

	void setUp (void);
	void tearDown (void);

protected:

	void createStationTest (void);
  void removeStationTest (void);
  void areAllActiveStationsIdleTest (void);
  void setNetworkClockTest (void);
  void setStationNameTest (void);

	private:

		SystemManager * mpSystemManager;
    SciServer * mpSciServer;
    IFunctionCall * mpFunctionCall;
    IPhy * mpPhy;
    IEthernet * mpEthernet;
    INetworkClock * mpNetworkClock;

};


#endif // SYSTEMMANAGERTEST_H