-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathut_edroombp_pr_time_iface_v1.h
97 lines (65 loc) · 2 KB
/
ut_edroombp_pr_time_iface_v1.h
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/**
* \file ut_edroombp_pr_time_iface_v1.h
*
* \brief This swinterface declares the test suites applied over the edroombp
* Time Manager (Pr_Time) services for the RTEMSAPI 4.8 improvement
*
* \author Santiago Carmona Meco, <[email protected]>
* \internal
* Created: 13-may-2014
* Compiler: gcc,g++
* Company: Space Research Group, Universidad de Alcalá.
* Copyright: Copyright (c) 2013, Santiago Carmona Meco
*
* For further information, please visit http://srg.aut.uah.es
*
* This software is provided under the terms of the GNU General Public v2
* Licence. A full copy of the GNU GPL is provided in the file COPYING
* found in the development root of the project.
*
*/
#ifndef PUBLIC__UT_EDROOMBP_PR_TIME_IFACE_V1_H
#define PUBLIC__UT_EDROOMBP_PR_TIME_IFACE_V1_H
#include "config.h"
#include "basic_types.h"
/*PROTECTED REGION ID(public_ut_edroombp_pr_time_iface_h) ENABLED START*/
#include "ut_base_iface_v1.h"
#include "edroombp.h"
/*PROTECTED REGION ID(public_ut_edroombp_pr_task_iface_h) ENABLED START*/
class CUT_EDROOMBP_PR_TIME_OVERLOADED_OPERATORS: public CUTBase
{
friend class CUTManager;
public:
Pr_Kernel kernel;
bool_t * pTestTimeOk;
CUT_EDROOMBP_PR_TIME_OVERLOADED_OPERATORS(const char * id);
bool_t DoTest(void);
};
class CUT_EDROOMBP_PR_TIME_OVERLOADED_OPERATORS_2: public CUTBase
{
friend class CUTManager;
public:
Pr_Kernel kernel;
bool_t * pTestTimeOk;
CUT_EDROOMBP_PR_TIME_OVERLOADED_OPERATORS_2(const char * id);
bool_t DoTest(void);
};
/**
* \brief The test creates a task and after the execution of this task, the
* test tries to restart it and checks that was deleted.
*
*/
class CUT_EDROOMBP_PR_TIME_DELAY_IN_DELAY_AT: public CUTBase
{
friend class CUTManager;
public:
Pr_Kernel kernel;
Pr_Task TaskDelayIn;
Pr_Task TaskDelayAt;
bool_t *pTestTimeDelayIn;
bool_t *pTestTimeDelayAt;
CUT_EDROOMBP_PR_TIME_DELAY_IN_DELAY_AT(const char * id);
bool_t DoTest(void);
};
/*PROTECTED REGION END*/
#endif // PUBLIC__UT_EDROOMBP_PR_TIME_IFACE_V1_H