Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
doctest::TestCaseFailureReason Namespace Reference

Enumerations

enum  Enum {
  None = 0 , AssertFailure = 1 , Exception = 2 , Crash = 4 ,
  TooManyFailedAsserts = 8 , Timeout = 16 , ShouldHaveFailedButDidnt = 32 , ShouldHaveFailedAndDid = 64 ,
  DidntFailExactlyNumTimes = 128 , FailedExactlyNumTimes = 256 , CouldHaveFailedAndDid = 512
}
 

Enumeration Type Documentation

◆ Enum

Enumerator
None 
AssertFailure 
Exception 
Crash 
TooManyFailedAsserts 
Timeout 
ShouldHaveFailedButDidnt 
ShouldHaveFailedAndDid 
DidntFailExactlyNumTimes 
FailedExactlyNumTimes 
CouldHaveFailedAndDid 

Definition at line 2002 of file doctest.h.

2003 {
2004 None = 0,
2005 AssertFailure = 1, // an assertion has failed in the test case
2006 Exception = 2, // test case threw an exception
2007 Crash = 4, // a crash...
2008 TooManyFailedAsserts = 8, // the abort-after option
2009 Timeout = 16, // see the timeout decorator
2010 ShouldHaveFailedButDidnt = 32, // see the should_fail decorator
2011 ShouldHaveFailedAndDid = 64, // see the should_fail decorator
2012 DidntFailExactlyNumTimes = 128, // see the expected_failures decorator
2013 FailedExactlyNumTimes = 256, // see the expected_failures decorator
2014 CouldHaveFailedAndDid = 512 // see the may_fail decorator
2015 };