// ====================================================================== // \title QueuedNoArgsPortsOnlyGTestBase.cpp // \author Generated by fpp-to-cpp // \brief cpp file for QueuedNoArgsPortsOnly component Google Test harness base class // ====================================================================== #include "test-base/QueuedNoArgsPortsOnlyGTestBase.hpp" // ---------------------------------------------------------------------- // Construction and destruction // ---------------------------------------------------------------------- QueuedNoArgsPortsOnlyGTestBase :: QueuedNoArgsPortsOnlyGTestBase( const char* const compName, const U32 maxHistorySize ) : QueuedNoArgsPortsOnlyTesterBase(compName, maxHistorySize) { } QueuedNoArgsPortsOnlyGTestBase :: ~QueuedNoArgsPortsOnlyGTestBase() { } // ---------------------------------------------------------------------- // From ports // ---------------------------------------------------------------------- void QueuedNoArgsPortsOnlyGTestBase :: assertFromPortHistory_size( const char* const __callSiteFileName, const U32 __callSiteLineNumber, const U32 size ) const { ASSERT_EQ(size, this->fromPortHistorySize) << "\n" << __callSiteFileName << ":" << __callSiteLineNumber << "\n" << " Value: Total size of all from port histories\n" << " Expected: " << size << "\n" << " Actual: " << this->fromPortHistorySize << "\n"; } void QueuedNoArgsPortsOnlyGTestBase :: assert_from_noArgsOut_size( const char* const __callSiteFileName, const U32 __callSiteLineNumber, const U32 size ) const { ASSERT_EQ(size, this->fromPortHistorySize_noArgsOut) << "\n" << __callSiteFileName << ":" << __callSiteLineNumber << "\n" << " Value: Size of history for noArgsOut\n" << " Expected: " << size << "\n" << " Actual: " << this->fromPortHistorySize_noArgsOut << "\n"; } void QueuedNoArgsPortsOnlyGTestBase :: assert_from_noArgsReturnOut_size( const char* const __callSiteFileName, const U32 __callSiteLineNumber, const U32 size ) const { ASSERT_EQ(size, this->fromPortHistorySize_noArgsReturnOut) << "\n" << __callSiteFileName << ":" << __callSiteLineNumber << "\n" << " Value: Size of history for noArgsReturnOut\n" << " Expected: " << size << "\n" << " Actual: " << this->fromPortHistorySize_noArgsReturnOut << "\n"; }