Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gtest_throw_on_failure_ex_test.cc File Reference
#include "gtest/gtest.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdexcept>
+ Include dependency graph for gtest_throw_on_failure_ex_test.cc:

Go to the source code of this file.

Functions

void Fail (const char *msg)
 
void TestFailureThrowsRuntimeError ()
 
int main (int argc, char **argv)
 

Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: