#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 <unistd.h>
#include <strings.h>
#include <regex.h>
#include <typeinfo>
#include "gtest/internal/gtest-tuple.h"
Go to the source code of this file.
#define GTEST_AMBIGUOUS_ELSE_BLOCKER_ switch (0) case 0: default: |
Definition at line 874 of file gtest-port.h.
#define GTEST_API_ |
Definition at line 966 of file gtest-port.h.
#define GTEST_ARRAY_SIZE_ | ( | array | ) | (sizeof(array) / sizeof(array[0])) |
Definition at line 1124 of file gtest-port.h.
Definition at line 1005 of file gtest-port.h.
Definition at line 993 of file gtest-port.h.
Definition at line 1017 of file gtest-port.h.
static bool dummy2 GTEST_ATTRIBUTE_UNUSED_ |
StaticAssertTypeEq<const int, const int>()
Definition at line 896 of file gtest-port.h.
#define GTEST_CAN_COMPARE_NULL 1 |
Definition at line 2133 of file gtest-port.h.
#define GTEST_CHECK_ | ( | condition | ) |
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ if (::testing::internal::IsTrue(condition)) \ ; \ else \ GTEST_LOG_(FATAL) << "Condition " #condition " failed. "
Definition at line 1322 of file gtest-port.h.
#define GTEST_CHECK_POSIX_SUCCESS_ | ( | posix_call | ) |
if (const int gtest_error = (posix_call)) \ GTEST_LOG_(FATAL) << #posix_call << "failed with error " \ << gtest_error
Definition at line 1334 of file gtest-port.h.
#define GTEST_COMPILE_ASSERT_ | ( | expr, | |
msg | |||
) |
typedef ::testing::internal::CompileAssert<(static_cast<bool>(expr))> \ msg[static_cast<bool>(expr) ? 1 : -1] GTEST_ATTRIBUTE_UNUSED_
Definition at line 1064 of file gtest-port.h.
#define GTEST_DECLARE_bool_ | ( | name | ) | GTEST_API_ extern bool GTEST_FLAG(name) |
Definition at line 2448 of file gtest-port.h.
#define GTEST_DECLARE_int32_ | ( | name | ) | GTEST_API_ extern ::testing::internal::Int32 GTEST_FLAG(name) |
Definition at line 2449 of file gtest-port.h.
#define GTEST_DECLARE_STATIC_MUTEX_ | ( | mutex | ) | extern ::testing::internal::Mutex mutex |
Definition at line 2086 of file gtest-port.h.
#define GTEST_DECLARE_string_ | ( | name | ) | GTEST_API_ extern ::std::string GTEST_FLAG(name) |
Definition at line 2451 of file gtest-port.h.
#define GTEST_DEFINE_bool_ | ( | name, | |
default_val, | |||
doc | |||
) | GTEST_API_ bool GTEST_FLAG(name) = (default_val) |
Definition at line 2455 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 2457 of file gtest-port.h.
#define GTEST_DEFINE_STATIC_MUTEX_ | ( | mutex | ) | ::testing::internal::Mutex mutex |
Definition at line 2089 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 2459 of file gtest-port.h.
#define GTEST_DEV_EMAIL_ "googletestframework@@googlegroups.com" |
Definition at line 280 of file gtest-port.h.
#define GTEST_DISABLE_MSC_WARNINGS_POP_ | ( | ) |
Definition at line 363 of file gtest-port.h.
#define GTEST_DISABLE_MSC_WARNINGS_PUSH_ | ( | warnings | ) |
Definition at line 362 of file gtest-port.h.
#define GTEST_DISALLOW_ASSIGN_ | ( | type | ) | void operator=(type const &) |
Definition at line 901 of file gtest-port.h.
#define GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | type | ) |
Definition at line 906 of file gtest-port.h.
#define GTEST_EXCLUSIVE_LOCK_REQUIRED_ | ( | locks | ) |
Definition at line 2463 of file gtest-port.h.
#define GTEST_FLAG | ( | name | ) | FLAGS_gtest_##name |
Definition at line 2445 of file gtest-port.h.
#define GTEST_FLAG_PREFIX_ "gtest_" |
Definition at line 281 of file gtest-port.h.
#define GTEST_FLAG_PREFIX_DASH_ "gtest-" |
Definition at line 282 of file gtest-port.h.
#define GTEST_FLAG_PREFIX_UPPER_ "GTEST_" |
Definition at line 283 of file gtest-port.h.
#define GTEST_HAS_ALT_PATH_SEP_ 0 |
Definition at line 2182 of file gtest-port.h.
#define GTEST_HAS_CLONE 0 |
Definition at line 798 of file gtest-port.h.
#define GTEST_HAS_COMBINE 1 |
Definition at line 849 of file gtest-port.h.
#define GTEST_HAS_CXXABI_H_ 0 |
Definition at line 980 of file gtest-port.h.
#define GTEST_HAS_EXCEPTIONS 0 |
Definition at line 531 of file gtest-port.h.
#define GTEST_HAS_GLOBAL_STRING 0 |
Definition at line 548 of file gtest-port.h.
Definition at line 569 of file gtest-port.h.
#define GTEST_HAS_PARAM_TEST 1 |
Definition at line 832 of file gtest-port.h.
#define GTEST_HAS_POSIX_RE (!GTEST_OS_WINDOWS) |
Definition at line 465 of file gtest-port.h.
#define GTEST_HAS_PTHREAD |
(GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX \ || GTEST_OS_QNX || GTEST_OS_FREEBSD || GTEST_OS_NACL)
Definition at line 643 of file gtest-port.h.
#define GTEST_HAS_RTTI 1 |
Definition at line 624 of file gtest-port.h.
#define GTEST_HAS_SEH 0 |
Definition at line 945 of file gtest-port.h.
#define GTEST_HAS_STD_STRING 1 |
Definition at line 538 of file gtest-port.h.
#define GTEST_HAS_STD_WSTRING (!(GTEST_OS_LINUX_ANDROID || GTEST_OS_CYGWIN || GTEST_OS_SOLARIS)) |
Definition at line 561 of file gtest-port.h.
#define GTEST_HAS_STREAM_REDIRECTION 1 |
Definition at line 812 of file gtest-port.h.
#define GTEST_HAS_TR1_TUPLE 1 |
Definition at line 665 of file gtest-port.h.
Definition at line 931 of file gtest-port.h.
#define GTEST_INTENTIONAL_CONST_COND_PUSH_ | ( | ) | GTEST_DISABLE_MSC_WARNINGS_PUSH_(4127) |
Definition at line 929 of file gtest-port.h.
#define GTEST_IS_THREADSAFE |
(0 \ || (GTEST_OS_WINDOWS && !GTEST_OS_WINDOWS_PHONE && !GTEST_OS_WINDOWS_RT) \ || GTEST_HAS_PTHREAD)
Definition at line 948 of file gtest-port.h.
#define GTEST_LANG_CXX11 0 |
Definition at line 375 of file gtest-port.h.
#define GTEST_LOCK_EXCLUDED_ | ( | locks | ) |
Definition at line 2464 of file gtest-port.h.
#define GTEST_LOG_ | ( | severity | ) |
::testing::internal::GTestLog(::testing::internal::GTEST_##severity, \ __FILE__, __LINE__).GetStream()
Definition at line 1301 of file gtest-port.h.
#define GTEST_MUST_USE_RESULT_ |
Definition at line 918 of file gtest-port.h.
#define GTEST_NAME_ "Google Test" |
Definition at line 284 of file gtest-port.h.
#define GTEST_NO_INLINE_ |
Definition at line 973 of file gtest-port.h.
#define GTEST_PATH_SEP_ "/" |
Definition at line 2181 of file gtest-port.h.
#define GTEST_PROJECT_URL_ "http://code.google.com/p/googletest/" |
Definition at line 285 of file gtest-port.h.
#define GTEST_SNPRINTF_ snprintf |
Definition at line 2371 of file gtest-port.h.
#define GTEST_TUPLE_NAMESPACE_ ::std::tr1 |
Definition at line 716 of file gtest-port.h.
#define GTEST_USE_OWN_TR1_TUPLE 1 |
Definition at line 699 of file gtest-port.h.
#define GTEST_USES_POSIX_RE 1 |
Definition at line 477 of file gtest-port.h.
#define GTEST_WIDE_STRING_USES_UTF16_ (GTEST_OS_WINDOWS || GTEST_OS_CYGWIN || GTEST_OS_SYMBIAN || GTEST_OS_AIX) |
Definition at line 853 of file gtest-port.h.