-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nasa#1772 from nasa/integration-candidate
cFE Integration candidate: 2021-08-10
- Loading branch information
Showing
49 changed files
with
1,485 additions
and
727 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
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
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 |
---|---|---|
@@ -1,21 +1,34 @@ | ||
include_directories(inc) | ||
|
||
# Filenames based on doxygen groups. | ||
# Create the app module | ||
add_cfe_app(cfe_testcase | ||
add_cfe_app(cfe_testcase | ||
src/cfe_test.c | ||
src/cfe_test_table.c | ||
src/es_application_control_test.c | ||
src/es_info_test.c | ||
src/es_task_test.c | ||
src/es_cds_test.c | ||
src/es_counter_test.c | ||
src/es_misc_test.c | ||
src/es_mempool_test.c | ||
src/es_resource_id_test.c | ||
src/evs_filters_test.c | ||
src/evs_send_test.c | ||
src/fs_header_test.c | ||
src/fs_util_test.c | ||
src/message_id_test.c | ||
src/sb_pipe_mang_test.c | ||
src/tbl_content_access_test.c | ||
src/tbl_content_mang_test.c | ||
src/tbl_information_test.c | ||
src/tbl_registration_test.c | ||
src/time_arithmetic_test.c | ||
src/time_current_test.c | ||
src/time_conversion_test.c | ||
src/time_misc_test.c | ||
) | ||
|
||
# register the dependency on cfe_assert | ||
add_cfe_app_dependency(cfe_testcase cfe_assert) | ||
add_cfe_tables(cfeTestAppTable tables/cfe_test_tbl.c) |
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,46 @@ | ||
/************************************************************************* | ||
** | ||
** GSC-18128-1, "Core Flight Executive Version 6.7" | ||
** | ||
** Copyright (c) 2006-2019 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.h | ||
** | ||
** Purpose: | ||
** CFE Test Table struct definition | ||
** | ||
*************************************************************************/ | ||
|
||
/** | ||
* @file | ||
* | ||
* CFE Test Table struct definition | ||
*/ | ||
|
||
#ifndef CFE_TEST_TBL_H | ||
#define CFE_TEST_TBL_H | ||
|
||
/* | ||
* Test table structure | ||
*/ | ||
typedef struct | ||
{ | ||
uint16 Int1; | ||
uint16 Int2; | ||
} TBL_TEST_Table_t; | ||
|
||
#endif /* CFE_TEST_TBL_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
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,49 @@ | ||
/************************************************************************* | ||
** | ||
** GSC-18128-1, "Core Flight Executive Version 6.7" | ||
** | ||
** Copyright (c) 2006-2019 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.c | ||
** | ||
** Purpose: | ||
** Initialization of variables used by table functional tests and | ||
** function definitions for setup and teardown table functions | ||
** | ||
*************************************************************************/ | ||
|
||
/* | ||
* Includes | ||
*/ | ||
|
||
#include "cfe_test.h" | ||
#include "cfe_test_table.h" | ||
|
||
/* Setup function to register a table */ | ||
void RegisterTestTable(void) | ||
{ | ||
|
||
UtAssert_INT32_EQ(CFE_TBL_Register(&CFE_FT_Global.TblHandle, CFE_FT_Global.TblName, sizeof(TBL_TEST_Table_t), | ||
CFE_TBL_OPT_DEFAULT, NULL), | ||
CFE_SUCCESS); | ||
} | ||
|
||
/* Teardown function to unregister a table */ | ||
void UnregisterTestTable(void) | ||
{ | ||
UtAssert_INT32_EQ(CFE_TBL_Unregister(CFE_FT_Global.TblHandle), CFE_SUCCESS); | ||
} |
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,45 @@ | ||
/************************************************************************* | ||
** | ||
** GSC-18128-1, "Core Flight Executive Version 6.7" | ||
** | ||
** Copyright (c) 2006-2019 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.h | ||
** | ||
** Purpose: | ||
** Declare global struct variable and function prototypes for table tests | ||
** | ||
*************************************************************************/ | ||
|
||
/** | ||
* @file | ||
* | ||
* Declarations and prototypes for cfe_test module table tests | ||
*/ | ||
|
||
#ifndef CFE_TEST_TABLE_H | ||
#define CFE_TEST_TABLE_H | ||
|
||
/* | ||
* Includes | ||
*/ | ||
#include "cfe_test.h" | ||
|
||
void RegisterTestTable(void); | ||
void UnregisterTestTable(void); | ||
|
||
#endif /* CFE_TEST_TABLE_H */ |
Oops, something went wrong.