An enumeration describing all of the possible ways that a death test can conclude. DIED means that the process died while executing the test code; LIVED means that process lived beyond the end of the test code; RETURNED means that the test statement attempted to execute a return statement, which is not allowed; THREW means that the test statement returned control by throwing an exception. IN_PRO
| 7873 | // returned control by throwing an exception. IN_PROGRESS means the test |
| 7874 | // has not yet concluded. |
| 7875 | enum DeathTestOutcome { IN_PROGRESS, DIED, LIVED, RETURNED, THREW }; |
| 7876 | |
| 7877 | // Routine for aborting the program which is safe to call from an |
| 7878 | // exec-style death test child process, in which case the error |
nothing calls this directly
no outgoing calls
no test coverage detected