Analysis Software
Documentation for sPHENIX simulation software
|
#include "gtest/gtest-death-test.h"
#include "gtest/gtest.h"
#include "gtest/internal/gtest-filepath.h"
Go to the source code of this file.
Functions | |
TEST (ConditionalDeathMacrosTest, WarnsWhenDeathTestsNotAvailable) | |
void | FuncWithAssert (int *n) |
TEST (ConditionalDeathMacrosTest, AssertDeatDoesNotReturnhIfUnsupported) | |
TEST (ConditionalDeathMacrosSyntaxDeathTest, SingleStatement) | |
TEST (ConditionalDeathMacrosSyntaxDeathTest, SwitchStatement) | |
TEST (NotADeathTest, Test) | |
void FuncWithAssert | ( | int * | n | ) |
Definition at line 1363 of file gtest-death-test_test.cc.
View newest version in sPHENIX GitHub at line 1363 of file gtest-death-test_test.cc
References ASSERT_DEATH_IF_SUPPORTED.
Referenced by TEST().
TEST | ( | ConditionalDeathMacrosTest | , |
WarnsWhenDeathTestsNotAvailable | |||
) |
Definition at line 1334 of file gtest-death-test_test.cc.
View newest version in sPHENIX GitHub at line 1334 of file gtest-death-test_test.cc
References ASSERT_DEATH_IF_SUPPORTED, ASSERT_TRUE, testing::internal::CaptureStderr(), EXPECT_DEATH_IF_SUPPORTED, testing::internal::GetCapturedStderr(), and check_smearing_config::output.
TEST | ( | ConditionalDeathMacrosTest | , |
AssertDeatDoesNotReturnhIfUnsupported | |||
) |
Definition at line 1370 of file gtest-death-test_test.cc.
View newest version in sPHENIX GitHub at line 1370 of file gtest-death-test_test.cc
References EXPECT_EQ, FuncWithAssert(), and n.
TEST | ( | ConditionalDeathMacrosSyntaxDeathTest | , |
SingleStatement | |||
) |
Definition at line 1383 of file gtest-death-test_test.cc.
View newest version in sPHENIX GitHub at line 1383 of file gtest-death-test_test.cc
References testing::internal::AlwaysFalse(), testing::internal::AlwaysTrue(), ASSERT_DEATH_IF_SUPPORTED, and EXPECT_DEATH_IF_SUPPORTED.
TEST | ( | ConditionalDeathMacrosSyntaxDeathTest | , |
SwitchStatement | |||
) |
Definition at line 1406 of file gtest-death-test_test.cc.
View newest version in sPHENIX GitHub at line 1406 of file gtest-death-test_test.cc
References ASSERT_DEATH_IF_SUPPORTED, EXPECT_DEATH_IF_SUPPORTED, GTEST_DISABLE_MSC_WARNINGS_POP_, and GTEST_DISABLE_MSC_WARNINGS_PUSH_.
TEST | ( | NotADeathTest | , |
Test | |||
) |
Definition at line 1425 of file gtest-death-test_test.cc.
View newest version in sPHENIX GitHub at line 1425 of file gtest-death-test_test.cc
References SUCCEED.