enum_name
Loading...
Searching...
No Matches
Public Member Functions | List of all members
doctest::Context Class Reference

Public Member Functions

 Context (int argc=0, const char *const *argv=nullptr)
 
 Context (const Context &)=delete
 
 Context (Context &&)=delete
 
Contextoperator= (const Context &)=delete
 
Contextoperator= (Context &&)=delete
 
void applyCommandLine (int argc, const char *const *argv)
 
void addFilter (const char *filter, const char *value)
 
void clearFilters ()
 
void setOption (const char *option, bool value)
 
void setOption (const char *option, int value)
 
void setOption (const char *option, const char *value)
 
bool shouldExit ()
 
void setAsDefaultForAssertsOutOfTestCases ()
 
void setAssertHandler (detail::assert_handler ah)
 
void setCout (std::ostream *out)
 
int run ()
 
 Context (int argc=0, const char *const *argv=nullptr)
 
 Context (const Context &)=delete
 
 Context (Context &&)=delete
 
Contextoperator= (const Context &)=delete
 
Contextoperator= (Context &&)=delete
 
void applyCommandLine (int argc, const char *const *argv)
 
void addFilter (const char *filter, const char *value)
 
void clearFilters ()
 
void setOption (const char *option, bool value)
 
void setOption (const char *option, int value)
 
void setOption (const char *option, const char *value)
 
bool shouldExit ()
 
void setAsDefaultForAssertsOutOfTestCases ()
 
void setAssertHandler (detail::assert_handler ah)
 
void setCout (std::ostream *out)
 
int run ()
 

The documentation for this class was generated from the following files: