Analysis Software
Documentation for sPHENIX simulation software
|
#include "gtest/gtest.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdexcept>
Go to the source code of this file.
Functions | |
void | Fail (const char *msg) |
void | TestFailureThrowsRuntimeError () |
int | main (int argc, char **argv) |
void Fail | ( | const char * | msg | ) |
Definition at line 45 of file gtest_throw_on_failure_ex_test.cc.
View newest version in sPHENIX GitHub at line 45 of file gtest_throw_on_failure_ex_test.cc
References printf(), and conf::stdout.
Referenced by TestFailureThrowsRuntimeError().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 81 of file gtest_throw_on_failure_ex_test.cc.
View newest version in sPHENIX GitHub at line 81 of file gtest_throw_on_failure_ex_test.cc
References testing::InitGoogleTest(), and TestFailureThrowsRuntimeError().
void TestFailureThrowsRuntimeError | ( | ) |
Definition at line 53 of file gtest_throw_on_failure_ex_test.cc.
View newest version in sPHENIX GitHub at line 53 of file gtest_throw_on_failure_ex_test.cc
References Acts::UnitConstants::e, EXPECT_EQ, Fail(), GTEST_FLAG, and printf().
Referenced by main().