-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #2484, implement header files for testcase
Move the message and table definitions into separate header files, that follow the established naming patterns.
- Loading branch information
Showing
17 changed files
with
379 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/************************************************************************ | ||
* NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes” | ||
* | ||
* Copyright (c) 2020 United States Government as represented by the | ||
* Administrator of the National Aeronautics and Space Administration. | ||
* All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. You may obtain | ||
* a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
************************************************************************/ | ||
|
||
/** | ||
* @file | ||
* CFE Test app (CFE_TEST) Application Message Definitions | ||
*/ | ||
#ifndef CFE_TEST_MSG_H | ||
#define CFE_TEST_MSG_H | ||
|
||
#include "cfe_test_msgdefs.h" | ||
#include "cfe_test_msgstruct.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/************************************************************************ | ||
* NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes” | ||
* | ||
* Copyright (c) 2020 United States Government as represented by the | ||
* Administrator of the National Aeronautics and Space Administration. | ||
* All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. You may obtain | ||
* a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
************************************************************************/ | ||
|
||
/** | ||
* @file | ||
* CFE Test app (CFE_TEST) Application Message Definitions | ||
*/ | ||
#ifndef CFE_TEST_MSGSTRUCT_H | ||
#define CFE_TEST_MSGSTRUCT_H | ||
|
||
#include "cfe_msg_hdr.h" | ||
#include "cfe_test_msgdefs.h" | ||
|
||
/* A simple command message with a 64 bit payload */ | ||
typedef struct CFE_TEST_TestCmdMessage | ||
{ | ||
CFE_MSG_CommandHeader_t CommandHeader; | ||
CFE_TEST_TestPayload64_t Payload; | ||
} CFE_TEST_TestCmdMessage64_t; | ||
|
||
/* A simple telemetry message with a 64 bit payload */ | ||
typedef struct CFE_TEST_TestTlmMessage | ||
{ | ||
CFE_MSG_TelemetryHeader_t TelemetryHeader; | ||
CFE_TEST_TestPayload64_t Payload; | ||
} CFE_TEST_TestTlmMessage64_t; | ||
|
||
/* A simple command message with a 32 bit payload */ | ||
typedef struct | ||
{ | ||
CFE_MSG_CommandHeader_t CommandHeader; | ||
CFE_TEST_TestPayload32_t Payload; | ||
} CFE_TEST_TestCmdMessage32_t; | ||
|
||
/* A simple telemetry message with a 32 bit payload */ | ||
typedef struct | ||
{ | ||
CFE_MSG_TelemetryHeader_t TelemetryHeader; | ||
CFE_TEST_TestPayload32_t Payload; | ||
} CFE_TEST_TestTlmMessage32_t; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/************************************************************************ | ||
* NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes” | ||
* | ||
* Copyright (c) 2020 United States Government as represented by the | ||
* Administrator of the National Aeronautics and Space Administration. | ||
* All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. You may obtain | ||
* a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
************************************************************************/ | ||
|
||
/** | ||
* @file | ||
* | ||
* CFE Test Table struct definition | ||
*/ | ||
|
||
#ifndef CFE_TEST_TBLSTRUCT_H | ||
#define CFE_TEST_TBLSTRUCT_H | ||
|
||
#include "common_types.h" | ||
|
||
/* | ||
* Test table structure | ||
*/ | ||
typedef struct | ||
{ | ||
uint16 Int1; | ||
uint16 Int2; | ||
} CFE_TEST_TestTable_t; | ||
|
||
#endif /* CFE_TEST_TBLSTRUCT_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.