Pigweed
 
Loading...
Searching...
No Matches
pw::unit_test::internal::Framework Class Reference

Public Member Functions

void RegisterTest (TestInfo *test) const
 
void RegisterEventHandler (EventHandler *event_handler)
 
int RunAllTests ()
 
void SetTestSuitesToRun (span< std::string_view > test_suites)
 
bool ShouldRunTest (const TestInfo &test_info) const
 
bool IsSkipped () const
 
bool HasFailure () const
 
template<typename Expectation , typename Lhs , typename Rhs , typename Epsilon >
bool CurrentTestExpectWithEpsilon (Expectation expectation, const Lhs &lhs, const Rhs &rhs, const Epsilon &epsilon, const char *expression, int line)
 
template<typename Expectation , typename Lhs , typename Rhs >
bool CurrentTestExpect (Expectation expectation, const Lhs &lhs, const Rhs &rhs, const char *expectation_string, const char *expression, int line)
 
::pw::unit_test::internal::FailureMessageAdapter CurrentTestSkip (int line)
 
::pw::unit_test::internal::FailureMessageAdapter CurrentTestExpectSimple (const char *expression, const char *evaluated_expression, int line, bool success)
 

Static Public Member Functions

static FrameworkGet ()
 
template<typename TestInstance >
static void CreateAndRunTest (const TestInfo &test_info)
 

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