FW Profile - C1 Implementation
|
Declaration of functions to create and configure test RT Containers. More...
Go to the source code of this file.
Data Structures | |
struct | TestRtData |
Type for the data structure passed to all RT Containers made by the functions declared by this header file. More... | |
Macros | |
#define | MAX_RT_INDEX 10 |
Maximum number of Test RT Container instances of type RT1 or RT2. | |
Functions | |
FwRtDesc_t | FwRtMakeTestRT1 (unsigned int i) |
This function resets the i-th instance of the Test RT Container RT1 and returns a pointer to its descriptor. More... | |
FwRtDesc_t | FwRtMakeTestRT2 (unsigned int i) |
This function resets the i-th instance of the Test RT Container RT2 and returns a pointer to its descriptor. More... | |
FwRtDesc_t | FwRtMakeTestRT3 (unsigned int i) |
This function resets the i-th instance of the Test RT Container RT3 and returns a pointer to its descriptor. More... | |
FwRtDesc_t | FwRtMakeTestRT4 (unsigned int i) |
This function resets the i-th instance of the Test RT Container RT4 and returns a pointer to its descriptor. More... | |
FwRtDesc_t | FwRtMakeTestRT5 (unsigned int i) |
This function resets the i-th instance of the Test RT Container RT5 and returns a pointer to its descriptor. More... | |
Declaration of functions to create and configure test RT Containers.
The test RT Containers are used in the test suite to verify the requirements of the FW Profile RT Container Module.
This file is part of the FW Profile.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
For information on alternative licensing, please contact P&P Software GmbH.
Definition in file FwRtMakeTest.h.
FwRtDesc_t FwRtMakeTestRT1 | ( | unsigned int | i | ) |
This function resets the i-th instance of the Test RT Container RT1 and returns a pointer to its descriptor.
The Test RT Container RT1 has the following characteristics:
TestRtData
data structure.TestRtData
data structure.The function returns the RT Container with its counters set to zero and its flags set to false.
i | the index of the RT Container instance (an integer in the range 1 to MAX_RT_INDEX). |
Definition at line 233 of file FwRtMakeTest.c.
FwRtDesc_t FwRtMakeTestRT2 | ( | unsigned int | i | ) |
This function resets the i-th instance of the Test RT Container RT2 and returns a pointer to its descriptor.
The Test RT Container RT2 has the following characteristics:
TestRtData
data structure.TestRtData
data structure.The wait in the functional behaviour action is useful to simulate the case of a container with a "long" execution time potentially giving rise to an accumulation of unhandled notification requests.
This function returns the RT Container with its counters set to zero and its flags set to false.
i | the index of the RT Container instance (an integer in the range 1 to MAX_RT_INDEX). |
Definition at line 275 of file FwRtMakeTest.c.
FwRtDesc_t FwRtMakeTestRT3 | ( | unsigned int | i | ) |
This function resets the i-th instance of the Test RT Container RT3 and returns a pointer to its descriptor.
The Test RT Container RT3 has the following characteristics:
TestRtData
data structure.This function returns the RT Container with its counters set to zero and its flags set to false.
i | the index of the RT Container instance (an integer in the range 1 to MAX_RT_INDEX). |
Definition at line 317 of file FwRtMakeTest.c.
FwRtDesc_t FwRtMakeTestRT4 | ( | unsigned int | i | ) |
This function resets the i-th instance of the Test RT Container RT4 and returns a pointer to its descriptor.
The Test RT Container RT4 has the following characteristics:
TestRtData
data structure.This function returns the RT Container with its counters set to zero and its flags set to false.
i | the index of the RT Container instance (an integer in the range 1 to MAX_RT_INDEX). |
Definition at line 359 of file FwRtMakeTest.c.
FwRtDesc_t FwRtMakeTestRT5 | ( | unsigned int | i | ) |
This function resets the i-th instance of the Test RT Container RT5 and returns a pointer to its descriptor.
The Test RT Container RT2 has the following characteristics:
TestRtData
data structure.This function returns the RT Container with its counters set to zero and its flags set to false.
i | the index of the RT Container instance (an integer in the range 1 to MAX_RT_INDEX). |
Definition at line 401 of file FwRtMakeTest.c.