sst-waveshapers
Waveshapers submodule for the Surge Synthesizer
Public Member Functions | List of all members
IResultCapture Struct Referenceabstract

Public Member Functions

virtual ~IResultCapture ()
 
virtual bool sectionStarted (SectionInfo const &sectionInfo, Counts &assertions)=0
 
virtual void sectionEnded (SectionEndInfo const &endInfo)=0
 
virtual void sectionEndedEarly (SectionEndInfo const &endInfo)=0
 
virtual auto acquireGeneratorTracker (StringRef generatorName, SourceLineInfo const &lineInfo) -> IGeneratorTracker &=0
 
virtual void pushScopedMessage (MessageInfo const &message)=0
 
virtual void popScopedMessage (MessageInfo const &message)=0
 
virtual void emplaceUnscopedMessage (MessageBuilder const &builder)=0
 
virtual void handleFatalErrorCondition (StringRef message)=0
 
virtual void handleExpr (AssertionInfo const &info, ITransientExpression const &expr, AssertionReaction &reaction)=0
 
virtual void handleMessage (AssertionInfo const &info, ResultWas::OfType resultType, StringRef const &message, AssertionReaction &reaction)=0
 
virtual void handleUnexpectedExceptionNotThrown (AssertionInfo const &info, AssertionReaction &reaction)=0
 
virtual void handleUnexpectedInflightException (AssertionInfo const &info, std::string const &message, AssertionReaction &reaction)=0
 
virtual void handleIncomplete (AssertionInfo const &info)=0
 
virtual void handleNonExpr (AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction)=0
 
virtual bool lastAssertionPassed ()=0
 
virtual void assertionPassed ()=0
 
virtual std::string getCurrentTestName () const =0
 
virtual const AssertionResult * getLastResult () const =0
 
virtual void exceptionEarlyReported ()=0
 

Constructor & Destructor Documentation

◆ ~IResultCapture()

virtual ~IResultCapture ( )
virtual

Member Function Documentation

◆ sectionStarted()

virtual bool sectionStarted ( SectionInfo const &  sectionInfo,
Counts assertions 
)
pure virtual

◆ sectionEnded()

virtual void sectionEnded ( SectionEndInfo const &  endInfo)
pure virtual

◆ sectionEndedEarly()

virtual void sectionEndedEarly ( SectionEndInfo const &  endInfo)
pure virtual

◆ acquireGeneratorTracker()

virtual auto acquireGeneratorTracker ( StringRef  generatorName,
SourceLineInfo const &  lineInfo 
) -> IGeneratorTracker &
pure virtual

◆ pushScopedMessage()

virtual void pushScopedMessage ( MessageInfo const &  message)
pure virtual

◆ popScopedMessage()

virtual void popScopedMessage ( MessageInfo const &  message)
pure virtual

◆ emplaceUnscopedMessage()

virtual void emplaceUnscopedMessage ( MessageBuilder const &  builder)
pure virtual

◆ handleFatalErrorCondition()

virtual void handleFatalErrorCondition ( StringRef  message)
pure virtual

◆ handleExpr()

virtual void handleExpr ( AssertionInfo const &  info,
ITransientExpression const &  expr,
AssertionReaction reaction 
)
pure virtual

◆ handleMessage()

virtual void handleMessage ( AssertionInfo const &  info,
ResultWas::OfType  resultType,
StringRef const &  message,
AssertionReaction reaction 
)
pure virtual

◆ handleUnexpectedExceptionNotThrown()

virtual void handleUnexpectedExceptionNotThrown ( AssertionInfo const &  info,
AssertionReaction reaction 
)
pure virtual

◆ handleUnexpectedInflightException()

virtual void handleUnexpectedInflightException ( AssertionInfo const &  info,
std::string const &  message,
AssertionReaction reaction 
)
pure virtual

◆ handleIncomplete()

virtual void handleIncomplete ( AssertionInfo const &  info)
pure virtual

◆ handleNonExpr()

virtual void handleNonExpr ( AssertionInfo const &  info,
ResultWas::OfType  resultType,
AssertionReaction reaction 
)
pure virtual

◆ lastAssertionPassed()

virtual bool lastAssertionPassed ( )
pure virtual

◆ assertionPassed()

virtual void assertionPassed ( )
pure virtual

◆ getCurrentTestName()

virtual std::string getCurrentTestName ( ) const
pure virtual

◆ getLastResult()

virtual const AssertionResult* getLastResult ( ) const
pure virtual

◆ exceptionEarlyReported()

virtual void exceptionEarlyReported ( )
pure virtual

The documentation for this struct was generated from the following file: