Mishaal 0bb6d59230
Rework fpp test (#3912)
* Add FppTestProject level

* Fix FPP Test Project UT errors

* Add back in FppTest deployment & make empty main in source.cpp

* Remove Wold-style-cast to see if that fixes CI issues

* Update add_compile_options

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2025-07-22 19:34:56 -07:00

33 lines
1.3 KiB
C++

// ======================================================================
// \title EventTests.hpp
// \author T. Chieu
// \brief hpp file for event tests
//
// \copyright
// Copyright (C) 2009-2023 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ======================================================================
// ----------------------------------------------------------------------
// Event test declarations
// ----------------------------------------------------------------------
#define EVENT_TEST_DECL(TYPE) void testEvent(FwIndexType portNum, FppTest::Types::TYPE& data);
#define EVENT_TEST_HELPER_DECL(TYPE) \
void testEventHelper(FwIndexType portNum, FppTest::Types::TYPE& data, FwSizeType size);
#define EVENT_TEST_DECLS \
EVENT_TEST_DECL(NoParams) \
EVENT_TEST_HELPER_DECL(PrimitiveParams) \
EVENT_TEST_DECL(PrimitiveParams) \
EVENT_TEST_DECL(LogStringParams) \
EVENT_TEST_DECL(EnumParam) \
EVENT_TEST_HELPER_DECL(ArrayParam) \
EVENT_TEST_DECL(ArrayParam) \
EVENT_TEST_DECL(StructParam) \
EVENT_TEST_HELPER_DECL(BoolParam) \
EVENT_TEST_DECL(BoolParam)