mirror of
https://github.com/nasa/fpp.git
synced 2025-12-15 21:08:16 -06:00
74 lines
2.1 KiB
C++
Vendored
74 lines
2.1 KiB
C++
Vendored
// ======================================================================
|
|
// \title PassiveExternalParamsTester.hpp
|
|
// \author [user name]
|
|
// \brief hpp file for PassiveExternalParams component test harness implementation class
|
|
// ======================================================================
|
|
|
|
#ifndef PassiveExternalParamsTester_HPP
|
|
#define PassiveExternalParamsTester_HPP
|
|
|
|
#include "PassiveExternalParamsGTestBase.hpp"
|
|
#include "PassiveExternalParams.hpp"
|
|
|
|
class PassiveExternalParamsTester final :
|
|
public PassiveExternalParamsGTestBase
|
|
{
|
|
|
|
public:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Constants
|
|
// ----------------------------------------------------------------------
|
|
|
|
// Maximum size of histories storing events, telemetry, and port outputs
|
|
static const FwSizeType MAX_HISTORY_SIZE = 10;
|
|
|
|
// Instance ID supplied to the component instance under test
|
|
static const FwEnumStoreType TEST_INSTANCE_ID = 0;
|
|
|
|
public:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Construction and destruction
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Construct object PassiveExternalParamsTester
|
|
PassiveExternalParamsTester();
|
|
|
|
//! Destroy object PassiveExternalParamsTester
|
|
~PassiveExternalParamsTester();
|
|
|
|
public:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Tests
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! To do
|
|
void toDo();
|
|
|
|
private:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Helper functions
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Connect ports
|
|
void connectPorts();
|
|
|
|
//! Initialize components
|
|
void initComponents();
|
|
|
|
private:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Member variables
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! The component under test
|
|
PassiveExternalParams component;
|
|
|
|
};
|
|
|
|
#endif
|