Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECSS Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AcubeSat-OBC
ECSS Services
Commits
3efe74c0
Unverified
Commit
3efe74c0
authored
6 years ago
by
Dimitrios Stoupis
Browse files
Options
Downloads
Patches
Plain Diff
Enabled access to private members for the tester
parent
9b22f1c3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inc/Services/TimeBasedSchedulingService.hpp
+11
-4
11 additions, 4 deletions
inc/Services/TimeBasedSchedulingService.hpp
test/Services/TimeBasedSchedulingService.cpp
+4
-0
4 additions, 0 deletions
test/Services/TimeBasedSchedulingService.cpp
with
15 additions
and
4 deletions
inc/Services/TimeBasedSchedulingService.hpp
+
11
−
4
View file @
3efe74c0
...
...
@@ -20,6 +20,9 @@
#define MAX_DELTA_OF_RELEASE_TIME 60 // todo: Define the maximum delta between the specified
// release time and the actual release time
namespace
unit_test
{
struct
Tester
;
}
class
TimeBasedSchedulingService
:
public
Service
{
public:
...
...
@@ -52,6 +55,9 @@ private:
};
etl
::
vector
<
ScheduledActivity
,
MAX_NUMBER_OF_ACTIVITIES
>
scheduledActivities
;
// Scheduled activity definitions
// Enable tester access to private members
friend
struct
::
unit_test
::
Tester
;
public
:
/**
...
...
@@ -98,7 +104,7 @@ public:
* TC[11,16] detail-report all activities
*
* @details Send a detailed report about the status of all the activities
on the current schedule
on the current schedule
. Generates a TM[11,10] response
* @param request Provide the received message as a parameter
*/
void
detailReportAllActivities
(
Message
&
request
);
...
...
@@ -106,7 +112,8 @@ public:
/**
* TC[11,9] detail-report activities identified by request identifier
*
* @details Send a detailed report about the status of the requested activities
* @details Send a detailed report about the status of the requested activities. Generates a
* TM[11,10] response
* @param request Provide the received message as a parameter
*/
void
detailReporActivitiesByID
(
Message
&
request
);
...
...
@@ -114,7 +121,8 @@ public:
/**
* TC[11,12] summary-report activities identified by request identifier
*
* @details Send a summary report about the status of the requested activities
* @details Send a summary report about the status of the requested activities. Generates a
* TM[11,13] response
* @param request Provide the received message as a parameter
*/
void
summaryReporActivitiesByID
(
Message
&
request
);
...
...
@@ -138,7 +146,6 @@ public:
private
:
};
#endif //ECSS_SERVICES_TIMEBASEDSCHEDULINGSERVICE_HPP
This diff is collapsed.
Click to expand it.
test/Services/TimeBasedSchedulingService.cpp
0 → 100644
+
4
−
0
View file @
3efe74c0
//
// Created by dimitris on 15/03/19.
//
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment