![]() |
- 3.0.1 core module.
|
#include <cstddef>#include <limits>#include <memory>#include <ostream>#include <type_traits>#include <vector>#include "gtest/internal/gtest-internal.h"#include "gtest/internal/gtest-string.h"#include "gtest/gtest-death-test.h"#include "gtest/gtest-matchers.h"#include "gtest/gtest-message.h"#include "gtest/gtest-param-test.h"#include "gtest/gtest-printers.h"#include "gtest/gtest_prod.h"#include "gtest/gtest-test-part.h"#include "gtest/gtest-typed-test.h"#include "gtest/gtest_pred_impl.h"Go to the source code of this file.
Classes | |
| class | testing::Test |
| class | testing::TestProperty |
| class | testing::TestResult |
| class | testing::TestInfo |
| class | testing::TestSuite |
| class | testing::Environment |
| class | testing::TestEventListener |
| class | testing::EmptyTestEventListener |
| class | testing::TestEventListeners |
| class | testing::UnitTest |
| struct | testing::internal::faketype |
| class | testing::internal::EqHelper |
| class | testing::internal::AssertHelper |
| class | testing::WithParamInterface< T > |
| class | testing::TestWithParam< T > |
| class | testing::ScopedTrace |
Namespaces | |
| testing | |
| testing::internal | |
Macros | |
| #define | GTEST_IMPL_CMP_HELPER_(op_name, op) |
| #define | GTEST_SKIP() GTEST_SKIP_("Skipped") |
| #define | ADD_FAILURE() GTEST_NONFATAL_FAILURE_("Failed") |
| #define | ADD_FAILURE_AT(file, line) |
| #define | GTEST_FAIL() GTEST_FATAL_FAILURE_("Failed") |
| #define | GTEST_FAIL_AT(file, line) |
| #define | FAIL() GTEST_FAIL() |
| #define | GTEST_SUCCEED() GTEST_SUCCESS_("Succeeded") |
| #define | SUCCEED() GTEST_SUCCEED() |
| #define | EXPECT_THROW(statement, expected_exception) GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_) |
| #define | EXPECT_NO_THROW(statement) GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_) |
| #define | EXPECT_ANY_THROW(statement) GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_) |
| #define | ASSERT_THROW(statement, expected_exception) GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_) |
| #define | ASSERT_NO_THROW(statement) GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_) |
| #define | ASSERT_ANY_THROW(statement) GTEST_TEST_ANY_THROW_(statement, GTEST_FATAL_FAILURE_) |
| #define | EXPECT_TRUE(condition) |
| #define | EXPECT_FALSE(condition) |
| #define | ASSERT_TRUE(condition) |
| #define | ASSERT_FALSE(condition) |
| #define | EXPECT_EQ(val1, val2) EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) |
| #define | EXPECT_NE(val1, val2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2) |
| #define | EXPECT_LE(val1, val2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2) |
| #define | EXPECT_LT(val1, val2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2) |
| #define | EXPECT_GE(val1, val2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2) |
| #define | EXPECT_GT(val1, val2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2) |
| #define | GTEST_ASSERT_EQ(val1, val2) ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) |
| #define | GTEST_ASSERT_NE(val1, val2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2) |
| #define | GTEST_ASSERT_LE(val1, val2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2) |
| #define | GTEST_ASSERT_LT(val1, val2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2) |
| #define | GTEST_ASSERT_GE(val1, val2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2) |
| #define | GTEST_ASSERT_GT(val1, val2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2) |
| #define | ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) |
| #define | ASSERT_NE(val1, val2) GTEST_ASSERT_NE(val1, val2) |
| #define | ASSERT_LE(val1, val2) GTEST_ASSERT_LE(val1, val2) |
| #define | ASSERT_LT(val1, val2) GTEST_ASSERT_LT(val1, val2) |
| #define | ASSERT_GE(val1, val2) GTEST_ASSERT_GE(val1, val2) |
| #define | ASSERT_GT(val1, val2) GTEST_ASSERT_GT(val1, val2) |
| #define | EXPECT_STREQ(s1, s2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2) |
| #define | EXPECT_STRNE(s1, s2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2) |
| #define | EXPECT_STRCASEEQ(s1, s2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2) |
| #define | EXPECT_STRCASENE(s1, s2) EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2) |
| #define | ASSERT_STREQ(s1, s2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2) |
| #define | ASSERT_STRNE(s1, s2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2) |
| #define | ASSERT_STRCASEEQ(s1, s2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2) |
| #define | ASSERT_STRCASENE(s1, s2) ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2) |
| #define | EXPECT_FLOAT_EQ(val1, val2) |
| #define | EXPECT_DOUBLE_EQ(val1, val2) |
| #define | ASSERT_FLOAT_EQ(val1, val2) |
| #define | ASSERT_DOUBLE_EQ(val1, val2) |
| #define | EXPECT_NEAR(val1, val2, abs_error) |
| #define | ASSERT_NEAR(val1, val2, abs_error) |
| #define | ASSERT_NO_FATAL_FAILURE(statement) GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_FATAL_FAILURE_) |
| #define | EXPECT_NO_FATAL_FAILURE(statement) GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_NONFATAL_FAILURE_) |
| #define | SCOPED_TRACE(message) |
| #define | GTEST_TEST(test_suite_name, test_name) |
| #define | TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name) |
| #define | TEST_F(test_fixture, test_name) |
Typedefs | |
| typedef internal::TimeInMillis | testing::TimeInMillis |
Enumerations |
Functions | |
| GTEST_DISABLE_MSC_WARNINGS_PUSH_ (4251) namespace testing | |
| Environment * | testing::AddGlobalTestEnvironment (Environment *env) |
| GTEST_API_ void | testing::InitGoogleTest (int *argc, char **argv) |
| GTEST_API_ void | testing::InitGoogleTest (int *argc, wchar_t **argv) |
| GTEST_API_ void | testing::InitGoogleTest () |
| template<typename T1 , typename T2 > | |
| AssertionResult | testing::internal::CmpHelperEQFailure (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs) |
| bool | testing::internal::operator== (faketype, faketype) |
| bool | testing::internal::operator!= (faketype, faketype) |
| template<typename T1 , typename T2 > | |
| AssertionResult | testing::internal::CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs) |
| GTEST_API_ AssertionResult | testing::internal::CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, BiggestInt lhs, BiggestInt rhs) |
| template<typename T1 , typename T2 > | |
| AssertionResult | testing::internal::CmpHelperOpFailure (const char *expr1, const char *expr2, const T1 &val1, const T2 &val2, const char *op) |
| testing::internal::GTEST_IMPL_CMP_HELPER_ (NE,!=) | |
| testing::internal::GTEST_IMPL_CMP_HELPER_ (LE,<=) | |
| testing::internal::GTEST_IMPL_CMP_HELPER_ (LT,<) | |
| testing::internal::GTEST_IMPL_CMP_HELPER_ (GE, >=) | |
| testing::internal::GTEST_IMPL_CMP_HELPER_ (GT, >) | |
| GTEST_API_ AssertionResult | testing::internal::CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
| GTEST_API_ AssertionResult | testing::internal::CmpHelperSTRCASEEQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
| GTEST_API_ AssertionResult | testing::internal::CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
| GTEST_API_ AssertionResult | testing::internal::CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
| GTEST_API_ AssertionResult | testing::internal::CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2) |
| GTEST_API_ AssertionResult | testing::internal::CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2) |
| GTEST_API_ AssertionResult | testing::IsSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack) |
| GTEST_API_ AssertionResult | testing::IsSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack) |
| GTEST_API_ AssertionResult | testing::IsNotSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack) |
| GTEST_API_ AssertionResult | testing::IsNotSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack) |
| GTEST_API_ AssertionResult | testing::IsSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack) |
| GTEST_API_ AssertionResult | testing::IsNotSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack) |
| template<typename RawType > | |
| AssertionResult | testing::internal::CmpHelperFloatingPointEQ (const char *lhs_expression, const char *rhs_expression, RawType lhs_value, RawType rhs_value) |
| GTEST_API_ AssertionResult | testing::internal::DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error) |
| GTEST_API_ | testing::internal::GTEST_ATTRIBUTE_PRINTF_ (2, 3) void ColoredPrintf(GTestColor color |
| GTEST_API_ AssertionResult | testing::FloatLE (const char *expr1, const char *expr2, float val1, float val2) |
| GTEST_API_ AssertionResult | testing::DoubleLE (const char *expr1, const char *expr2, double val1, double val2) |
| template<typename T1 , typename T2 > | |
| bool | testing::StaticAssertTypeEq () |
| GTEST_API_ std::string | testing::TempDir () |
| template<int &... ExplicitParameterBarrier, typename Factory > | |
| TestInfo * | testing::RegisterTest (const char *test_suite_name, const char *test_name, const char *type_param, const char *value_param, const char *file, int line, Factory factory) |
| int | RUN_ALL_TESTS () GTEST_MUST_USE_RESULT_ |
Variables | |
| GTEST_API_ const char * | testing::internal::fmt |
| class GTEST_API_ testing::ScopedTrace | testing::GTEST_ATTRIBUTE_UNUSED_ |
| #define GTEST_IMPL_CMP_HELPER_ | ( | op_name, | |
| op | |||
| ) |
| #define GTEST_SKIP | ( | ) | GTEST_SKIP_("Skipped") |
Referenced by SetupEnvironment::SetUp(), Fixture::SetUp(), TEST(), and TEST_F().
| #define ADD_FAILURE | ( | ) | GTEST_NONFATAL_FAILURE_("Failed") |
Referenced by ExpectFailureTest::AddFailure(), testing::ArrayAsVector(), testing::internal::GetThreadCount(), NonFatalFailureInFixtureConstructorTest::NonFatalFailureInFixtureConstructorTest(), operator<<(), testing::internal::ReportFailureInUnknownLocation(), NonFatalFailureInFixtureConstructorTest::SetUp(), FatalFailureInFixtureConstructorTest::SetUp(), NonFatalFailureInSetUpTest::SetUp(), NonFatalFailureInFixtureConstructorTest::TearDown(), FatalFailureInFixtureConstructorTest::TearDown(), BarEnvironment::TearDown(), TEST(), testing::TEST(), TEST_F(), FatalFailureInFixtureConstructorTest::~FatalFailureInFixtureConstructorTest(), and NonFatalFailureInFixtureConstructorTest::~NonFatalFailureInFixtureConstructorTest().
| #define ADD_FAILURE_AT | ( | file, | |
| line | |||
| ) |
Referenced by TEST(), and testing::TEST().
| #define GTEST_FAIL | ( | ) | GTEST_FATAL_FAILURE_("Failed") |
Referenced by GTEST_TEST().
| #define GTEST_FAIL_AT | ( | file, | |
| line | |||
| ) |
Referenced by TEST(), and testing::TEST().
| #define FAIL | ( | ) | GTEST_FAIL() |
Referenced by ExpectFailureTest::AddFailure(), FatalFailure(), operator<<(), FatalFailureInSetUpTest::SetUp(), AdHocTestResultTest::SetUpTestSuite(), Predicate1Test::TearDown(), FatalFailureInFixtureConstructorTest::TearDown(), NonFatalFailureInSetUpTest::TearDown(), FatalFailureInSetUpTest::TearDown(), Predicate2Test::TearDown(), Predicate3Test::TearDown(), FooEnvironment::TearDown(), Predicate4Test::TearDown(), Predicate5Test::TearDown(), TEST(), testing::gmock_nice_strict_test::TEST(), testing::TEST(), my_namespace::testing::TEST(), TEST_F(), TEST_P(), and TryTestSubroutine().
| #define GTEST_SUCCEED | ( | ) | GTEST_SUCCESS_("Succeeded") |
Referenced by GTEST_TEST().
| #define SUCCEED | ( | ) | GTEST_SUCCEED() |
Referenced by testing::TEST(), TEST(), testing::internal::TEST_F(), and TEST_F().
| #define EXPECT_THROW | ( | statement, | |
| expected_exception | |||
| ) | GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_) |
Referenced by TEST(), testing::gmock_more_actions_test::TEST(), and testing::TEST().
| #define EXPECT_NO_THROW | ( | statement | ) | GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_) |
Referenced by testing::TEST(), and TEST().
| #define EXPECT_ANY_THROW | ( | statement | ) | GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_) |
Referenced by testing::TEST(), and TEST().
| #define ASSERT_THROW | ( | statement, | |
| expected_exception | |||
| ) | GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_) |
Referenced by TEST().
| #define ASSERT_NO_THROW | ( | statement | ) | GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_) |
Referenced by TEST().
| #define ASSERT_ANY_THROW | ( | statement | ) | GTEST_TEST_ANY_THROW_(statement, GTEST_FATAL_FAILURE_) |
Referenced by TEST().
| #define EXPECT_TRUE | ( | condition | ) |
Referenced by AdHocTest(), testing::internal::GetThreadCount(), testing::gmock_nice_strict_test::MockBaz::MockBaz(), operator<<(), TestGenerationTest::SetUpTestSuite(), testing::CurrentTestInfoTest::SetUpTestSuite(), testing::internal::FinalSuccessChecker::TearDown(), TestGenerationTest::TearDownTestSuite(), testing::CurrentTestInfoTest::TearDownTestSuite(), testing::internal::TEST(), testing::gmock_generated_actions_test::TEST(), testing::gmock_more_actions_test::TEST(), testing::gmock_nice_strict_test::TEST(), testing::gmock_generated_function_mockers_test::TEST(), testing::gmock_function_mocker_test::TEST(), testing::gtest_printers_test::TEST(), TEST(), testing::TEST(), testing::gmock_function_mocker_test::TEST_F(), testing::gmock_generated_function_mockers_test::TEST_F(), testing::TEST_F(), TEST_F(), DynamicTest< Pass >::TestBody(), VerifyGenerator(), and VerifyGeneratorIsEmpty().
| #define EXPECT_FALSE | ( | condition | ) |
Referenced by testing::gmock_nice_strict_test::MockBaz::MockBaz(), operator<<(), testing::internal::FinalSuccessChecker::TearDown(), testing::internal::TEST(), testing::gmock_more_actions_test::TEST(), testing::gmock_generated_actions_test::TEST(), testing::gmock_nice_strict_test::TEST(), TEST(), testing::TEST(), testing::gmock_function_mocker_test::TEST_F(), testing::gmock_generated_function_mockers_test::TEST_F(), and TEST_F().
| #define ASSERT_TRUE | ( | condition | ) |
Referenced by operator<<(), TEST(), testing::internal::TEST(), testing::TEST(), and testing::TEST_F().
| #define ASSERT_FALSE | ( | condition | ) |
Referenced by TEST(), testing::internal::TEST(), testing::TEST(), and VerifyGenerator().
| #define EXPECT_EQ | ( | val1, | |
| val2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) |
Referenced by AdHocTest(), testing::ParseFlagsTest::CheckFlags(), main(), testing::gmock_nice_strict_test::MockBaz::MockBaz(), operator<<(), CommonTest< T >::SetUp(), TestGenerationTest::SetUp(), testing::SetUpTestCaseTest::SetUp(), testing::SetUpTestSuiteTest::SetUp(), testing::SetUpTestCaseTest::SetUpTestCase(), testing::SetUpTestSuiteTest::SetUpTestSuite(), SubWithoutTrace(), CommonTest< T >::TearDown(), Predicate1Test::TearDown(), testing::internal::FinalSuccessChecker::TearDown(), Predicate2Test::TearDown(), TestGenerationEnvironment< kExpectedCalls >::TearDown(), TestGenerationTest::TearDown(), Predicate3Test::TearDown(), Predicate4Test::TearDown(), Predicate5Test::TearDown(), testing::SetUpTestCaseTest::TearDownTestCase(), testing::SetUpTestSuiteTest::TearDownTestSuite(), TEST(), testing::internal::TEST(), testing::gmock_generated_actions_test::TEST(), testing::gmock_more_actions_test::TEST(), testing::gtest_printers_test::TEST(), testing::gmock_nice_strict_test::TEST(), testing::gmock_function_mocker_test::TEST(), testing::gmock_generated_function_mockers_test::TEST(), testing::TEST(), my_namespace::testing::TEST(), testing::gmock_function_mocker_test::TEST_F(), testing::gmock_generated_function_mockers_test::TEST_F(), TEST_F(), TEST_P(), TestFailureThrowsRuntimeError(), TestInitGoogleMock(), testing::ParseFlagsTest::TestParsingFlags(), VerifyResults(), and CommonTest< T >::~CommonTest().
| #define EXPECT_NE | ( | val1, | |
| val2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2) |
Referenced by operator<<(), TEST(), and testing::TEST().
| #define EXPECT_LE | ( | val1, | |
| val2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2) |
Referenced by operator<<(), and testing::TEST().
| #define EXPECT_LT | ( | val1, | |
| val2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2) |
Referenced by operator<<(), testing::gtest_printers_test::TEST(), testing::TEST(), and TEST().
| #define EXPECT_GE | ( | val1, | |
| val2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2) |
Referenced by SeparateInstanceTest::TearDownTestSuite(), TEST(), testing::TEST(), and TEST_P().
| #define EXPECT_GT | ( | val1, | |
| val2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2) |
Referenced by testing::TEST().
| #define GTEST_ASSERT_EQ | ( | val1, | |
| val2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) |
Referenced by GTEST_TEST().
| #define GTEST_ASSERT_NE | ( | val1, | |
| val2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2) |
Referenced by GTEST_TEST().
| #define GTEST_ASSERT_LE | ( | val1, | |
| val2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2) |
Referenced by GTEST_TEST().
| #define GTEST_ASSERT_LT | ( | val1, | |
| val2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2) |
Referenced by GTEST_TEST().
| #define GTEST_ASSERT_GE | ( | val1, | |
| val2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2) |
Referenced by GTEST_TEST().
| #define GTEST_ASSERT_GT | ( | val1, | |
| val2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2) |
Referenced by GTEST_TEST().
| #define ASSERT_EQ | ( | val1, | |
| val2 | |||
| ) | GTEST_ASSERT_EQ(val1, val2) |
Referenced by testing::ParseFlagsTest::AssertStringArrayEq(), Fail(), operator<<(), SubWithoutTrace(), testing::internal::FinalSuccessChecker::TearDown(), testing::internal::TEST(), TEST(), testing::gtest_printers_test::TEST(), testing::TEST(), TEST_F(), testing::TEST_F(), TestEq1(), and TestInitGoogleMock().
| #define ASSERT_NE | ( | val1, | |
| val2 | |||
| ) | GTEST_ASSERT_NE(val1, val2) |
Referenced by testing::gtest_printers_test::TEST(), and testing::TEST().
| #define ASSERT_LE | ( | val1, | |
| val2 | |||
| ) | GTEST_ASSERT_LE(val1, val2) |
Referenced by testing::TEST().
| #define ASSERT_LT | ( | val1, | |
| val2 | |||
| ) | GTEST_ASSERT_LT(val1, val2) |
Referenced by testing::TEST(), and TEST().
| #define ASSERT_GE | ( | val1, | |
| val2 | |||
| ) | GTEST_ASSERT_GE(val1, val2) |
Referenced by testing::TEST().
| #define ASSERT_GT | ( | val1, | |
| val2 | |||
| ) | GTEST_ASSERT_GT(val1, val2) |
Referenced by TEST(), and testing::TEST().
| #define EXPECT_STREQ | ( | s1, | |
| s2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2) |
Referenced by testing::ParseFlagsTest::CheckFlags(), operator<<(), testing::internal::FinalSuccessChecker::TearDown(), testing::gmock_generated_actions_test::TEST(), TEST(), testing::internal::TEST(), testing::gtest_printers_test::TEST(), testing::TEST(), TEST_F(), testing::TEST_F(), TEST_P(), and TestInitGoogleMock().
| #define EXPECT_STRNE | ( | s1, | |
| s2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2) |
Referenced by testing::TEST(), TEST(), and testing::TEST_F().
| #define EXPECT_STRCASEEQ | ( | s1, | |
| s2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2) |
Referenced by testing::TEST(), and TEST().
| #define EXPECT_STRCASENE | ( | s1, | |
| s2 | |||
| ) | EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2) |
Referenced by testing::TEST(), and TEST().
| #define ASSERT_STREQ | ( | s1, | |
| s2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2) |
Referenced by testing::ParseFlagsTest::AssertStringArrayEq(), testing::TEST(), TEST(), testing::TEST_F(), and VerifyResults().
| #define ASSERT_STRNE | ( | s1, | |
| s2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2) |
Referenced by testing::TEST(), and TEST().
| #define ASSERT_STRCASEEQ | ( | s1, | |
| s2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2) |
Referenced by testing::TEST(), and TEST().
| #define ASSERT_STRCASENE | ( | s1, | |
| s2 | |||
| ) | ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2) |
Referenced by testing::TEST(), and TEST().
| #define EXPECT_FLOAT_EQ | ( | val1, | |
| val2 | |||
| ) |
Referenced by testing::TEST(), and TEST().
| #define EXPECT_DOUBLE_EQ | ( | val1, | |
| val2 | |||
| ) |
Referenced by testing::gmock_generated_actions_test::TEST(), and testing::TEST().
| #define ASSERT_FLOAT_EQ | ( | val1, | |
| val2 | |||
| ) |
Referenced by testing::TEST(), and TEST().
| #define ASSERT_DOUBLE_EQ | ( | val1, | |
| val2 | |||
| ) |
Referenced by TEST(), and testing::TEST().
| #define EXPECT_NEAR | ( | val1, | |
| val2, | |||
| abs_error | |||
| ) |
Referenced by testing::TEST().
| #define ASSERT_NEAR | ( | val1, | |
| val2, | |||
| abs_error | |||
| ) |
Referenced by TEST(), and testing::TEST().
| #define ASSERT_NO_FATAL_FAILURE | ( | statement | ) | GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_FATAL_FAILURE_) |
| #define EXPECT_NO_FATAL_FAILURE | ( | statement | ) | GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_NONFATAL_FAILURE_) |
| #define SCOPED_TRACE | ( | message | ) |
Referenced by SubWithTrace(), and TEST().
| #define GTEST_TEST | ( | test_suite_name, | |
| test_name | |||
| ) |
| #define TEST | ( | test_suite_name, | |
| test_name | |||
| ) | GTEST_TEST(test_suite_name, test_name) |
| #define TEST_F | ( | test_fixture, | |
| test_name | |||
| ) |
| GTEST_DISABLE_MSC_WARNINGS_PUSH_ | ( | 4251 | ) |
References testing::AssertionFailure(), testing::AssertionSuccess(), GTEST_API_, GTEST_DECLARE_bool_, GTEST_DECLARE_int32_, GTEST_DECLARE_string_, GTEST_DISABLE_MSC_WARNINGS_POP_, googletest-output-test::message, testing::operator<<(), gmock_output_test::output, testing::internal::ReportFailureInUnknownLocation(), gmock_test_utils::TestCase, upload::type, and value.
|
inline |
References GTEST_DISABLE_MSC_WARNINGS_POP_.
Referenced by main(), testing::RegisterTest(), and RunAllTests().