F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EventTests.hpp
Go to the documentation of this file.
1// ======================================================================
2// \title EventTests.hpp
3// \author T. Chieu
4// \brief hpp file for event tests
5//
6// \copyright
7// Copyright (C) 2009-2023 California Institute of Technology.
8// ALL RIGHTS RESERVED. United States Government Sponsorship
9// acknowledged.
10//
11// ======================================================================
12
13// ----------------------------------------------------------------------
14// Event test declarations
15// ----------------------------------------------------------------------
16
17#define EVENT_TEST_DECL(TYPE) void testEvent(NATIVE_INT_TYPE portNum, FppTest::Types::TYPE& data);
18
19#define EVENT_TEST_HELPER_DECL(TYPE) \
20 void testEventHelper(NATIVE_INT_TYPE portNum, FppTest::Types::TYPE& data, NATIVE_UINT_TYPE size);
21
22#define EVENT_TEST_DECLS \
23 EVENT_TEST_DECL(NoParams) \
24 EVENT_TEST_HELPER_DECL(PrimitiveParams) \
25 EVENT_TEST_DECL(PrimitiveParams) \
26 EVENT_TEST_DECL(LogStringParams) \
27 EVENT_TEST_DECL(EnumParam) \
28 EVENT_TEST_HELPER_DECL(ArrayParam) \
29 EVENT_TEST_DECL(ArrayParam) \
30 EVENT_TEST_DECL(StructParam) \
31 EVENT_TEST_HELPER_DECL(BoolParam) \
32 EVENT_TEST_DECL(BoolParam)