proxygen
|
#include <ctype.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "gtest/internal/gtest-port-arch.h"
#include "gtest/internal/custom/gtest-port.h"
#include <unistd.h>
#include <strings.h>
#include <regex.h>
#include <typeinfo>
#include "gtest/internal/gtest-tuple.h"
Go to the source code of this file.
Namespaces | |
testing | |
testing::internal | |
testing::internal::posix | |
Typedefs | |
typedef ::std::string | testing::internal::string |
typedef ::std::wstring | testing::internal::wstring |
typedef GTestMutexLock | testing::internal::MutexLock |
typedef bool_constant< false > | testing::internal::false_type |
typedef bool_constant< true > | testing::internal::true_type |
typedef long long | testing::internal::BiggestInt |
typedef struct stat | testing::internal::posix::StatStruct |
typedef TypeWithSize< 4 >::Int | testing::internal::Int32 |
typedef TypeWithSize< 4 >::UInt | testing::internal::UInt32 |
typedef TypeWithSize< 8 >::Int | testing::internal::Int64 |
typedef TypeWithSize< 8 >::UInt | testing::internal::UInt64 |
typedef TypeWithSize< 8 >::Int | testing::internal::TimeInMillis |
Variables | |
const BiggestInt | testing::internal::kMaxBiggestInt |
#define GTEST_AMBIGUOUS_ELSE_BLOCKER_ switch (0) case 0: default: |
Definition at line 842 of file gtest-port.h.
#define GTEST_API_ |
Definition at line 934 of file gtest-port.h.
Referenced by testing::AddGlobalTestEnvironment(), testing::AssertionResult::AppendMessage(), testing::internal::CheckedDowncastToActualType(), testing::TestInfo::ClearTestResult(), testing::internal::CmpHelperEQ(), testing::internal::CmpHelperFloatingPointEQ(), testing::internal::CodeLocation::CodeLocation(), testing::CardinalityInterface::ConservativeUpperBound(), testing::internal::ElementsAreMatcherImpl< Container >::count(), testing::internal::TestFactoryImpl< TestClass >::CreateTest(), testing::TestEventListeners::default_xml_generator(), testing::Cardinality::DescribeTo(), testing::ExpectationSet::end(), testing::TestPartResult::fatally_failed(), testing::internal::TypedExpectation< F >::GetActionForArguments(), testing::internal::GetTypeId(), testing::internal::GetUnitTestImpl(), testing::UnitTest::impl(), testing::TestResult::increment_death_test_count(), testing::internal::LogElementMatcherPairVec(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::Matcher< const FirstType & >::Matcher(), testing::Matcher< const internal::string & >::Matcher(), testing::Matcher< internal::string >::Matcher(), testing::internal::MatcherBindSecond(), testing::internal::FloatingPoint< RawType >::Max(), testing::EmptyTestEventListener::OnTestProgramEnd(), testing::internal::ConstCharPtr::operator bool(), testing::internal::TestPropertyKeyIs::operator()(), testing::internal::AssertHelper::operator=(), testing::internal::OsStackTraceGetter::OsStackTraceGetter(), testing::internal::ParseGoogleMockStringFlag(), testing::internal::UniversalPrinter< T >::Print(), testing::internal::PrintRawArrayTo(), testing::internal::PrintTo(), testing::internal::GoogleTestFailureReporter::ReportFailure(), testing::Sequence::Sequence(), testing::internal::UnitTestImpl::set_catch_exceptions(), testing::TestProperty::SetValue(), testing::internal::ShouldRunTestCase(), testing::internal::MatchMatrix::SpaceIndex(), testing::internal::TestResultAccessor::test_part_results(), testing::internal::MaxBipartiteMatchState::TryAugment(), testing::internal::UniversalPrintArray(), testing::internal::GTestFlagSaver::~GTestFlagSaver(), and testing::TestPartResultReporterInterface::~TestPartResultReporterInterface().
#define GTEST_ARRAY_SIZE_ | ( | array | ) | (sizeof(array) / sizeof(array[0])) |
Definition at line 1092 of file gtest-port.h.
Referenced by testing::gmock_matchers_test::TEST(), and testing::gmock_matchers_test::TEST_F().
#define GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ |
Definition at line 973 of file gtest-port.h.
Referenced by testing::internal::PrintAsStringLiteralTo(), testing::internal::PrintCharsAsStringTo(), and testing::internal::PrintTo().
#define GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ |
Definition at line 961 of file gtest-port.h.
Referenced by testing::internal::PrintAsStringLiteralTo(), testing::internal::PrintCharsAsStringTo(), and testing::internal::PrintTo().
#define GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ |
Definition at line 985 of file gtest-port.h.
Referenced by testing::internal::PrintAsStringLiteralTo(), testing::internal::PrintCharsAsStringTo(), and testing::internal::PrintTo().
static bool dummy2 GTEST_ATTRIBUTE_UNUSED_ |
Definition at line 864 of file gtest-port.h.
#define GTEST_CAN_COMPARE_NULL 1 |
Definition at line 2191 of file gtest-port.h.
#define GTEST_CHECK_ | ( | condition | ) |
Definition at line 1295 of file gtest-port.h.
Referenced by testing::internal::UnitTestImpl::AddTestInfo(), testing::internal::AssertHelper::AssertHelperData::AssertHelperData(), testing::internal::CheckedDowncastToActualType(), testing::internal::CallableTraits< ResType(*)(ArgType)>::CheckIsValid(), testing::internal::CodeLocation::CodeLocation(), testing::internal::MaxBipartiteMatchState::Compute(), testing::internal::DownCast_(), testing::internal::FloatingEqMatcher< FloatType >::FloatingEqMatcher(), testing::internal::Random::Generate(), testing::GetDefaultFilter(), testing::internal::GetNextRandomSeed(), testing::GetReservedAttributesForElement(), testing::internal::GetThreadCount(), testing::internal::GetUnitTestImpl(), main(), testing::internal::NoDefaultContructor::NoDefaultContructor(), testing::internal::XmlUnitTestResultPrinter::OutputXmlAttribute(), testing::internal::ReturnAction< R >::Impl< ByMoveWrapper< R_ >, F >::Perform(), testing::internal::PortableLocaltime(), testing::internal::UnitTestImpl::set_catch_exceptions(), testing::internal::ShuffleRange(), testing::internal::TEST(), TEST(), testing::internal::TestResultAccessor::test_part_results(), testing::internal::XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes(), testing::internal::To::To(), testing::internal::GTestFlagSaver::~GTestFlagSaver(), and testing::internal::GTestLog::~GTestLog().
#define GTEST_CHECK_POSIX_SUCCESS_ | ( | posix_call | ) |
Definition at line 1308 of file gtest-port.h.
Referenced by testing::internal::CheckedDowncastToActualType(), testing::internal::NoDefaultContructor::NoDefaultContructor(), and testing::internal::TEST().
#define GTEST_COMPILE_ASSERT_ | ( | expr, | |
msg | |||
) |
Definition at line 1032 of file gtest-port.h.
Referenced by testing::ACTION_TEMPLATE(), testing::SafeMatcherCastImpl< T >::Cast(), testing::internal::TuplePrefix< 0 >::ExplainMatchFailuresTo(), testing::internal::ReturnAction< R >::operator Action< F >(), testing::internal::ReturnRefAction< T >::operator Action< F >(), testing::internal::ReturnRefOfCopyAction< T >::operator Action< F >(), testing::internal::InvokeMethodAction< Class, MethodPtr >::Perform(), testing::internal::ReturnAction< R >::Impl< R_, F >::Perform(), testing::internal::ReturnNullAction::Perform(), TEST(), and testing::internal::TupleMatches().
#define GTEST_DECLARE_bool_ | ( | name | ) | GTEST_API_ extern bool GTEST_FLAG(name) |
Definition at line 2515 of file gtest-port.h.
#define GTEST_DECLARE_int32_ | ( | name | ) | GTEST_API_ extern ::testing::internal::Int32 GTEST_FLAG(name) |
Definition at line 2516 of file gtest-port.h.
#define GTEST_DECLARE_STATIC_MUTEX_ | ( | mutex | ) | extern ::testing::internal::Mutex mutex |
Definition at line 2144 of file gtest-port.h.
#define GTEST_DECLARE_string_ | ( | name | ) | GTEST_API_ extern ::std::string GTEST_FLAG(name) |
Definition at line 2518 of file gtest-port.h.
#define GTEST_DEFINE_bool_ | ( | name, | |
default_val, | |||
doc | |||
) | GTEST_API_ bool GTEST_FLAG(name) = (default_val) |
Definition at line 2522 of file gtest-port.h.
#define GTEST_DEFINE_int32_ | ( | name, | |
default_val, | |||
doc | |||
) | GTEST_API_ ::testing::internal::Int32 GTEST_FLAG(name) = (default_val) |
Definition at line 2524 of file gtest-port.h.
#define GTEST_DEFINE_STATIC_MUTEX_ | ( | mutex | ) | ::testing::internal::Mutex mutex |
Definition at line 2147 of file gtest-port.h.
#define GTEST_DEFINE_string_ | ( | name, | |
default_val, | |||
doc | |||
) | GTEST_API_ ::std::string GTEST_FLAG(name) = (default_val) |
Definition at line 2526 of file gtest-port.h.
#define GTEST_DEV_EMAIL_ "googletestframework@@googlegroups.com" |
Definition at line 285 of file gtest-port.h.
#define GTEST_DISABLE_MSC_WARNINGS_POP_ | ( | ) |
Definition at line 318 of file gtest-port.h.
Referenced by testing::AssertionResult::AssertionResult(), testing::internal::CmpHelperEQ(), testing::internal::posix::GetEnv(), testing::internal::GetTimeInMillis(), testing::UnitTest::impl(), operator<<(), testing::internal::UniversalPrinter< T >::Print(), testing::internal::UniversalPrinter< T & >::Print(), testing::internal::ShouldRunTestCase(), TEST(), testing::internal::GTestLog::~GTestLog(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
#define GTEST_DISABLE_MSC_WARNINGS_PUSH_ | ( | warnings | ) |
Definition at line 317 of file gtest-port.h.
Referenced by testing::internal::CmpHelperEQ(), testing::internal::GetTimeInMillis(), testing::UnitTest::impl(), testing::internal::posix::IsDir(), operator<<(), testing::internal::UniversalPrinter< T[N]>::Print(), testing::internal::PrintTo(), testing::internal::ShouldRunTestCase(), TEST(), testing::internal::GTestLog::~GTestLog(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
Definition at line 869 of file gtest-port.h.
Referenced by testing::internal::UnorderedElementsAreMatcherImpl< Container >::AnalyzeElements(), testing::gmock_matchers_test::AStruct::AStruct(), testing::internal::ElementsAreMatcherImpl< Container >::count(), testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::DescribeNegationTo(), testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::DescribeNegationTo(), testing::internal::RefMatcher< T & >::Impl< Super >::DescribeNegationTo(), testing::internal::HasSubstrMatcher< StringType >::DescribeNegationTo(), testing::internal::StartsWithMatcher< StringType >::DescribeNegationTo(), testing::internal::EndsWithMatcher< StringType >::DescribeNegationTo(), testing::internal::MatchesRegexMatcher::DescribeNegationTo(), testing::internal::NotMatcherImpl< T >::DescribeNegationTo(), testing::internal::TrulyMatcher< Predicate >::DescribeNegationTo(), testing::internal::KeyMatcherImpl< PairType >::DescribeNegationTo(), testing::internal::StrEqualityMatcher< StringType >::DescribeToHelper(), testing::internal::UnorderedElementsAreMatcherImplBase::Elements(), testing::internal::PairMatcherImpl< PairType >::ExplainSuccess(), testing::internal::WhenDynamicCastToMatcherBase< To & >::GetCastTypeDescription(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError(), testing::internal::NativeArray< Element >::InitRef(), testing::PolymorphicMatcher< Impl >::MonomorphicImpl< T >::MatchAndExplain(), testing::internal::BothOfMatcherImpl< T >::MatchAndExplain(), testing::internal::EitherOfMatcherImpl< T >::MatchAndExplain(), testing::internal::PointeeMatcher< InnerMatcher >::Impl< Pointer >::MatchAndExplain(), testing::internal::ResultOfMatcher< Callable >::Impl< T >::MatchAndExplain(), testing::internal::SizeIsMatcher< SizeMatcher >::Impl< Container >::MatchAndExplain(), testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container >::MatchAndExplain(), testing::internal::ContainerEqMatcher< Container >::MatchAndExplain(), testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::MatchAndExplain(), testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >::Impl< LhsContainer >::MatchAndExplain(), testing::internal::ContainsMatcherImpl< Container >::MatchAndExplain(), testing::internal::EachMatcherImpl< Container >::MatchAndExplain(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl(), testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplainImpl(), testing::internal::QuantifierMatcherImpl< Container >::MatchAndExplainImpl(), testing::internal::NoDefaultContructor::NoDefaultContructor(), testing::internal::ArgsMatcher< InnerMatcher, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::operator Matcher< ArgsTuple >(), testing::internal::ContainsMatcher< M >::operator Matcher< Container >(), testing::internal::EachMatcher< M >::operator Matcher< Container >(), testing::internal::UnorderedElementsAreMatcher< MatcherTuple >::operator Matcher< Container >(), testing::internal::ElementsAreMatcher< MatcherTuple >::operator Matcher< Container >(), testing::internal::UnorderedElementsAreArrayMatcher< T >::operator Matcher< Container >(), testing::internal::ElementsAreArrayMatcher< T >::operator Matcher< Container >(), testing::internal::FloatingEqMatcher< FloatType >::operator Matcher< FloatType & >(), testing::internal::KeyMatcher< M >::operator Matcher< PairType >(), testing::internal::PairMatcher< FirstMatcher, SecondMatcher >::operator Matcher< PairType >(), testing::internal::NotMatcher< InnerMatcher >::operator Matcher< T >(), testing::internal::BothOfMatcher< Matcher1, Matcher2 >::operator Matcher< T >(), testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::operator Matcher< T >(), testing::internal::MatcherAsPredicate< M >::operator()(), testing::internal::PredicateFormatterFromMatcher< M >::operator()(), testing::PolymorphicAction< Impl >::MonomorphicImpl< F >::Perform(), testing::internal::ActionAdaptor< F1, F2 >::Perform(), testing::internal::ReturnAction< R >::Impl< ByMoveWrapper< R_ >, F >::Perform(), testing::internal::ReturnRefAction< T >::Impl< F >::Perform(), testing::internal::ReturnRefOfCopyAction< T >::Impl< F >::Perform(), testing::internal::AssignAction< T1, T2 >::Perform(), testing::internal::SetErrnoAndReturnAction< T >::Perform(), testing::internal::SetArgumentPointeeAction< N, A, kIsProto >::Perform(), testing::internal::SetArgumentPointeeAction< N, Proto, true >::Perform(), testing::internal::InvokeWithoutArgsAction< FunctionImpl >::Perform(), testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::Perform(), testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform(), testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::PrintIndices(), testing::internal::MockSpec< R(A1, A2, A3, A4, A5, A6, A7, A8, A9) >::SetMatchers(), testing::internal::TEST(), and testing::internal::MaxBipartiteMatchState::TryAugment().
#define GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | type | ) |
Definition at line 874 of file gtest-port.h.
Referenced by testing::internal::ActionResultHolder< T >::ActionResultHolder(), testing::internal::ActionResultHolder< void >::ActionResultHolder(), testing::gmock_matchers_test::AllArgsHelper::AllArgsHelper(), testing::internal::AssertHelper::AssertHelperData::AssertHelperData(), testing::gmock_matchers_test::Base::Base(), testing::internal::CheckedDowncastToActualType(), testing::TestInfo::ClearTestResult(), testing::TestEventListeners::default_xml_generator(), testing::internal::XmlUnitTestResultPrinter::EscapeXmlText(), testing::internal::TypedExpectation< F >::GetActionForArguments(), SequenceTestingListener::GetEventDescription(), testing::internal::GetThreadCount(), testing::internal::HasNewFatalFailureHelper::has_new_fatal_failure(), testing::UnitTest::impl(), testing::TestResult::increment_death_test_count(), Mock::Mock(), testing::gmock_generated_function_mockers_test::MockB::MockB(), MockFoo::MockFoo(), testing::gmock_generated_function_mockers_test::MockFoo::MockFoo(), testing::gmock_generated_function_mockers_test::MockOverloadedOnArgNumber::MockOverloadedOnArgNumber(), testing::gmock_generated_function_mockers_test::MockOverloadedOnConstness::MockOverloadedOnConstness(), testing::gmock_generated_function_mockers_test::MockStack< T >::MockStack(), testing::internal::NoDefaultContructor::NoDefaultContructor(), testing::gmock_matchers_test::NotCopyable::operator>=(), testing::internal::OsStackTraceGetter::OsStackTraceGetter(), testing::internal::ReturnAction< R >::Impl< R_, F >::Perform(), testing::internal::FunctionMockerBase< R(A1, A2)>::PrintTriedExpectationsLocked(), testing::DefaultValue< T >::FixedValueProducer::Produce(), testing::DefaultValue< T >::FactoryValueProducer::Produce(), testing::internal::Random::Reseed(), testing::Sequence::Sequence(), testing::internal::UnitTestImpl::set_catch_exceptions(), testing::internal::TestEventRepeater::set_forwarding_enabled(), testing::gmock_matchers_test::Uncopyable::set_value(), testing::internal::ExpectationTester::SetCallCount(), testing::Test::Setup(), testing::TestCase::ShouldRunTest(), testing::gmock_generated_function_mockers_test::TEST(), TEST(), testing::internal::TEST(), testing::internal::TestResultAccessor::test_part_results(), testing::internal::TestFactoryBase::TestFactoryBase(), testing::TestPartResultArray::TestPartResultArray(), testing::ActionInterface< F2 >::~ActionInterface(), testing::internal::GTestLog::~GTestLog(), testing::internal::OsStackTraceGetterInterface::~OsStackTraceGetterInterface(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
#define GTEST_EXCLUSIVE_LOCK_REQUIRED_ | ( | locks | ) |
Definition at line 2533 of file gtest-port.h.
Referenced by testing::internal::ExpectationBase::DescribeLocationTo(), testing::internal::ExpectationBase::IsOverSaturated(), and testing::internal::ExpectationBase::set_cardinality().
Definition at line 2504 of file gtest-port.h.
Referenced by testing::UnitTest::AddTestPartResult(), testing::InitGoogleTestTest::CheckFlags(), testing::internal::UnitTestImpl::ConfigureXmlOutput(), testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop(), testing::internal::UnitTestOptions::FilterMatchesTest(), testing::internal::UnitTestImpl::FilterTests(), testing::internal::UnitTestOptions::GetAbsolutePathToOutputFile(), testing::internal::UnitTestOptions::GetOutputFormat(), testing::internal::GTestFlagSaver::GTestFlagSaver(), main(), testing::internal::PrettyUnitTestResultPrinter::OnTestCaseEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart(), testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd(), testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo(), testing::internal::ParseGoogleTestFlag(), testing::internal::ParseGoogleTestFlagsOnlyImpl(), testing::internal::PortableLocaltime(), testing::PrintFlag(), testing::UnitTest::Run(), testing::internal::UnitTestImpl::RunAllTests(), testing::InitGoogleTestTest::SetUp(), testing::internal::ShouldRunTestCase(), testing::internal::ShouldUseColor(), testing::internal::TearDownEnvironment(), TEST(), testing::gmock_matchers_test::TEST_P(), TestFailureThrowsRuntimeError(), testing::internal::UnitTestRecordPropertyTestHelper::UnitTestRecordProperty(), testing::internal::GTestFlagSaver::~GTestFlagSaver(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
#define GTEST_FLAG_PREFIX_ "gtest_" |
Definition at line 286 of file gtest-port.h.
Referenced by testing::internal::FlagToEnvVar(), testing::internal::HasGoogleTestFlagPrefix(), testing::internal::ParseFlagValue(), testing::internal::PrintOnOneLine(), testing::TEST_F(), and testing::gmock_matchers_test::TEST_P().
#define GTEST_FLAG_PREFIX_DASH_ "gtest-" |
Definition at line 287 of file gtest-port.h.
Referenced by testing::internal::HasGoogleTestFlagPrefix().
#define GTEST_FLAG_PREFIX_UPPER_ "GTEST_" |
Definition at line 288 of file gtest-port.h.
#define GTEST_FLAG_SAVER_ ::testing::internal::GTestFlagSaver |
Definition at line 2512 of file gtest-port.h.
Referenced by testing::TestPartNonfatallyFailed().
#define GTEST_HAS_ALT_PATH_SEP_ 0 |
Definition at line 2240 of file gtest-port.h.
#define GTEST_HAS_CLONE 0 |
Definition at line 767 of file gtest-port.h.
#define GTEST_HAS_COMBINE 1 |
Definition at line 817 of file gtest-port.h.
#define GTEST_HAS_CXXABI_H_ 0 |
Definition at line 948 of file gtest-port.h.
#define GTEST_HAS_EXCEPTIONS 0 |
Definition at line 491 of file gtest-port.h.
#define GTEST_HAS_GLOBAL_STRING 0 |
Definition at line 508 of file gtest-port.h.
#define GTEST_HAS_GLOBAL_WSTRING (GTEST_HAS_STD_WSTRING && GTEST_HAS_GLOBAL_STRING) |
Definition at line 529 of file gtest-port.h.
#define GTEST_HAS_PARAM_TEST 1 |
Definition at line 800 of file gtest-port.h.
#define GTEST_HAS_POSIX_RE (!GTEST_OS_WINDOWS) |
Definition at line 422 of file gtest-port.h.
#define GTEST_HAS_PTHREAD |
Definition at line 603 of file gtest-port.h.
#define GTEST_HAS_RTTI 1 |
Definition at line 584 of file gtest-port.h.
#define GTEST_HAS_SEH 0 |
Definition at line 913 of file gtest-port.h.
#define GTEST_HAS_STD_STRING 1 |
Definition at line 498 of file gtest-port.h.
#define GTEST_HAS_STD_WSTRING (!(GTEST_OS_LINUX_ANDROID || GTEST_OS_CYGWIN || GTEST_OS_SOLARIS)) |
Definition at line 521 of file gtest-port.h.
#define GTEST_HAS_STREAM_REDIRECTION 1 |
Definition at line 781 of file gtest-port.h.
#define GTEST_HAS_TR1_TUPLE 1 |
Definition at line 634 of file gtest-port.h.
#define GTEST_INIT_GOOGLE_TEST_NAME_ "testing::InitGoogleTest" |
Definition at line 294 of file gtest-port.h.
#define GTEST_INTENTIONAL_CONST_COND_POP_ | ( | ) | GTEST_DISABLE_MSC_WARNINGS_POP_() |
Definition at line 899 of file gtest-port.h.
Referenced by testing::gmock_generated_actions_test::Concat(), testing::internal::DownCast_(), testing::gmock_generated_actions_test::SubstractAction::Perform(), and testing::internal::UniversalTersePrinter< wchar_t * >::Print().
#define GTEST_INTENTIONAL_CONST_COND_PUSH_ | ( | ) | GTEST_DISABLE_MSC_WARNINGS_PUSH_(4127) |
Definition at line 897 of file gtest-port.h.
Referenced by testing::gmock_generated_actions_test::Concat(), testing::internal::DownCast_(), testing::gmock_generated_actions_test::SubstractAction::Perform(), and testing::internal::UniversalTersePrinter< wchar_t * >::Print().
#define GTEST_IS_THREADSAFE |
Definition at line 916 of file gtest-port.h.
#define GTEST_LANG_CXX11 0 |
Definition at line 330 of file gtest-port.h.
#define GTEST_LOCK_EXCLUDED_ | ( | locks | ) |
Definition at line 2534 of file gtest-port.h.
Referenced by testing::TestEventListeners::default_xml_generator(), testing::UnitTest::impl(), testing::internal::ExpectationBase::IncrementCallCount(), testing::internal::PortableLocaltime(), testing::UnitTest::random_seed(), and testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile().
#define GTEST_LOG_ | ( | severity | ) |
Definition at line 1271 of file gtest-port.h.
Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::operator=(), testing::internal::PortableLocaltime(), testing::internal::TestResultAccessor::test_part_results(), testing::internal::XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes(), and testing::internal::GTestLog::~GTestLog().
#define GTEST_MUST_USE_RESULT_ |
Definition at line 886 of file gtest-port.h.
Referenced by testing::TestEventListeners::default_xml_generator().
#define GTEST_NAME_ "Google Test" |
Definition at line 289 of file gtest-port.h.
Referenced by testing::UnitTest::AddTestPartResult(), testing::FormatWordList(), testing::GetDefaultFilter(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart(), testing::internal::PrettyUnitTestResultPrinter::OnTestProgramEnd(), testing::internal::PortableLocaltime(), testing::ValidateTestPropertyName(), testing::internal::ScopedPrematureExitFile::~ScopedPrematureExitFile(), and testing::internal::ScopedTrace::~ScopedTrace().
#define GTEST_NO_INLINE_ |
Definition at line 941 of file gtest-port.h.
Referenced by testing::internal::UnitTestImpl::ad_hoc_test_result().
#define GTEST_PATH_SEP_ "/" |
Definition at line 2239 of file gtest-port.h.
#define GTEST_PROJECT_URL_ "https://github.com/google/googletest/" |
Definition at line 290 of file gtest-port.h.
#define GTEST_SNPRINTF_ snprintf |
Definition at line 2429 of file gtest-port.h.
#define GTEST_TUPLE_NAMESPACE_ ::std::tr1 |
Definition at line 685 of file gtest-port.h.
#define GTEST_USE_OWN_FLAGFILE_FLAG_ 1 |
Definition at line 2508 of file gtest-port.h.
#define GTEST_USE_OWN_TR1_TUPLE 1 |
Definition at line 668 of file gtest-port.h.
#define GTEST_USES_POSIX_RE 1 |
Definition at line 437 of file gtest-port.h.
Referenced by testing::internal::TEST(), and testing::internal::To::To().
#define GTEST_WIDE_STRING_USES_UTF16_ (GTEST_OS_WINDOWS || GTEST_OS_CYGWIN || GTEST_OS_SYMBIAN || GTEST_OS_AIX) |
Definition at line 821 of file gtest-port.h.