25 #ifndef __OETCS_UT_UNITTESTING_H__
26 #define __OETCS_UT_UNITTESTING_H__
29 #include <cppunit/extensions/HelperMacros.h>
30 #include "GeneratedAsserts/openETCS_Case_Study.h"
33 #include <TestFixture.h>
34 #include <TestCaller.h>
35 #include "../DF/EVCStateMachine.h"
36 #include "../DF/Language.h"
37 #include "../DF/PlatformSpecificClientsMOC.h"
44 namespace oETCS {
namespace DF {
class CAnd; } }
45 namespace oETCS {
namespace DF {
class COr; } }
46 namespace oETCS {
namespace DF {
class CEVCCondition; } }
47 namespace oETCS {
namespace DF {
class CCondition; } }
48 namespace oETCS {
namespace DF {
class CLevelCondition; } }
49 namespace oETCS {
namespace DF {
class CComBlockIn; } }
50 namespace oETCS {
namespace DF {
class CComBlockOut; } }
51 namespace oETCS {
namespace DF {
class CXor; } }
52 namespace oETCS {
namespace DF {
class CNot; } }
53 namespace oETCS {
namespace DF {
class CSum; } }
54 namespace oETCS {
namespace DF {
class CSubstraction; } }
55 namespace oETCS {
namespace DF {
class CDivision; } }
56 namespace oETCS {
namespace DF {
class CMultiplication; } }
57 namespace oETCS {
namespace DF {
class CDoubleEqual; } }
58 namespace oETCS {
namespace DF {
class CIntEqual; } }
59 namespace oETCS {
namespace DF {
class CStringEqual; } }
60 namespace oETCS {
namespace DF {
class CDoubleEqualOrGreater; } }
61 namespace oETCS {
namespace DF {
class CDoubleGreater; } }
62 namespace oETCS {
namespace DF {
class CIntGreater; } }
63 namespace oETCS {
namespace DF {
class CDoubleArrayAccessor; } }
64 namespace oETCS {
namespace DF {
class CBoolGate; } }
65 namespace oETCS {
namespace DF {
class CBrakingToTargetSpeed; } }
66 namespace oETCS {
namespace DF {
class CCeelingSpeedControl; } }
67 namespace oETCS {
namespace DF {
class CStringGate; } }
68 namespace oETCS {
namespace DF {
class CDoubleGate; } }
69 namespace oETCS {
namespace DF {
class CBoolSwitch; } }
70 namespace oETCS {
namespace DF {
class CDoubleSwitch; } }
71 namespace oETCS {
namespace DF {
class CStringSwitch; } }
72 namespace oETCS {
namespace DF {
class CEnteredTrigger; } }
73 namespace oETCS {
namespace DF {
class CStorage; } }
74 namespace oETCS {
namespace DF {
class CControlFlow; } }
75 namespace DSM {
class CGOPPRRTransformer; }
76 namespace GOPPRR {
class CConstraintChecker; }
77 namespace oETCS {
namespace GEN {
class CCPPGenerator; } }
130 void setUp()
throw(::std::bad_alloc);
144 void TestAnd()
throw(::std::exception);
151 void TestOr()
throw(::std::exception);
158 void TestXor()
throw(::std::exception);
165 void TestNot()
throw(::std::exception);
172 void TestSum()
throw(::std::exception);
626 void setUp()
throw(::std::bad_alloc);
663 ::std::map< ::std::string, oETCS::DF::BOOL_INPUT_T* >
m_BoolInput;
686 ::std::map< ::std::string, oETCS::DF::INT_INPUT_T* >
m_IntInput;
723 void setUp()
throw(::std::bad_alloc);
776 void setUp()
throw(::std::bad_alloc);
790 void TestState()
throw(::std::exception);
848 void setUp()
throw(::std::bad_alloc);
908 void setUp()
throw(::std::bad_alloc);
946 #endif // __ OETCS_UT_UNITTESTING_H__