Analysis Software
Documentation for sPHENIX simulation software
|
#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 | |
namespace | testing |
namespace | testing::internal |
namespace | 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 |
Enumerations | |
enum | testing::internal::GTestLogSeverity { testing::internal::GTEST_INFO, testing::internal::GTEST_WARNING, testing::internal::GTEST_ERROR, testing::internal::GTEST_FATAL } |
Variables | |
const BiggestInt | testing::internal::kMaxBiggestInt |
#define GTEST_AMBIGUOUS_ELSE_BLOCKER_ switch (0) case 0: default: |
Definition at line 852 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 852 of file gtest-port.h
#define GTEST_API_ |
Definition at line 944 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 944 of file gtest-port.h
#define GTEST_ARRAY_SIZE_ | ( | array | ) | (sizeof(array) / sizeof(array[0])) |
Definition at line 1102 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 1102 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 983 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 983 of file gtest-port.h
#define GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ |
Definition at line 971 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 971 of file gtest-port.h
#define GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ |
Definition at line 995 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 995 of file gtest-port.h
static bool dummy2 GTEST_ATTRIBUTE_UNUSED_ |
Definition at line 874 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 874 of file gtest-port.h
#define GTEST_CAN_COMPARE_NULL 1 |
Definition at line 2201 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2201 of file gtest-port.h
#define GTEST_CHECK_ | ( | condition | ) |
Definition at line 1305 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 1305 of file gtest-port.h
Referenced by testing::internal::UnitTestImpl::AddTestInfo(), testing::internal::CheckedDowncastToActualType(), testing::internal::CallableTraits< ResType(*)(ArgType)>::CheckIsValid(), testing::internal::MaxBipartiteMatchState::Compute(), testing::internal::DownCast_(), testing::internal::FloatingEqMatcher< FloatType >::FloatingEqMatcher(), testing::internal::Random::Generate(), testing::internal::GetNextRandomSeed(), testing::GetReservedAttributesForElement(), main(), testing::internal::XmlUnitTestResultPrinter::OutputXmlAttribute(), testing::internal::ReturnAction< R >::Impl< ByMoveWrapper< R_ >, F >::Perform(), testing::internal::ShuffleRange(), testing::internal::TEST(), and TEST().
#define GTEST_CHECK_POSIX_SUCCESS_ | ( | posix_call | ) |
Definition at line 1318 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 1318 of file gtest-port.h
#define GTEST_COMPILE_ASSERT_ | ( | expr, | |
msg | |||
) |
Definition at line 1042 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 1042 of file gtest-port.h
Referenced by testing::ACTION_TEMPLATE(), testing::SafeMatcherCastImpl< T >::Cast(), testing::internal::ReturnAction< R >::operator Action< F >(), testing::internal::ReturnRefAction< T >::operator Action< F >(), testing::internal::ReturnRefOfCopyAction< T >::operator Action< F >(), testing::internal::ReturnNullAction::Perform(), TEST(), and testing::internal::TupleMatches().
#define GTEST_DECLARE_bool_ | ( | name | ) | GTEST_API_ extern bool GTEST_FLAG(name) |
Definition at line 2525 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2525 of file gtest-port.h
#define GTEST_DECLARE_int32_ | ( | name | ) | GTEST_API_ extern ::testing::internal::Int32 GTEST_FLAG(name) |
Definition at line 2526 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2526 of file gtest-port.h
#define GTEST_DECLARE_STATIC_MUTEX_ | ( | mutex | ) | extern ::testing::internal::Mutex mutex |
Definition at line 2154 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2154 of file gtest-port.h
#define GTEST_DECLARE_string_ | ( | name | ) | GTEST_API_ extern ::std::string GTEST_FLAG(name) |
Definition at line 2528 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2528 of file gtest-port.h
#define GTEST_DEFINE_bool_ | ( | name, | |
default_val, | |||
doc | |||
) | GTEST_API_ bool GTEST_FLAG(name) = (default_val) |
Definition at line 2532 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2532 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 2534 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2534 of file gtest-port.h
#define GTEST_DEFINE_STATIC_MUTEX_ | ( | mutex | ) | ::testing::internal::Mutex mutex |
Definition at line 2157 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2157 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 2536 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2536 of file gtest-port.h
#define GTEST_DEV_EMAIL_ "googletestframework@@googlegroups.com" |
Definition at line 285 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 285 of file gtest-port.h
#define GTEST_DISABLE_MSC_WARNINGS_POP_ | ( | ) |
Definition at line 318 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 318 of file gtest-port.h
Referenced by testing::internal::CmpHelperEQ(), testing::internal::GetTimeInMillis(), and TEST().
#define GTEST_DISABLE_MSC_WARNINGS_PUSH_ | ( | warnings | ) |
Definition at line 317 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 317 of file gtest-port.h
Referenced by testing::internal::CmpHelperEQ(), testing::internal::GetTimeInMillis(), and TEST().
#define GTEST_DISALLOW_ASSIGN_ | ( | type | ) | void operator=(type const &) |
Definition at line 879 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 879 of file gtest-port.h
#define GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | type | ) |
Definition at line 884 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 884 of file gtest-port.h
#define GTEST_EXCLUSIVE_LOCK_REQUIRED_ | ( | locks | ) |
Definition at line 2543 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2543 of file gtest-port.h
Definition at line 2514 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2514 of file gtest-port.h
Referenced by testing::UnitTest::AddTestPartResult(), testing::InitGoogleTestTest::CheckFlags(), 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::ParseGoogleTestFlag(), testing::internal::ParseGoogleTestFlagsOnlyImpl(), testing::PrintFlag(), testing::internal::XmlUnitTestResultPrinter::PrintXmlUnitTest(), testing::UnitTest::Run(), testing::internal::UnitTestImpl::RunAllTests(), testing::InitGoogleTestTest::SetUp(), testing::internal::ShouldUseColor(), TEST(), testing::gmock_matchers_test::TEST_P(), TestFailureThrowsRuntimeError(), and testing::internal::GTestFlagSaver::~GTestFlagSaver().
#define GTEST_FLAG_PREFIX_ "gtest_" |
Definition at line 286 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 286 of file gtest-port.h
Referenced by testing::internal::FlagToEnvVar(), testing::internal::HasGoogleTestFlagPrefix(), testing::internal::ParseFlagValue(), and testing::gmock_matchers_test::TEST_P().
#define GTEST_FLAG_PREFIX_DASH_ "gtest-" |
Definition at line 287 of file gtest-port.h.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 288 of file gtest-port.h
#define GTEST_FLAG_SAVER_ ::testing::internal::GTestFlagSaver |
Definition at line 2522 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2522 of file gtest-port.h
#define GTEST_HAS_ALT_PATH_SEP_ 0 |
Definition at line 2250 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2250 of file gtest-port.h
#define GTEST_HAS_CLONE 0 |
Definition at line 777 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 777 of file gtest-port.h
#define GTEST_HAS_COMBINE 1 |
Definition at line 827 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 827 of file gtest-port.h
#define GTEST_HAS_CXXABI_H_ 0 |
Definition at line 958 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 958 of file gtest-port.h
#define GTEST_HAS_EXCEPTIONS 0 |
Definition at line 497 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 497 of file gtest-port.h
#define GTEST_HAS_GLOBAL_STRING 0 |
Definition at line 514 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 514 of file gtest-port.h
#define GTEST_HAS_GLOBAL_WSTRING (GTEST_HAS_STD_WSTRING && GTEST_HAS_GLOBAL_STRING) |
Definition at line 535 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 535 of file gtest-port.h
#define GTEST_HAS_PARAM_TEST 1 |
Definition at line 810 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 810 of file gtest-port.h
#define GTEST_HAS_POSIX_RE (!GTEST_OS_WINDOWS) |
Definition at line 428 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 428 of file gtest-port.h
#define GTEST_HAS_PTHREAD |
Definition at line 609 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 609 of file gtest-port.h
#define GTEST_HAS_RTTI 1 |
Definition at line 590 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 590 of file gtest-port.h
#define GTEST_HAS_SEH 0 |
Definition at line 923 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 923 of file gtest-port.h
#define GTEST_HAS_STD_STRING 1 |
Definition at line 504 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 504 of file gtest-port.h
#define GTEST_HAS_STD_WSTRING (!(GTEST_OS_LINUX_ANDROID || GTEST_OS_CYGWIN || GTEST_OS_SOLARIS)) |
Definition at line 527 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 527 of file gtest-port.h
#define GTEST_HAS_STREAM_REDIRECTION 1 |
Definition at line 791 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 791 of file gtest-port.h
#define GTEST_HAS_TR1_TUPLE 1 |
Definition at line 640 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 640 of file gtest-port.h
#define GTEST_INIT_GOOGLE_TEST_NAME_ "testing::InitGoogleTest" |
Definition at line 294 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 294 of file gtest-port.h
#define GTEST_INTENTIONAL_CONST_COND_POP_ | ( | ) | GTEST_DISABLE_MSC_WARNINGS_POP_() |
Definition at line 909 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 909 of file gtest-port.h
Referenced by testing::gmock_generated_actions_test::Concat(), and testing::internal::DownCast_().
#define GTEST_INTENTIONAL_CONST_COND_PUSH_ | ( | ) | GTEST_DISABLE_MSC_WARNINGS_PUSH_(4127) |
Definition at line 907 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 907 of file gtest-port.h
Referenced by testing::gmock_generated_actions_test::Concat(), and testing::internal::DownCast_().
#define GTEST_IS_THREADSAFE |
Definition at line 926 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 926 of file gtest-port.h
#define GTEST_LANG_CXX11 0 |
Definition at line 330 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 330 of file gtest-port.h
#define GTEST_LOCK_EXCLUDED_ | ( | locks | ) |
Definition at line 2544 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2544 of file gtest-port.h
#define GTEST_LOG_ | ( | severity | ) |
Definition at line 1281 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 1281 of file gtest-port.h
Referenced by testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::operator=().
#define GTEST_MUST_USE_RESULT_ |
Definition at line 896 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 896 of file gtest-port.h
#define GTEST_NAME_ "Google Test" |
Definition at line 289 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 289 of file gtest-port.h
Referenced by testing::UnitTest::AddTestPartResult(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart(), and testing::ValidateTestPropertyName().
#define GTEST_NO_INLINE_ |
Definition at line 951 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 951 of file gtest-port.h
#define GTEST_PATH_SEP_ "/" |
Definition at line 2249 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2249 of file gtest-port.h
#define GTEST_PROJECT_URL_ "https://github.com/google/googletest/" |
Definition at line 290 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 290 of file gtest-port.h
#define GTEST_SNPRINTF_ snprintf |
Definition at line 2439 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2439 of file gtest-port.h
#define GTEST_TUPLE_NAMESPACE_ ::std::tr1 |
Definition at line 691 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 691 of file gtest-port.h
#define GTEST_USE_OWN_FLAGFILE_FLAG_ 1 |
Definition at line 2518 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 2518 of file gtest-port.h
#define GTEST_USE_OWN_TR1_TUPLE 1 |
Definition at line 674 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 674 of file gtest-port.h
#define GTEST_USES_POSIX_RE 1 |
Definition at line 443 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 443 of file gtest-port.h
Referenced by testing::internal::TEST().
#define GTEST_WIDE_STRING_USES_UTF16_ (GTEST_OS_WINDOWS || GTEST_OS_CYGWIN || GTEST_OS_SYMBIAN || GTEST_OS_AIX) |
Definition at line 831 of file gtest-port.h.
View newest version in sPHENIX GitHub at line 831 of file gtest-port.h