Files
fprime/FppTest/struct/main.cpp
Rob Bocchino ca08ac93d7 Update FPP to v2.1.0a11 (#2745)
* Code updates for FPP v2.1.0a11

* Fix link in data products docs

* Remove uses of new

To keep the leak checker happy

* Revise string test

* Replace F' with F Prime in data products docs
2024-06-04 10:14:45 -07:00

35 lines
1.0 KiB
C++

// ======================================================================
// \title main.cpp
// \author T. Chieu
// \brief main cpp file for FPP struct tests
//
// \copyright
// Copyright (C) 2009-2022 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ======================================================================
#include "FppTest/struct/MultiStringSerializableAc.hpp"
#include "FppTest/struct/NonPrimitiveSerializableAc.hpp"
#include "FppTest/typed_tests/StringTest.hpp"
#include "Fw/Types/StringTemplate.hpp"
#include "STest/Random/Random.hpp"
#include "gtest/gtest.h"
// Instantiate string tests for structs
using StringTestImplementations = ::testing::Types<
Fw::StringTemplate<80>,
Fw::StringTemplate<50>,
Fw::StringTemplate<60>
>;
INSTANTIATE_TYPED_TEST_SUITE_P(Struct, StringTest, StringTestImplementations);
int main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
STest::Random::seed();
return RUN_ALL_TESTS();
}