@@ -693,47 +693,3 @@ void UT_AddSubTest(void (*Test)(void), void (*Setup)(void), void (*Teardown)(voi
693693
694694 UtTest_Add (Test , Setup , Teardown , strdup (CompleteTestName ));
695695}
696-
697- void UT_SETUP_impl (const char * FileName , int LineNum , const char * TestName , const char * FnName , int32 FnRet )
698- {
699- UtAssertEx (FnRet == CFE_SUCCESS , UTASSERT_CASETYPE_TSF , FileName , LineNum , "%s - Setup - %s returned 0x%lx" ,
700- TestName , FnName , (long int )FnRet );
701- }
702-
703- void UT_ASSERT_impl (const char * FileName , int LineNum , const char * TestName , const char * FnName , int32 FnRet )
704- {
705- UtAssertEx (FnRet == CFE_SUCCESS , UtAssert_GetContext (), FileName , LineNum ,
706- "%s - %s returned 0x%lx, expected CFE_SUCCESS" , TestName , FnName , (long int )FnRet );
707- }
708-
709- void UT_ASSERT_EQ_impl (const char * FileName , int LineNum , const char * FnName , int32 FnRet , const char * ExpName ,
710- int32 Exp )
711- {
712- UtAssertEx (FnRet == Exp , UtAssert_GetContext (), FileName , LineNum , "%s - value %ld 0x%lx, expected %s[%ld 0x%lx]" ,
713- FnName , (long )FnRet , (long )FnRet , ExpName , (long )Exp , (long )Exp );
714- }
715-
716- void UT_ASSERT_TRUE_impl (const char * FileName , int LineNum , const char * TestName , const char * ExpName , bool Exp )
717- {
718- UtAssertEx (Exp , UtAssert_GetContext (), FileName , LineNum , "%s - %s" , TestName , ExpName );
719- }
720-
721- void UT_EVTCNT_impl (const char * FileName , int LineNum , const char * TestName , int32 CntExp )
722- {
723- int32 CntSent = UT_GetNumEventsSent ();
724-
725- UtAssertEx (CntSent == CntExp , UtAssert_GetContext (), FileName , LineNum , "%s - event count (sent %ld, expected %ld)" ,
726- TestName , (long int )CntSent , (long int )CntExp );
727- }
728-
729- void UT_EVTSENT_impl (const char * FileName , int LineNum , const char * TestName , const char * EvtName , int32 EvtId )
730- {
731- UtAssertEx (UT_EventIsInHistory (EvtId ), UtAssert_GetContext (), FileName , LineNum , "%s - sent event %s [%ld]" ,
732- TestName , EvtName , (long int )EvtId );
733- }
734-
735- void UT_TEARDOWN_impl (const char * FileName , int LineNum , const char * TestName , const char * FnName , int32 FnRet )
736- {
737- UtAssertEx (FnRet == CFE_SUCCESS , UTASSERT_CASETYPE_TTF , FileName , LineNum ,
738- "%s - Teardown failed (%s returned 0x%lx)" , TestName , FnName , (long int )FnRet );
739- }
0 commit comments