// ====================================================================== // \title AsyncTests.cpp // \author T. Chieu // \brief cpp file for async component tests // // \copyright // Copyright (C) 2009-2023 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // // ====================================================================== #include "FppTest/component/types/FormalParamTypes.hpp" #include "FppTest/typed_tests/ComponentTest.hpp" #include "FppTest/typed_tests/PortTest.hpp" // Typed async port tests using TypedAsyncPortTestImplementations = ::testing::Types; INSTANTIATE_TYPED_TEST_SUITE_P(FppTest, TypedAsyncPortTest, TypedAsyncPortTestImplementations); // Serial async port tests using SerialAsyncPortTestImplementations = ::testing::Types; INSTANTIATE_TYPED_TEST_SUITE_P(FppTest, SerialAsyncPortTest, SerialAsyncPortTestImplementations); // Async command tests using AsyncCommandTestImplementations = ::testing::Types; INSTANTIATE_TYPED_TEST_SUITE_P(FppTest, ComponentAsyncCommandTest, AsyncCommandTestImplementations); // Internal interface tests using InternalInterfaceTestImplementations = ::testing::Types; INSTANTIATE_TYPED_TEST_SUITE_P(FppTest, ComponentInternalInterfaceTest, InternalInterfaceTestImplementations); TEST(ComponentOverflow, OverflowHook) { Tester tester; tester.testOverflowHook(); } TEST(ComponentOverflow, OverflowDrop) { Tester tester; tester.testOverflowDrop(); } TEST(ComponentOverflow, OverflowAssert) { Tester tester; tester.testOverflowAssert(); }