Namespaces | |
posix | |
Typedefs | |
typedef long long | BiggestInt |
typedef FloatingPoint< double > | Double |
typedef bool_constant< false > | false_type |
typedef FloatingPoint< float > | Float |
typedef TypeWithSize< 4 >::Int | Int32 |
typedef TypeWithSize< 8 >::Int | Int64 |
typedef int | IsContainer |
typedef char | IsNotContainer |
typedef GTestMutexLock | MutexLock |
typedef void(* | SetUpTestCaseFunc) () |
typedef ::std::string | string |
typedef ::std::vector< string > | Strings |
typedef void(* | TearDownTestCaseFunc) () |
typedef TypeWithSize< 8 >::Int | TimeInMillis |
typedef bool_constant< true > | true_type |
typedef TypeWithSize< 4 >::UInt | UInt32 |
typedef TypeWithSize< 8 >::UInt | UInt64 |
typedef ::std::wstring | wstring |
Enumerations | |
enum | CharFormat { kAsIs, kHexEscape, kSpecialEscape } |
enum | GTestColor { COLOR_DEFAULT, COLOR_RED, COLOR_GREEN, COLOR_YELLOW } |
enum | GTestLogSeverity { GTEST_INFO, GTEST_WARNING, GTEST_ERROR, GTEST_FATAL } |
enum | RelationToSource { kReference, kCopy } |
Functions | |
bool | AlwaysFalse () |
bool | AlwaysTrue () |
std::string | AppendUserMessage (const std::string >est_msg, const Message &user_msg) |
template<typename Iter , typename Element > | |
Iter | ArrayAwareFind (Iter begin, Iter end, const Element &elem) |
template<typename T , typename U > | |
bool | ArrayEq (const T &lhs, const U &rhs) |
template<typename T , typename U > | |
bool | ArrayEq (const T *lhs, size_t size, const U *rhs) |
template<typename T , typename U , size_t N> | |
bool | ArrayEq (const T(&lhs)[N], const U(&rhs)[N]) |
bool | BoolFromGTestEnv (const char *flag, bool default_value) |
GTEST_API_ void | CaptureStderr () |
GTEST_API_ void | CaptureStdout () |
template<class Derived , class Base > | |
Derived * | CheckedDowncastToActualType (Base *base) |
UInt32 | ChopLowBits (UInt32 *bits, int n) |
AssertionResult | CmpHelperEQ (const char *expected_expression, const char *actual_expression, BiggestInt expected, BiggestInt actual) |
template<typename T1 , typename T2 > | |
AssertionResult | CmpHelperEQ (const char *expected_expression, const char *actual_expression, const T1 &expected, const T2 &actual) |
template<typename RawType > | |
AssertionResult | CmpHelperFloatingPointEQ (const char *expected_expression, const char *actual_expression, RawType expected, RawType actual) |
AssertionResult | CmpHelperSTRCASEEQ (const char *expected_expression, const char *actual_expression, const char *expected, const char *actual) |
AssertionResult | CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
AssertionResult | CmpHelperSTREQ (const char *expected_expression, const char *actual_expression, const char *expected, const char *actual) |
AssertionResult | CmpHelperSTREQ (const char *expected_expression, const char *actual_expression, const wchar_t *expected, const wchar_t *actual) |
AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2) |
GTEST_API_ std::string | CodePointToUtf8 (UInt32 code_point) |
void | ColoredPrintf (GTestColor color, const char *fmt,...) |
template<typename T , typename U > | |
void | CopyArray (const T &from, U *to) |
template<typename T , typename U > | |
void | CopyArray (const T *from, size_t size, U *to) |
template<typename T , typename U , size_t N> | |
void | CopyArray (const T(&from)[N], U(*to)[N]) |
template<class Container , typename Predicate > | |
int | CountIf (const Container &c, Predicate predicate) |
UInt32 | CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second) |
template<typename C > | |
void | DefaultPrintTo (IsContainer, false_type, const C &container, ::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (IsNotContainer, false_type, const T &value, ::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (IsNotContainer, true_type, T *p, ::std::ostream *os) |
template<typename T > | |
static void | Delete (T *x) |
AssertionResult | DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error) |
template<typename To , typename From > | |
To | DownCast_ (From *f) |
AssertionResult | EqFailure (const char *expected_expression, const char *actual_expression, const std::string &expected_value, const std::string &actual_value, bool ignoring_case) |
static std::string | FlagToEnvVar (const char *flag) |
template<typename RawType > | |
AssertionResult | FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2) |
void | FlushInfoLog () |
template<class Container , typename Functor > | |
void | ForEach (const Container &c, Functor functor) |
GTEST_API_ ::std::string | FormatCompilerIndependentFileLocation (const char *file, int line) |
GTEST_API_ std::string | FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms) |
GTEST_API_ ::std::string | FormatFileLocation (const char *file, int line) |
template<typename T1 , typename T2 > | |
std::string | FormatForComparisonFailureMessage (const T1 &value, const T2 &) |
GTEST_API_ std::string | FormatTimeInMillisAsSeconds (TimeInMillis ms) |
const char * | GetAnsiColorCode (GTestColor color) |
std::string | GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value) |
GTEST_API_ std::string | GetCapturedStderr () |
GTEST_API_ std::string | GetCapturedStdout () |
GTEST_API_ FilePath | GetCurrentExecutableName () |
std::string | GetCurrentOsStackTraceExceptTop (UnitTest *, int skip_count) |
template<typename E > | |
E | GetElementOr (const std::vector< E > &v, int i, E default_value) |
int | GetNextRandomSeed (int seed) |
int | GetRandomSeedFromFlag (Int32 random_seed_flag) |
TypeId | GetTestTypeId () |
size_t | GetThreadCount () |
GTEST_API_ TimeInMillis | GetTimeInMillis () |
template<typename T > | |
TypeId | GetTypeId () |
template<typename T > | |
std::string | GetTypeName () |
UnitTestImpl * | GetUnitTestImpl () |
GTEST_API_ | GTEST_DECLARE_STATIC_MUTEX_ (g_linked_ptr_mutex) |
GTEST_DECLARE_string_ (internal_run_death_test) | |
GTEST_API_ | GTEST_DEFINE_STATIC_MUTEX_ (g_linked_ptr_mutex) |
GTEST_DEFINE_string_ (internal_run_death_test, "", "Indicates the file, line number, temporal index of " "the single death test to run, and a file descriptor to " "which a success code may be sent, all separated by " "the '|' characters. This flag is specified if and only if the current " "process is a sub-process launched for running a thread-safe " "death test. FOR INTERNAL USE ONLY.") | |
GTEST_IMPL_CMP_HELPER_ (GE, >=) | |
GTEST_IMPL_CMP_HELPER_ (GT, >) | |
GTEST_IMPL_CMP_HELPER_ (LE,<=) | |
GTEST_IMPL_CMP_HELPER_ (LT,<) | |
GTEST_IMPL_CMP_HELPER_ (NE, !=) | |
GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char) | |
GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (wchar_t) | |
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char, ::std::string) | |
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (wchar_t, ::std::wstring) | |
static bool | GTestIsInitialized () |
template<class T , typename Result > | |
Result | HandleExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location) |
template<class T , typename Result > | |
Result | HandleSehExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location) |
static bool | HasGoogleTestFlagPrefix (const char *str) |
AssertionResult | HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const string &substr) |
template<typename To > | |
To | ImplicitCast_ (To x) |
template<typename CharType > | |
void | InitGoogleTestImpl (int *argc, CharType **argv) |
GTEST_API_ Int32 | Int32FromEnvOrDie (const char *env_var, Int32 default_val) |
Int32 | Int32FromGTestEnv (const char *flag, Int32 default_value) |
bool | IsAlNum (char ch) |
bool | IsAlpha (char ch) |
template<class C > | |
IsContainer | IsContainerTest (int, typename C::iterator *=NULL, typename C::const_iterator *=NULL) |
template<class C > | |
IsNotContainer | IsContainerTest (long) |
bool | IsDigit (char ch) |
bool | IsLower (char ch) |
char(& | IsNullLiteralHelper (...))[2] |
char | IsNullLiteralHelper (Secret *p) |
static bool | IsPathSeparator (char c) |
bool | IsPrintableAscii (wchar_t c) |
bool | IsSpace (char ch) |
bool | IsTrue (bool condition) |
bool | IsUpper (char ch) |
bool | IsUtf16SurrogatePair (wchar_t first, wchar_t second) |
bool | IsXDigit (char ch) |
bool | IsXDigit (wchar_t ch) |
void | LogToStderr () |
template<typename T > | |
linked_ptr< T > | make_linked_ptr (T *ptr) |
TestInfo * | MakeAndRegisterTestInfo (const char *test_case_name, const char *name, const char *type_param, const char *value_param, TypeId fixture_class_id, SetUpTestCaseFunc set_up_tc, TearDownTestCaseFunc tear_down_tc, TestFactoryBase *factory) |
template<typename T > | |
bool | operator!= (T *ptr, const linked_ptr< T > &x) |
template<typename T > | |
bool | operator== (T *ptr, const linked_ptr< T > &x) |
bool | ParseBoolFlag (const char *str, const char *flag, bool *value) |
const char * | ParseFlagValue (const char *str, const char *flag, bool def_optional) |
GTEST_API_ void | ParseGoogleTestFlagsOnly (int *argc, char **argv) |
GTEST_API_ void | ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv) |
template<typename CharType > | |
void | ParseGoogleTestFlagsOnlyImpl (int *argc, CharType **argv) |
bool | ParseInt32 (const Message &src_text, const char *str, Int32 *value) |
GTEST_API_ bool | ParseInt32Flag (const char *str, const char *flag, Int32 *value) |
bool | ParseStringFlag (const char *str, const char *flag, std::string *value) |
template<typename UnsignedChar , typename Char > | |
static CharFormat | PrintAsCharLiteralTo (Char c, ostream *os) |
static CharFormat | PrintAsStringLiteralTo (char c, ostream *os) |
static CharFormat | PrintAsStringLiteralTo (wchar_t c, ostream *os) |
template<typename UnsignedChar , typename Char > | |
void | PrintCharAndCodeTo (Char c, ostream *os) |
template<typename CharType > | |
static void | PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os) |
static void | PrintColorEncoded (const char *str) |
void | PrintFullTestCommentIfPresent (const TestInfo &test_info) |
static void | PrintOnOneLine (const char *str, int max_length) |
template<typename T > | |
void | PrintRawArrayTo (const T a[], size_t count, ::std::ostream *os) |
GTEST_API_ void | PrintStringTo (const ::std::string &s, ::std::ostream *os) |
void | PrintStringTo (const ::std::string &s, ostream *os) |
static void | PrintTestPartResult (const TestPartResult &test_part_result) |
static std::string | PrintTestPartResultToString (const TestPartResult &test_part_result) |
void | PrintTo (bool x, ::std::ostream *os) |
void | PrintTo (char *s, ::std::ostream *os) |
void | PrintTo (char c, ::std::ostream *os) |
template<typename T1 , typename T2 > | |
void | PrintTo (const ::std::pair< T1, T2 > &value, ::std::ostream *os) |
void | PrintTo (const ::std::string &s, ::std::ostream *os) |
template<typename T1 > | |
void | PrintTo (const ::std::tr1::tuple< T1 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9 > &t, ::std::ostream *os) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 > | |
void | PrintTo (const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > &t, ::std::ostream *os) |
void | PrintTo (const ::std::tr1::tuple<> &t, ::std::ostream *os) |
void | PrintTo (const ::std::wstring &s, ::std::ostream *os) |
GTEST_API_ void | PrintTo (const char *s, ::std::ostream *os) |
void | PrintTo (const char *s, ostream *os) |
void | PrintTo (const signed char *s, ::std::ostream *os) |
template<typename T > | |
void | PrintTo (const T &value, ::std::ostream *os) |
void | PrintTo (const unsigned char *s, ::std::ostream *os) |
GTEST_API_ void | PrintTo (const wchar_t *s, ::std::ostream *os) |
void | PrintTo (const wchar_t *s, ostream *os) |
void | PrintTo (signed char *s, ::std::ostream *os) |
void | PrintTo (signed char c, ::std::ostream *os) |
void | PrintTo (unsigned char *s, ::std::ostream *os) |
void | PrintTo (unsigned char c, ::std::ostream *os) |
void | PrintTo (wchar_t *s, ::std::ostream *os) |
GTEST_API_ void | PrintTo (wchar_t wc, ::std::ostream *os) |
void | PrintTo (wchar_t wc, ostream *os) |
template<typename T > | |
void | PrintTupleTo (const T &t, ::std::ostream *os) |
GTEST_API_ void | PrintWideStringTo (const ::std::wstring &s, ::std::ostream *os) |
void | ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message) |
GTEST_API_ void | ReportInvalidTestCaseType (const char *test_case_name, const char *file, int line) |
static void | SetUpEnvironment (Environment *env) |
static bool | ShouldRunTestCase (const TestCase *test_case) |
GTEST_API_ bool | ShouldRunTestOnShard (int total_shards, int shard_index, int test_id) |
GTEST_API_ bool | ShouldShard (const char *total_shards_str, const char *shard_index_str, bool in_subprocess_for_death_test) |
GTEST_API_ bool | ShouldUseColor (bool stdout_is_tty) |
template<typename E > | |
void | Shuffle (internal::Random *random, std::vector< E > *v) |
template<typename E > | |
void | ShuffleRange (internal::Random *random, int begin, int end, std::vector< E > *v) |
bool | SkipPrefix (const char *prefix, const char **pstr) |
template<typename T > | |
std::string | StreamableToString (const T &streamable) |
const char * | StringFromGTestEnv (const char *flag, const char *default_value) |
std::string | StringStreamToString (::std::stringstream *ss) |
static int | SumOverTestCaseList (const std::vector< TestCase * > &case_list, int(TestCase::*method)() const) |
static void | TearDownEnvironment (Environment *env) |
static bool | TestCaseFailed (const TestCase *test_case) |
static bool | TestCasePassed (const TestCase *test_case) |
char | ToLower (char ch) |
char | ToUpper (char ch) |
template<typename T > | |
void | UniversalPrint (const T &value, ::std::ostream *os) |
GTEST_API_ void | UniversalPrintArray (const char *begin, size_t len, ::std::ostream *os) |
void | UniversalPrintArray (const char *begin, size_t len, ostream *os) |
template<typename T > | |
void | UniversalPrintArray (const T *begin, size_t len, ::std::ostream *os) |
GTEST_API_ void | UniversalPrintArray (const wchar_t *begin, size_t len, ::std::ostream *os) |
void | UniversalPrintArray (const wchar_t *begin, size_t len, ostream *os) |
template<typename CharType > | |
static void | UniversalPrintCharArray (const CharType *begin, size_t len, ostream *os) |
template<typename T > | |
void | UniversalTersePrint (const T &value, ::std::ostream *os) |
template<typename Tuple > | |
Strings | UniversalTersePrintTupleFieldsToStrings (const Tuple &value) |
GTEST_API_ std::string | WideStringToUtf8 (const wchar_t *str, int num_chars) |
void | WriteToShardStatusFileIfNeeded () |
Variables | |
std::string | g_executable_path |
GTEST_API_ bool | g_help_flag = false |
GTEST_API_ int | g_init_gtest_count = 0 |
class testing::internal::GTestFlagSaver | GTEST_ATTRIBUTE_UNUSED_ |
const char | kAlsoRunDisabledTestsFlag [] = "also_run_disabled_tests" |
const char | kBreakOnFailureFlag [] = "break_on_failure" |
const char | kCatchExceptionsFlag [] = "catch_exceptions" |
static const char | kColorEncodedHelpMessage [] |
const char | kColorFlag [] = "color" |
const char | kCurrentDirectoryString [] = "./" |
const char | kDeathTestStyleFlag [] = "death_test_style" |
const char | kDeathTestUseFork [] = "death_test_use_fork" |
const char | kFilterFlag [] = "filter" |
const char | kInternalRunDeathTestFlag [] = "internal_run_death_test" |
const char | kListTestsFlag [] = "list_tests" |
const BiggestInt | kMaxBiggestInt |
const UInt32 | kMaxCodePoint1 = (static_cast<UInt32>(1) << 7) - 1 |
const UInt32 | kMaxCodePoint2 = (static_cast<UInt32>(1) << (5 + 6)) - 1 |
const UInt32 | kMaxCodePoint3 = (static_cast<UInt32>(1) << (4 + 2*6)) - 1 |
const UInt32 | kMaxCodePoint4 = (static_cast<UInt32>(1) << (3 + 3*6)) - 1 |
const int | kMaxRandomSeed = 99999 |
const char | kOutputFlag [] = "output" |
const char | kPathSeparator = '/' |
const char | kPathSeparatorString [] = "/" |
const char | kPrintTimeFlag [] = "print_time" |
const char | kRandomSeedFlag [] = "random_seed" |
const char | kRepeatFlag [] = "repeat" |
const char | kShuffleFlag [] = "shuffle" |
const char | kStackTraceDepthFlag [] = "stack_trace_depth" |
const char | kStackTraceMarker [] = "\nStack trace:\n" |
const int | kStdErrFileno = STDERR_FILENO |
const int | kStdOutFileno = STDOUT_FILENO |
const char | kStreamResultToFlag [] = "stream_result_to" |
const GTEST_API_ TypeId | kTestTypeIdInGoogleTest = GetTestTypeId() |
const char | kThrowOnFailureFlag [] = "throw_on_failure" |
static const char | kTypeParamLabel [] = "TypeParam" |
const char | kUnknownFile [] = "unknown file" |
static const char | kValueParamLabel [] = "GetParam()" |
const typedef void * | TypeId |
typedef long long testing::internal::BiggestInt |
typedef FloatingPoint<double> testing::internal::Double |
typedef bool_constant<false> testing::internal::false_type |
typedef FloatingPoint<float> testing::internal::Float |
typedef TypeWithSize<4>::Int testing::internal::Int32 |
typedef TypeWithSize<8>::Int testing::internal::Int64 |
typedef int testing::internal::IsContainer |
typedef char testing::internal::IsNotContainer |
typedef ::std::string testing::internal::string |
typedef ::std::vector<string> testing::internal::Strings |
typedef TypeWithSize<8>::Int testing::internal::TimeInMillis |
typedef bool_constant<true> testing::internal::true_type |
typedef TypeWithSize<4>::UInt testing::internal::UInt32 |
typedef TypeWithSize<8>::UInt testing::internal::UInt64 |
typedef ::std::wstring testing::internal::wstring |
Enumerator | |
---|---|
kAsIs | |
kHexEscape | |
kSpecialEscape |
Definition at line 9137 of file gtest-all.cc.
Enumerator | |
---|---|
COLOR_DEFAULT | |
COLOR_RED | |
COLOR_GREEN | |
COLOR_YELLOW |
Definition at line 4034 of file gtest-all.cc.
GTEST_API_ bool testing::internal::AlwaysTrue | ( | ) |
Definition at line 6134 of file gtest-all.cc.
GTEST_API_ std::string testing::internal::AppendUserMessage | ( | const std::string & | gtest_msg, |
const Message & | user_msg | ||
) |
Definition at line 3162 of file gtest-all.cc.
Iter testing::internal::ArrayAwareFind | ( | Iter | begin, |
Iter | end, | ||
const Element & | elem | ||
) |
|
inline |
bool testing::internal::ArrayEq | ( | const T * | lhs, |
size_t | size, | ||
const U * | rhs | ||
) |
|
inline |
bool testing::internal::BoolFromGTestEnv | ( | const char * | flag, |
bool | default_value | ||
) |
Definition at line 8976 of file gtest-all.cc.
GTEST_API_ void testing::internal::CaptureStderr | ( | ) |
GTEST_API_ void testing::internal::CaptureStdout | ( | ) |
Derived* testing::internal::CheckedDowncastToActualType | ( | Base * | base | ) |
Definition at line 2908 of file gtest-all.cc.
GTEST_API_ AssertionResult testing::internal::CmpHelperEQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
BiggestInt | expected, | ||
BiggestInt | actual | ||
) |
Definition at line 2598 of file gtest-all.cc.
AssertionResult testing::internal::CmpHelperEQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const T1 & | expected, | ||
const T2 & | actual | ||
) |
AssertionResult testing::internal::CmpHelperFloatingPointEQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
RawType | expected, | ||
RawType | actual | ||
) |
GTEST_API_ AssertionResult testing::internal::CmpHelperSTRCASEEQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const char * | expected, | ||
const char * | actual | ||
) |
Definition at line 2664 of file gtest-all.cc.
GTEST_API_ AssertionResult testing::internal::CmpHelperSTRCASENE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
Definition at line 2694 of file gtest-all.cc.
GTEST_API_ AssertionResult testing::internal::CmpHelperSTREQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const char * | expected, | ||
const char * | actual | ||
) |
Definition at line 2648 of file gtest-all.cc.
GTEST_API_ AssertionResult testing::internal::CmpHelperSTREQ | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const wchar_t * | expected, | ||
const wchar_t * | actual | ||
) |
Definition at line 3030 of file gtest-all.cc.
GTEST_API_ AssertionResult testing::internal::CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
Definition at line 2680 of file gtest-all.cc.
GTEST_API_ AssertionResult testing::internal::CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const wchar_t * | s1, | ||
const wchar_t * | s2 | ||
) |
Definition at line 3046 of file gtest-all.cc.
std::string testing::internal::CodePointToUtf8 | ( | UInt32 | code_point | ) |
Definition at line 2920 of file gtest-all.cc.
void testing::internal::ColoredPrintf | ( | GTestColor | color, |
const char * | fmt, | ||
... | |||
) |
Definition at line 4105 of file gtest-all.cc.
|
inline |
void testing::internal::CopyArray | ( | const T * | from, |
size_t | size, | ||
U * | to | ||
) |
|
inline |
|
inline |
Definition at line 683 of file gtest-all.cc.
|
inline |
Definition at line 2961 of file gtest-all.cc.
void testing::internal::DefaultPrintTo | ( | IsContainer | , |
false_type | , | ||
const C & | container, | ||
::std::ostream * | os | ||
) |
void testing::internal::DefaultPrintTo | ( | IsNotContainer | , |
false_type | , | ||
const T & | value, | ||
::std::ostream * | os | ||
) |
void testing::internal::DefaultPrintTo | ( | IsNotContainer | , |
true_type | , | ||
T * | p, | ||
::std::ostream * | os | ||
) |
|
static |
Definition at line 740 of file gtest-all.cc.
GTEST_API_ AssertionResult testing::internal::DoubleNearPredFormat | ( | const char * | expr1, |
const char * | expr2, | ||
const char * | abs_error_expr, | ||
double | val1, | ||
double | val2, | ||
double | abs_error | ||
) |
Definition at line 2523 of file gtest-all.cc.
|
inline |
GTEST_API_ AssertionResult testing::internal::EqFailure | ( | const char * | expected_expression, |
const char * | actual_expression, | ||
const std::string & | expected_value, | ||
const std::string & | actual_value, | ||
bool | ignoring_case | ||
) |
Definition at line 2484 of file gtest-all.cc.
|
static |
Definition at line 8919 of file gtest-all.cc.
AssertionResult testing::internal::FloatingPointLE | ( | const char * | expr1, |
const char * | expr2, | ||
RawType | val1, | ||
RawType | val2 | ||
) |
Definition at line 2545 of file gtest-all.cc.
void testing::internal::ForEach | ( | const Container & | c, |
Functor | functor | ||
) |
Definition at line 696 of file gtest-all.cc.
GTEST_API_::std::string testing::internal::FormatCompilerIndependentFileLocation | ( | const char * | file, |
int | line | ||
) |
Definition at line 8684 of file gtest-all.cc.
std::string testing::internal::FormatEpochTimeInMillisAsIso8601 | ( | TimeInMillis | ms | ) |
Definition at line 4705 of file gtest-all.cc.
GTEST_API_::std::string testing::internal::FormatFileLocation | ( | const char * | file, |
int | line | ||
) |
Definition at line 8666 of file gtest-all.cc.
std::string testing::internal::FormatForComparisonFailureMessage | ( | const T1 & | value, |
const T2 & | |||
) |
std::string testing::internal::FormatTimeInMillisAsSeconds | ( | TimeInMillis | ms | ) |
Definition at line 4697 of file gtest-all.cc.
const char* testing::internal::GetAnsiColorCode | ( | GTestColor | color | ) |
Definition at line 4057 of file gtest-all.cc.
GTEST_API_ std::string testing::internal::GetBoolAssertionFailureMessage | ( | const AssertionResult & | assertion_result, |
const char * | expression_text, | ||
const char * | actual_predicate_value, | ||
const char * | expected_predicate_value | ||
) |
Definition at line 2507 of file gtest-all.cc.
GTEST_API_ std::string testing::internal::GetCapturedStderr | ( | ) |
GTEST_API_ std::string testing::internal::GetCapturedStdout | ( | ) |
FilePath testing::internal::GetCurrentExecutableName | ( | ) |
Definition at line 1861 of file gtest-all.cc.
GTEST_API_ std::string testing::internal::GetCurrentOsStackTraceExceptTop | ( | UnitTest * | , |
int | skip_count | ||
) |
Definition at line 6119 of file gtest-all.cc.
|
inline |
Definition at line 703 of file gtest-all.cc.
|
inline |
Definition at line 552 of file gtest-all.cc.
|
inline |
Definition at line 536 of file gtest-all.cc.
GTEST_API_ TypeId testing::internal::GetTestTypeId | ( | ) |
Definition at line 2082 of file gtest-all.cc.
GTEST_API_ size_t testing::internal::GetThreadCount | ( | ) |
Definition at line 8338 of file gtest-all.cc.
TimeInMillis testing::internal::GetTimeInMillis | ( | ) |
Definition at line 2264 of file gtest-all.cc.
TypeId testing::internal::GetTypeId | ( | ) |
std::string testing::internal::GetTypeName | ( | ) |
|
inline |
Definition at line 1337 of file gtest-all.cc.
GTEST_API_ testing::internal::GTEST_DECLARE_STATIC_MUTEX_ | ( | g_linked_ptr_mutex | ) |
testing::internal::GTEST_DECLARE_string_ | ( | internal_run_death_test | ) |
GTEST_API_ testing::internal::GTEST_DEFINE_STATIC_MUTEX_ | ( | g_linked_ptr_mutex | ) |
testing::internal::GTEST_DEFINE_string_ | ( | internal_run_death_test | , |
"" | , | ||
"Indicates the | file, | ||
line | number, | ||
temporal index of " "the single death test to | run, | ||
and a file descriptor to " "which a success code may be | sent, | ||
all separated by " "the '|' characters. This flag is specified if and only if the current " "process is a sub-process launched for running a thread-safe " "death test. FOR INTERNAL USE ONLY." | |||
) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | GE | , |
>= | |||
) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | GT | ) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | LE | , |
<= | |||
) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | LT | ) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | NE | , |
! | |||
) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ | ( | char | ) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ | ( | wchar_t | ) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ | ( | char | , |
::std::string | |||
) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ | ( | wchar_t | , |
::std::wstring | |||
) |
|
static |
Definition at line 1800 of file gtest-all.cc.
Result testing::internal::HandleExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
Definition at line 3570 of file gtest-all.cc.
Result testing::internal::HandleSehExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
Definition at line 3543 of file gtest-all.cc.
|
static |
Definition at line 6251 of file gtest-all.cc.
AssertionResult testing::internal::HasOneFailure | ( | const char * | , |
const char * | , | ||
const char * | , | ||
const TestPartResultArray & | results, | ||
TestPartResult::Type | type, | ||
const string & | substr | ||
) |
Definition at line 2093 of file gtest-all.cc.
|
inline |
void testing::internal::InitGoogleTestImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
Definition at line 6455 of file gtest-all.cc.
Definition at line 5910 of file gtest-all.cc.
GTEST_API_ Int32 testing::internal::Int32FromGTestEnv | ( | const char * | flag, |
Int32 | default_value | ||
) |
Definition at line 8986 of file gtest-all.cc.
IsContainer testing::internal::IsContainerTest | ( | int | , |
typename C::iterator * | = NULL , |
||
typename C::const_iterator * | = NULL |
||
) |
IsNotContainer testing::internal::IsContainerTest | ( | long | ) |
char(& testing::internal::IsNullLiteralHelper | ( | ... | ) | )[2] |
char testing::internal::IsNullLiteralHelper | ( | Secret * | p | ) |
|
static |
Definition at line 7926 of file gtest-all.cc.
|
inline |
Definition at line 9146 of file gtest-all.cc.
GTEST_API_ bool testing::internal::IsTrue | ( | bool | condition | ) |
Definition at line 6132 of file gtest-all.cc.
|
inline |
Definition at line 2955 of file gtest-all.cc.
linked_ptr<T> testing::internal::make_linked_ptr | ( | T * | ptr | ) |
GTEST_API_ TestInfo * testing::internal::MakeAndRegisterTestInfo | ( | const char * | test_case_name, |
const char * | name, | ||
const char * | type_param, | ||
const char * | value_param, | ||
TypeId | fixture_class_id, | ||
SetUpTestCaseFunc | set_up_tc, | ||
TearDownTestCaseFunc | tear_down_tc, | ||
TestFactoryBase * | factory | ||
) |
Definition at line 3700 of file gtest-all.cc.
|
inline |
|
inline |
bool testing::internal::ParseBoolFlag | ( | const char * | str, |
const char * | flag, | ||
bool * | value | ||
) |
Definition at line 6199 of file gtest-all.cc.
const char* testing::internal::ParseFlagValue | ( | const char * | str, |
const char * | flag, | ||
bool | def_optional | ||
) |
Definition at line 6161 of file gtest-all.cc.
void testing::internal::ParseGoogleTestFlagsOnly | ( | int * | argc, |
char ** | argv | ||
) |
Definition at line 6443 of file gtest-all.cc.
void testing::internal::ParseGoogleTestFlagsOnly | ( | int * | argc, |
wchar_t ** | argv | ||
) |
Definition at line 6446 of file gtest-all.cc.
void testing::internal::ParseGoogleTestFlagsOnlyImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
Definition at line 6373 of file gtest-all.cc.
Definition at line 8934 of file gtest-all.cc.
bool testing::internal::ParseInt32Flag | ( | const char * | str, |
const char * | flag, | ||
Int32 * | value | ||
) |
Definition at line 6216 of file gtest-all.cc.
bool testing::internal::ParseStringFlag | ( | const char * | str, |
const char * | flag, | ||
std::string * | value | ||
) |
Definition at line 6233 of file gtest-all.cc.
|
static |
Definition at line 9155 of file gtest-all.cc.
|
static |
Definition at line 9216 of file gtest-all.cc.
|
static |
Definition at line 9201 of file gtest-all.cc.
void testing::internal::PrintCharAndCodeTo | ( | Char | c, |
ostream * | os | ||
) |
Definition at line 9226 of file gtest-all.cc.
|
static |
Definition at line 9268 of file gtest-all.cc.
|
static |
Definition at line 6271 of file gtest-all.cc.
void testing::internal::PrintFullTestCommentIfPresent | ( | const TestInfo & | test_info | ) |
Definition at line 4156 of file gtest-all.cc.
|
static |
Definition at line 5996 of file gtest-all.cc.
void testing::internal::PrintRawArrayTo | ( | const T | a[], |
size_t | count, | ||
::std::ostream * | os | ||
) |
GTEST_API_ void testing::internal::PrintStringTo | ( | const ::std::string & | s, |
::std::ostream * | os | ||
) |
void testing::internal::PrintStringTo | ( | const ::std::string & | s, |
ostream * | os | ||
) |
Definition at line 9357 of file gtest-all.cc.
|
static |
Definition at line 4014 of file gtest-all.cc.
|
static |
Definition at line 4004 of file gtest-all.cc.
|
inline |
|
inline |
|
inline |
void testing::internal::PrintTo | ( | const ::std::pair< T1, T2 > & | value, |
::std::ostream * | os | ||
) |
|
inline |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9 > & | t, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const ::std::tr1::tuple< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > & | t, |
::std::ostream * | os | ||
) |
|
inline |
|
inline |
GTEST_API_ void testing::internal::PrintTo | ( | const char * | s, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const char * | s, |
ostream * | os | ||
) |
Definition at line 9323 of file gtest-all.cc.
|
inline |
void testing::internal::PrintTo | ( | const T & | value, |
::std::ostream * | os | ||
) |
|
inline |
GTEST_API_ void testing::internal::PrintTo | ( | const wchar_t * | s, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const wchar_t * | s, |
ostream * | os | ||
) |
Definition at line 9340 of file gtest-all.cc.
|
inline |
GTEST_API_ void testing::internal::PrintTo | ( | signed char | c, |
::std::ostream * | os | ||
) |
Definition at line 9253 of file gtest-all.cc.
|
inline |
GTEST_API_ void testing::internal::PrintTo | ( | unsigned char | c, |
::std::ostream * | os | ||
) |
Definition at line 9250 of file gtest-all.cc.
|
inline |
GTEST_API_ void testing::internal::PrintTo | ( | wchar_t | wc, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | wchar_t | wc, |
ostream * | os | ||
) |
Definition at line 9259 of file gtest-all.cc.
void testing::internal::PrintTupleTo | ( | const T & | t, |
::std::ostream * | os | ||
) |
GTEST_API_ void testing::internal::PrintWideStringTo | ( | const ::std::wstring & | s, |
::std::ostream * | os | ||
) |
void testing::internal::ReportFailureInUnknownLocation | ( | TestPartResult::Type | result_type, |
const std::string & | message | ||
) |
Definition at line 3410 of file gtest-all.cc.
GTEST_API_ void testing::internal::ReportInvalidTestCaseType | ( | const char * | test_case_name, |
const char * | file, | ||
int | line | ||
) |
|
static |
Definition at line 5694 of file gtest-all.cc.
|
static |
Definition at line 1826 of file gtest-all.cc.
bool testing::internal::ShouldRunTestOnShard | ( | int | total_shards, |
int | shard_index, | ||
int | test_id | ||
) |
Definition at line 5928 of file gtest-all.cc.
bool testing::internal::ShouldShard | ( | const char * | total_shards_str, |
const char * | shard_index_str, | ||
bool | in_subprocess_for_death_test | ||
) |
Definition at line 5865 of file gtest-all.cc.
bool testing::internal::ShouldUseColor | ( | bool | stdout_is_tty | ) |
Definition at line 4069 of file gtest-all.cc.
|
inline |
Definition at line 733 of file gtest-all.cc.
void testing::internal::ShuffleRange | ( | internal::Random * | random, |
int | begin, | ||
int | end, | ||
std::vector< E > * | v | ||
) |
Definition at line 712 of file gtest-all.cc.
GTEST_API_ bool testing::internal::SkipPrefix | ( | const char * | prefix, |
const char ** | pstr | ||
) |
Definition at line 6147 of file gtest-all.cc.
std::string testing::internal::StreamableToString | ( | const T & | streamable | ) |
const char * testing::internal::StringFromGTestEnv | ( | const char * | flag, |
const char * | default_value | ||
) |
Definition at line 9008 of file gtest-all.cc.
GTEST_API_ std::string testing::internal::StringStreamToString | ( | ::std::stringstream * | ss | ) |
Definition at line 3143 of file gtest-all.cc.
|
static |
Definition at line 1805 of file gtest-all.cc.
|
static |
Definition at line 5695 of file gtest-all.cc.
|
static |
Definition at line 1820 of file gtest-all.cc.
|
static |
Definition at line 1815 of file gtest-all.cc.
void testing::internal::UniversalPrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
GTEST_API_ void testing::internal::UniversalPrintArray | ( | const char * | begin, |
size_t | len, | ||
::std::ostream * | os | ||
) |
void testing::internal::UniversalPrintArray | ( | const char * | begin, |
size_t | len, | ||
ostream * | os | ||
) |
Definition at line 9312 of file gtest-all.cc.
void testing::internal::UniversalPrintArray | ( | const T * | begin, |
size_t | len, | ||
::std::ostream * | os | ||
) |
GTEST_API_ void testing::internal::UniversalPrintArray | ( | const wchar_t * | begin, |
size_t | len, | ||
::std::ostream * | os | ||
) |
void testing::internal::UniversalPrintArray | ( | const wchar_t * | begin, |
size_t | len, | ||
ostream * | os | ||
) |
Definition at line 9318 of file gtest-all.cc.
|
static |
Definition at line 9289 of file gtest-all.cc.
void testing::internal::UniversalTersePrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
Strings testing::internal::UniversalTersePrintTupleFieldsToStrings | ( | const Tuple & | value | ) |
std::string testing::internal::WideStringToUtf8 | ( | const wchar_t * | str, |
int | num_chars | ||
) |
Definition at line 2984 of file gtest-all.cc.
void testing::internal::WriteToShardStatusFileIfNeeded | ( | ) |
Definition at line 5843 of file gtest-all.cc.
std::string testing::internal::g_executable_path |
Definition at line 1857 of file gtest-all.cc.
bool testing::internal::g_help_flag = false |
Definition at line 1665 of file gtest-all.cc.
GTEST_API_ int testing::internal::g_init_gtest_count = 0 |
Definition at line 1799 of file gtest-all.cc.
class GTEST_API_ testing::internal::ScopedTrace testing::internal::GTEST_ATTRIBUTE_UNUSED_ |
const char testing::internal::kAlsoRunDisabledTestsFlag[] = "also_run_disabled_tests" |
Definition at line 490 of file gtest-all.cc.
const char testing::internal::kBreakOnFailureFlag[] = "break_on_failure" |
Definition at line 491 of file gtest-all.cc.
const char testing::internal::kCatchExceptionsFlag[] = "catch_exceptions" |
Definition at line 492 of file gtest-all.cc.
|
static |
Definition at line 6305 of file gtest-all.cc.
const char testing::internal::kColorFlag[] = "color" |
Definition at line 493 of file gtest-all.cc.
const char testing::internal::kCurrentDirectoryString[] = "./" |
Definition at line 7922 of file gtest-all.cc.
const char testing::internal::kDeathTestStyleFlag[] = "death_test_style" |
const char testing::internal::kDeathTestUseFork[] = "death_test_use_fork" |
const char testing::internal::kFilterFlag[] = "filter" |
Definition at line 494 of file gtest-all.cc.
const char testing::internal::kInternalRunDeathTestFlag[] = "internal_run_death_test" |
const char testing::internal::kListTestsFlag[] = "list_tests" |
Definition at line 495 of file gtest-all.cc.
const BiggestInt testing::internal::kMaxBiggestInt |
Definition at line 2894 of file gtest-all.cc.
Definition at line 2897 of file gtest-all.cc.
Definition at line 2900 of file gtest-all.cc.
Definition at line 2903 of file gtest-all.cc.
const int testing::internal::kMaxRandomSeed = 99999 |
Definition at line 506 of file gtest-all.cc.
const char testing::internal::kOutputFlag[] = "output" |
Definition at line 496 of file gtest-all.cc.
const char testing::internal::kPathSeparator = '/' |
Definition at line 7920 of file gtest-all.cc.
const char testing::internal::kPathSeparatorString[] = "/" |
Definition at line 7921 of file gtest-all.cc.
const char testing::internal::kPrintTimeFlag[] = "print_time" |
Definition at line 497 of file gtest-all.cc.
const char testing::internal::kRandomSeedFlag[] = "random_seed" |
Definition at line 498 of file gtest-all.cc.
const char testing::internal::kRepeatFlag[] = "repeat" |
Definition at line 499 of file gtest-all.cc.
const char testing::internal::kShuffleFlag[] = "shuffle" |
Definition at line 500 of file gtest-all.cc.
const char testing::internal::kStackTraceDepthFlag[] = "stack_trace_depth" |
Definition at line 501 of file gtest-all.cc.
const GTEST_API_ char testing::internal::kStackTraceMarker = "\nStack trace:\n" |
Definition at line 1661 of file gtest-all.cc.
const int testing::internal::kStdErrFileno = STDERR_FILENO |
Definition at line 8292 of file gtest-all.cc.
const int testing::internal::kStdOutFileno = STDOUT_FILENO |
Definition at line 8291 of file gtest-all.cc.
const char testing::internal::kStreamResultToFlag[] = "stream_result_to" |
Definition at line 502 of file gtest-all.cc.
const TypeId testing::internal::kTestTypeIdInGoogleTest = GetTestTypeId() |
Definition at line 2088 of file gtest-all.cc.
const char testing::internal::kThrowOnFailureFlag[] = "throw_on_failure" |
Definition at line 503 of file gtest-all.cc.
|
static |
Definition at line 4153 of file gtest-all.cc.
const char testing::internal::kUnknownFile[] = "unknown file" |
Definition at line 8662 of file gtest-all.cc.
|
static |
Definition at line 4154 of file gtest-all.cc.