ManaPlus
Enumerations
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 1729 of file doctest.h.

1730  {
1731  None = 0,
1732  AssertFailure = 1, // an assertion has failed in the test case
1733  Exception = 2, // test case threw an exception
1734  Crash = 4, // a crash...
1735  TooManyFailedAsserts = 8, // the abort-after option
1736  Timeout = 16, // see the timeout decorator
1737  ShouldHaveFailedButDidnt = 32, // see the should_fail decorator
1738  ShouldHaveFailedAndDid = 64, // see the should_fail decorator
1739  DidntFailExactlyNumTimes = 128, // see the expected_failures decorator
1740  FailedExactlyNumTimes = 256, // see the expected_failures decorator
1741  CouldHaveFailedAndDid = 512 // see the may_fail decorator
1742  };