Namespaces | |
edit_distance | |
gmockpp | |
invoke_argument | |
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 |
template<class TestCase > | |
using | ParameterizedTestCaseInfo = ParameterizedTestSuiteInfo< TestCase > |
using | SetUpTearDownSuiteFuncType = void(*)() |
using | SetUpTestSuiteFunc = void(*)() |
typedef ::std::string | string |
typedef ::std::vector< ::std::string > | Strings |
using | TearDownTestSuiteFunc = void(*)() |
typedef TypeWithSize< 8 >::Int | TimeInMillis |
typedef bool_constant< true > | true_type |
template<typename T > | |
using | TypeIsValidNullptrConstant = std::integral_constant< bool, std::is_same< typename std::decay< T >::type, std::nullptr_t >::value||!std::is_convertible< T, Secret * >::value > |
typedef TypeWithSize< 4 >::UInt | UInt32 |
typedef TypeWithSize< 8 >::UInt | UInt64 |
typedef ::std::wstring | wstring |
Enumerations | |
enum | CharFormat { kAsIs, kHexEscape, kSpecialEscape } |
enum | DefaultPrinterType { kPrintContainer, kPrintPointer, kPrintFunctionPointer, kPrintOther } |
enum | GTestColor { COLOR_DEFAULT, COLOR_RED, COLOR_GREEN, COLOR_YELLOW } |
enum | GTestLogSeverity { GTEST_INFO, GTEST_WARNING, GTEST_ERROR, GTEST_FATAL } |
enum | LogSeverity { kInfo = 0, kWarning = 1 } |
enum | TypeKind { kBool, kInteger, kFloatingPoint, kOther } |
Functions | |
template<typename MockType > | |
MockType * | AdjustConstness_ (const MockType *mock) |
template<typename MockType > | |
const MockType * | AdjustConstness_const (const MockType *mock) |
bool | AlwaysFalse () |
GTEST_API_ bool | AlwaysTrue () |
GTEST_API_ std::string | AppendUserMessage (const std::string >est_msg, const Message &user_msg) |
template<typename F , typename Tuple > | |
auto | Apply (F &&f, Tuple &&args) -> decltype(ApplyImpl(std::forward< F >(f), std::forward< Tuple >(args), make_int_pack< std::tuple_size< Tuple >::value >())) |
template<typename F , typename Tuple , size_t... Idx> | |
auto | ApplyImpl (F &&f, Tuple &&args, int_pack< Idx... >) -> decltype(std::forward< F >(f)(std::get< Idx >(std::forward< Tuple >(args))...)) |
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]) |
template<typename From , typename To > | |
void | Assert (bool condition, const char *file, int line) |
bool | BoolFromGTestEnv (const char *flag, bool default_val) |
std::string | CanonicalizeForStdLibVersioning (std::string s) |
GTEST_API_ void | CaptureStderr () |
GTEST_API_ void | CaptureStdout () |
template<class Derived , class Base > | |
Derived * | CheckedDowncastToActualType (Base *base) |
UInt32 | ChopLowBits (UInt32 *bits, int n) |
GTEST_API_ AssertionResult | CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, BiggestInt lhs, BiggestInt rhs) |
template<typename T1 , typename T2 > | |
AssertionResult | CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs) |
template<typename T1 , typename T2 > | |
AssertionResult | CmpHelperEQFailure (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs) |
template<typename RawType > | |
AssertionResult | CmpHelperFloatingPointEQ (const char *lhs_expression, const char *rhs_expression, RawType lhs_value, RawType rhs_value) |
template<typename T1 , typename T2 > | |
AssertionResult | CmpHelperOpFailure (const char *expr1, const char *expr2, const T1 &val1, const T2 &val2, const char *op) |
GTEST_API_ AssertionResult | CmpHelperSTRCASEEQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
GTEST_API_ AssertionResult | CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
GTEST_API_ AssertionResult | CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
GTEST_API_ AssertionResult | CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2) |
GTEST_API_ AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
GTEST_API_ AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2) |
std::string | CodePointToUtf8 (UInt32 code_point) |
void | ColoredPrintf (GTestColor color, const char *fmt,...) |
GTEST_API_ std::string | ConvertIdentifierNameToWords (const char *id_name) |
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<typename InputIterator , typename OutputIterator > | |
OutputIterator | CopyElements (InputIterator first, InputIterator last, OutputIterator output) |
UInt32 | CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second) |
template<class ParamType > | |
std::string | DefaultParamName (const TestParamInfo< ParamType > &info) |
template<typename C > | |
void | DefaultPrintTo (WrapPrinterType< kPrintContainer >, const C &container, ::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (WrapPrinterType< kPrintFunctionPointer >, T *p, ::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (WrapPrinterType< kPrintOther >, const T &value, ::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (WrapPrinterType< kPrintPointer >, T *p, ::std::ostream *os) |
GTEST_API_ std::string | DiffStrings (const std::string &left, const std::string &right, size_t *total_line_count) |
GTEST_API_ 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) |
GTEST_API_ AssertionResult | EqFailure (const char *expected_expression, const char *actual_expression, const std::string &expected_value, const std::string &actual_value, bool ignoring_case) |
void | Expect (bool condition, const char *file, int line) |
void | Expect (bool condition, const char *file, int line, const std::string &msg) |
GTEST_API_ ElementMatcherPairs | FindMaxBipartiteMatching (const MatchMatrix &g) |
static std::string | FlagToEnvVar (const char *flag) |
template<typename RawType > | |
AssertionResult | FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2) |
void | FlushInfoLog () |
GTEST_API_ ::std::string | FormatCompilerIndependentFileLocation (const char *file, int line) |
std::string | FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms) |
static std::string | FormatEpochTimeInMillisAsRFC3339 (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 | FormatMatcherDescription (bool negation, const char *matcher_name, const Strings ¶m_values) |
static std::string | FormatTimeInMillisAsDuration (TimeInMillis ms) |
std::string | FormatTimeInMillisAsSeconds (TimeInMillis ms) |
static const char * | GetAnsiColorCode (GTestColor color) |
GTEST_API_ std::vector< std::string > | GetArgvs () |
GTEST_API_ 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 () |
FilePath | GetCurrentExecutableName () |
GTEST_API_ std::string | GetCurrentOsStackTraceExceptTop (UnitTest *unit_test, int skip_count) |
GTEST_API_ FailureReporterInterface * | GetFailureReporter () |
GTEST_API_ size_t | GetFileSize (FILE *file) |
SetUpTearDownSuiteFuncType | GetNotDefaultOrNull (SetUpTearDownSuiteFuncType a, SetUpTearDownSuiteFuncType def) |
template<class ParamType > | |
ParamNameGenFunc< ParamType >::Type * | GetParamNameGen () |
template<class ParamType , class ParamNameGenFunctor > | |
ParamNameGenFunctor | GetParamNameGen (ParamNameGenFunctor func) |
template<typename Pointer > | |
const Pointer::element_type * | GetRawPointer (const Pointer &p) |
template<typename Element > | |
Element * | GetRawPointer (Element *p) |
GTEST_API_ TypeId | GetTestTypeId () |
GTEST_API_ size_t | GetThreadCount () |
TimeInMillis | GetTimeInMillis () |
template<typename T > | |
TypeId | GetTypeId () |
template<typename T > | |
std::string | GetTypeName () |
GTEST_API_ WithoutMatchers | GetWithoutMatchers () |
GMOCK_DECLARE_KIND_ (bool, kBool) | |
GMOCK_DECLARE_KIND_ (char, kInteger) | |
GMOCK_DECLARE_KIND_ (double, kFloatingPoint) | |
GMOCK_DECLARE_KIND_ (float, kFloatingPoint) | |
GMOCK_DECLARE_KIND_ (int, kInteger) | |
GMOCK_DECLARE_KIND_ (Int64, kInteger) | |
GMOCK_DECLARE_KIND_ (long double, kFloatingPoint) | |
GMOCK_DECLARE_KIND_ (long, kInteger) | |
GMOCK_DECLARE_KIND_ (short, kInteger) | |
GMOCK_DECLARE_KIND_ (signed char, kInteger) | |
GMOCK_DECLARE_KIND_ (UInt64, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned char, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned int, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned long, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned short, kInteger) | |
GMOCK_DECLARE_KIND_ (wchar_t, kInteger) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (::std::string, "") | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (bool, false) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (char, '\0') | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (double, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (float, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (Int64, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed char, '\0') | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed int, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed long, 0L) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed short, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (UInt64, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned char, '\0') | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned int, 0U) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned long, 0UL) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned short, 0U) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (void,) | |
GTEST_API_ | GTEST_ATTRIBUTE_PRINTF_ (2, 3) void ColoredPrintf(GTestColor color |
GTEST_DECLARE_string_ (internal_run_death_test) | |
GTEST_API_ | GTEST_DEFINE_STATIC_MUTEX_ (g_gmock_mutex) |
static | GTEST_DEFINE_STATIC_MUTEX_ (g_log_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) | |
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) |
static AssertionResult | HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const std::string &substr) |
GTEST_API_ void | IllegalDoDefault (const char *file, int line) |
template<typename To > | |
To | ImplicitCast_ (To x) |
static std::string | Indent (int width) |
template<typename CharType > | |
void | InitGoogleMockImpl (int *argc, CharType **argv) |
template<typename CharType > | |
void | InitGoogleTestImpl (int *argc, CharType **argv) |
Int32 | Int32FromEnvOrDie (const char *var, Int32 default_val) |
GTEST_API_ Int32 | Int32FromGTestEnv (const char *flag, Int32 default_val) |
CallReaction | intToCallReaction (int mock_behavior) |
template<typename T > | |
T | Invalid () |
bool | IsAlNum (char ch) |
bool | IsAlpha (char ch) |
template<class C , class Iterator = decltype(::std::declval<const C&>().begin()), class = decltype(::std::declval<const C&>().end()), class = decltype(++::std::declval<Iterator&>()), class = decltype(*::std::declval<Iterator>()), class = typename C::const_iterator> | |
IsContainer | IsContainerTest (int) |
template<class C > | |
IsNotContainer | IsContainerTest (long) |
bool | IsDigit (char ch) |
bool | IsLower (char ch) |
AssertionResult | IsNull (const char *str) |
std::false_type | IsNullLiteralHelper (IgnoredValue, std::false_type) |
std::false_type | IsNullLiteralHelper (IgnoredValue, std::true_type) |
std::true_type | IsNullLiteralHelper (Secret *, std::true_type) |
static bool | IsPathSeparator (char c) |
bool | IsPrintableAscii (wchar_t c) |
bool | IsSpace (char ch) |
GTEST_API_ 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) |
GTEST_API_ std::string | JoinAsTuple (const Strings &fields) |
GTEST_API_ void | Log (LogSeverity severity, const std::string &message, int stack_frames_to_skip) |
static void | LogElementMatcherPairVec (const ElementMatcherPairs &pairs, ::std::ostream *stream) |
GTEST_API_ bool | LogIsVisible (LogSeverity severity) |
void | LogToStderr () |
GTEST_API_ void | LogWithLocation (testing::internal::LogSeverity severity, const char *file, int line, const std::string &message) |
GTEST_API_ TestInfo * | MakeAndRegisterTestInfo (const char *test_suite_name, const char *name, const char *type_param, const char *value_param, CodeLocation code_location, TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, TearDownTestSuiteFunc tear_down_tc, TestFactoryBase *factory) |
static FILE * | OpenFileForWriting (const std::string &output_file) |
bool | operator!= (faketype, faketype) |
bool | operator== (faketype, faketype) |
std::string | OutputFlagAlsoCheckEnvVar () |
static bool | ParseBoolFlag (const char *str, const char *flag, bool *value) |
static const char * | ParseFlagValue (const char *str, const char *flag, bool def_optional) |
static bool | ParseGoogleMockBoolFlag (const char *str, const char *flag, bool *value) |
static const char * | ParseGoogleMockFlagValue (const char *str, const char *flag, bool def_optional) |
static bool | ParseGoogleMockIntFlag (const char *str, const char *flag, int *value) |
template<typename String > | |
static bool | ParseGoogleMockStringFlag (const char *str, const char *flag, String *value) |
static bool | ParseGoogleTestFlag (const char *const arg) |
void | ParseGoogleTestFlagsOnly (int *argc, char **argv) |
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) |
bool | ParseInt32Flag (const char *str, const char *flag, Int32 *value) |
template<typename String > | |
static bool | ParseStringFlag (const char *str, const char *flag, String *value) |
static bool | PortableLocaltime (time_t seconds, struct tm *out) |
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 > | |
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ CharFormat | PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os) |
static void | PrintColorEncoded (const char *str) |
static 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... Types> | |
void | PrintTo (const ::std::tuple< Types... > &t, ::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) |
GTEST_API_ void | PrintTo (signed char c, ::std::ostream *os) |
void | PrintTo (std::nullptr_t, ::std::ostream *os) |
template<typename T > | |
void | PrintTo (std::reference_wrapper< T > ref, ::std::ostream *os) |
void | PrintTo (unsigned char *s, ::std::ostream *os) |
GTEST_API_ 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 &, std::integral_constant< size_t, 0 >, ::std::ostream *) |
template<typename T , size_t I> | |
void | PrintTupleTo (const T &t, std::integral_constant< size_t, I >, ::std::ostream *os) |
GTEST_API_ std::string | ReadEntireFile (FILE *file) |
void | ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message) |
GTEST_API_ void | ReportInvalidTestSuiteType (const char *test_suite_name, CodeLocation code_location) |
void | ReportUninterestingCall (CallReaction reaction, const std::string &msg) |
static void | SetUpEnvironment (Environment *env) |
bool | ShouldRunTestOnShard (int total_shards, int shard_index, int test_id) |
static bool | ShouldRunTestSuite (const TestSuite *test_suite) |
bool | ShouldShard (const char *total_shards_env, const char *shard_index_env, bool in_subprocess_for_death_test) |
bool | ShouldUseColor (bool stdout_is_tty) |
GTEST_API_ bool | SkipPrefix (const char *prefix, const char **pstr) |
void | SplitString (const ::std::string &str, char delimiter, ::std::vector< ::std::string > *dest) |
template<typename T > | |
std::string | StreamableToString (const T &streamable) |
const char * | StringFromGTestEnv (const char *flag, const char *default_val) |
GTEST_API_ std::string | StringStreamToString (::std::stringstream *stream) |
std::string | StripTrailingSpaces (std::string str) |
static int | SumOverTestSuiteList (const std::vector< TestSuite * > &case_list, int(TestSuite::*method)() const) |
static void | TearDownEnvironment (Environment *env) |
template<typename Tuple > | |
void | TersePrintPrefixToStrings (const Tuple &, std::integral_constant< size_t, 0 >, Strings *) |
template<typename Tuple , size_t I> | |
void | TersePrintPrefixToStrings (const Tuple &t, std::integral_constant< size_t, I >, Strings *strings) |
TEST (ApiTest, DISABLED_Dummy1) | |
TEST (ApiTest, TestSuiteDisabledAccessorsWork) | |
TEST (ApiTest, TestSuiteImmutableAccessorsWork) | |
TEST (ApiTest, UnitTestImmutableAccessorsWork) | |
TEST (CaptureDeathTest, CannotReenterStdoutCapture) | |
TEST (CaptureTest, CapturesStderr) | |
TEST (CaptureTest, CapturesStdout) | |
TEST (CaptureTest, CapturesStdoutAndStderr) | |
TEST (DISABLED_Test, Dummy2) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsFileLocation) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFile) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFileAndLine) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownLine) | |
TEST (FormatFileLocationTest, FormatsFileLocation) | |
TEST (FormatFileLocationTest, FormatsUknownFileAndLine) | |
TEST (FormatFileLocationTest, FormatsUknownLine) | |
TEST (FormatFileLocationTest, FormatsUnknownFile) | |
TEST (GetThreadCountTest, ReturnsZeroWhenUnableToCountThreads) | |
TEST (GtestCheckDeathTest, DiesWithCorrectOutputOnFailure) | |
TEST (GtestCheckSyntaxTest, BehavesLikeASingleStatement) | |
TEST (GtestCheckSyntaxTest, WorksWithSwitch) | |
TEST (ImplicitCastTest, CanSelectBetweenConstAndNonConstCasrAppropriately) | |
TEST (ImplicitCastTest, CanUseConstCastOperatorOnConstValues) | |
TEST (ImplicitCastTest, CanUseImplicitConstructor) | |
TEST (ImplicitCastTest, CanUseInheritance) | |
TEST (ImplicitCastTest, CanUseNonConstCastOperator) | |
TEST (ImplicitCastTest, ConvertsPointers) | |
TEST (IsXDigitTest, ReturnsFalseForNarrowNonAscii) | |
TEST (IsXDigitTest, ReturnsFalseForWideNonAscii) | |
TEST (IsXDigitTest, WorksForNarrowAscii) | |
TEST (IsXDigitTest, WorksForWideAscii) | |
TEST (IteratorTraitsTest, WorksForPointerToConst) | |
TEST (IteratorTraitsTest, WorksForPointerToNonConst) | |
TEST (IteratorTraitsTest, WorksForSTLContainerIterators) | |
TEST (RegexEngineSelectionTest, SelectsCorrectRegexEngine) | |
TEST (ThreadLocalTest, DefaultConstructorInitializesToDefaultValues) | |
TEST (ThreadLocalTest, GetAndPointerReturnSameValue) | |
TEST (ThreadLocalTest, PointerAndConstPointerReturnSameValue) | |
TEST (ThreadLocalTest, SingleParamConstructorInitializesToParam) | |
TEST (ThreadLocalTest, ValueDefaultContructorIsNotRequiredForParamVersion) | |
TEST_F (ListenerTest, DoesBar) | |
TEST_F (ListenerTest, DoesFoo) | |
static bool | TestSuiteFailed (const TestSuite *test_suite) |
static bool | TestSuitePassed (const TestSuite *test_suite) |
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 > | |
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ 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) |
std::string | WideStringToUtf8 (const wchar_t *str, int num_chars) |
void | WriteToShardStatusFileIfNeeded () |
Variables | |
GTEST_API_ const char * | fmt |
static ::std::vector< std::string > | g_argvs |
GTEST_API_ ThreadLocal< Sequence * > | g_gmock_implicit_sequence |
bool | g_help_flag = false |
static const char | kColorEncodedHelpMessage [] |
const char | kCurrentDirectoryString [] = "./" |
const char | kDeathTestStyleFlag [] = "death_test_style" |
const char | kDeathTestUseFork [] = "death_test_use_fork" |
const char | kErrorVerbosity [] = "error" |
const char | kInfoVerbosity [] = "info" |
const char | kInternalRunDeathTestFlag [] = "internal_run_death_test" |
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 char | kPathSeparator = '/' |
const GTEST_API_ char | kStackTraceMarker [] = "\nStack trace:\n" |
const int | kStdErrFileno = STDERR_FILENO |
const int | kStdOutFileno = STDOUT_FILENO |
const TypeId | kTestTypeIdInGoogleTest = GetTestTypeId() |
const int | kTypedTests = 0 |
const int | kTypedTestSuites = 0 |
static const char | kTypeParamLabel [] = "TypeParam" |
const char | kUnknownFile [] = "unknown file" |
static const char | kValueParamLabel [] = "GetParam()" |
const char | kWarningVerbosity [] = "warning" |
const typedef void * | TypeId |
typedef long long testing::internal::BiggestInt |
Definition at line 1989 of file gtest-port.h.
typedef FloatingPoint<double> testing::internal::Double |
Definition at line 429 of file gtest-internal.h.
Definition at line 1956 of file gtest-port.h.
typedef FloatingPoint<float> testing::internal::Float |
Definition at line 428 of file gtest-internal.h.
typedef TypeWithSize<4>::Int testing::internal::Int32 |
Definition at line 2241 of file gtest-port.h.
typedef TypeWithSize<8>::Int testing::internal::Int64 |
Definition at line 2243 of file gtest-port.h.
typedef int testing::internal::IsContainer |
Definition at line 957 of file gtest-internal.h.
typedef char testing::internal::IsNotContainer |
Definition at line 968 of file gtest-internal.h.
Definition at line 1928 of file gtest-port.h.
using testing::internal::ParameterizedTestCaseInfo = typedef ParameterizedTestSuiteInfo<TestCase> |
Definition at line 657 of file gtest-param-util.h.
using testing::internal::SetUpTearDownSuiteFuncType = typedef void (*)() |
Definition at line 524 of file gtest-internal.h.
using testing::internal::SetUpTestSuiteFunc = typedef void (*)() |
Definition at line 509 of file gtest-internal.h.
typedef ::std::string testing::internal::string |
Definition at line 881 of file gtest-port.h.
typedef ::std::vector< ::std::string> testing::internal::Strings |
Definition at line 895 of file gtest-printers.h.
using testing::internal::TearDownTestSuiteFunc = typedef void (*)() |
Definition at line 510 of file gtest-internal.h.
typedef TypeWithSize<8>::Int testing::internal::TimeInMillis |
Definition at line 2245 of file gtest-port.h.
Definition at line 1957 of file gtest-port.h.
using testing::internal::TypeIsValidNullptrConstant = typedef std::integral_constant< bool, std::is_same<typename std::decay<T>::type, std::nullptr_t>::value || !std::is_convertible<T, Secret*>::value> |
Definition at line 133 of file gtest-internal.h.
typedef TypeWithSize<4>::UInt testing::internal::UInt32 |
Definition at line 2242 of file gtest-port.h.
typedef TypeWithSize<8>::UInt testing::internal::UInt64 |
Definition at line 2244 of file gtest-port.h.
typedef ::std::wstring testing::internal::wstring |
Definition at line 887 of file gtest-port.h.
Enumerator | |
---|---|
kAsIs | |
kHexEscape | |
kSpecialEscape |
Definition at line 127 of file gtest-printers.cc.
Enumerator | |
---|---|
kPrintContainer | |
kPrintPointer | |
kPrintFunctionPointer | |
kPrintOther |
Definition at line 404 of file gtest-printers.h.
Enumerator | |
---|---|
GTEST_INFO | |
GTEST_WARNING | |
GTEST_ERROR | |
GTEST_FATAL |
Definition at line 985 of file gtest-port.h.
Enumerator | |
---|---|
kInfo | |
kWarning |
Definition at line 310 of file gmock-internal-utils.h.
Enumerator | |
---|---|
kBool | |
kInteger | |
kFloatingPoint | |
kOther |
Definition at line 130 of file gmock-internal-utils.h.
MockType* testing::internal::AdjustConstness_ | ( | const MockType * | mock | ) |
Definition at line 100 of file gmock-generated-function-mockers.h.
const MockType* testing::internal::AdjustConstness_const | ( | const MockType * | mock | ) |
Definition at line 93 of file gmock-generated-function-mockers.h.
|
inline |
Definition at line 843 of file gtest-internal.h.
std::string testing::internal::AppendUserMessage | ( | const std::string & | gtest_msg, |
const Message & | user_msg | ||
) |
auto testing::internal::Apply | ( | F && | f, |
Tuple && | args | ||
) | -> decltype(ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args), make_int_pack<std::tuple_size<Tuple>::value>())) |
Definition at line 525 of file gmock-internal-utils.h.
auto testing::internal::ApplyImpl | ( | F && | f, |
Tuple && | args, | ||
int_pack< Idx... > | |||
) | -> decltype( std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...)) |
Definition at line 518 of file gmock-internal-utils.h.
Iter testing::internal::ArrayAwareFind | ( | Iter | begin, |
Iter | end, | ||
const Element & | elem | ||
) |
Definition at line 1063 of file gtest-internal.h.
|
inline |
Definition at line 1040 of file gtest-internal.h.
bool testing::internal::ArrayEq | ( | const T * | lhs, |
size_t | size, | ||
const U * | rhs | ||
) |
Definition at line 1052 of file gtest-internal.h.
|
inline |
Definition at line 1044 of file gtest-internal.h.
|
inline |
Definition at line 292 of file gmock-internal-utils.h.
bool testing::internal::BoolFromGTestEnv | ( | const char * | flag, |
bool | default_val | ||
) |
Definition at line 1247 of file gtest-port.cc.
|
inline |
Definition at line 64 of file gtest-type-util.h.
GTEST_API_ void testing::internal::CaptureStderr | ( | ) |
GTEST_API_ void testing::internal::CaptureStdout | ( | ) |
Derived* testing::internal::CheckedDowncastToActualType | ( | Base * | base | ) |
Definition at line 1157 of file gtest-port.h.
AssertionResult testing::internal::CmpHelperEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
BiggestInt | lhs, | ||
BiggestInt | rhs | ||
) |
AssertionResult testing::internal::CmpHelperEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
const T1 & | lhs, | ||
const T2 & | rhs | ||
) |
AssertionResult testing::internal::CmpHelperEQFailure | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
const T1 & | lhs, | ||
const T2 & | rhs | ||
) |
AssertionResult testing::internal::CmpHelperFloatingPointEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
RawType | lhs_value, | ||
RawType | rhs_value | ||
) |
AssertionResult testing::internal::CmpHelperOpFailure | ( | const char * | expr1, |
const char * | expr2, | ||
const T1 & | val1, | ||
const T2 & | val2, | ||
const char * | op | ||
) |
AssertionResult testing::internal::CmpHelperSTRCASEEQ | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
AssertionResult testing::internal::CmpHelperSTRCASENE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
AssertionResult testing::internal::CmpHelperSTREQ | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
AssertionResult testing::internal::CmpHelperSTREQ | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const wchar_t * | s1, | ||
const wchar_t * | s2 | ||
) |
AssertionResult testing::internal::CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
AssertionResult testing::internal::CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const wchar_t * | s1, | ||
const wchar_t * | s2 | ||
) |
std::string testing::internal::CodePointToUtf8 | ( | UInt32 | code_point | ) |
void testing::internal::ColoredPrintf | ( | GTestColor | color, |
const char * | fmt, | ||
... | |||
) |
GTEST_API_ std::string testing::internal::ConvertIdentifierNameToWords | ( | const char * | id_name | ) |
Definition at line 72 of file gmock-internal-utils.cc.
|
inline |
Definition at line 1080 of file gtest-internal.h.
void testing::internal::CopyArray | ( | const T * | from, |
size_t | size, | ||
U * | to | ||
) |
Definition at line 1092 of file gtest-internal.h.
|
inline |
Definition at line 1084 of file gtest-internal.h.
|
inline |
Definition at line 53 of file gmock-more-actions.h.
|
inline |
std::string testing::internal::DefaultParamName | ( | const TestParamInfo< ParamType > & | info | ) |
Definition at line 373 of file gtest-param-util.h.
void testing::internal::DefaultPrintTo | ( | WrapPrinterType< kPrintContainer > | , |
const C & | container, | ||
::std::ostream * | os | ||
) |
Definition at line 415 of file gtest-printers.h.
void testing::internal::DefaultPrintTo | ( | WrapPrinterType< kPrintFunctionPointer > | , |
T * | p, | ||
::std::ostream * | os | ||
) |
Definition at line 460 of file gtest-printers.h.
void testing::internal::DefaultPrintTo | ( | WrapPrinterType< kPrintOther > | , |
const T & | value, | ||
::std::ostream * | os | ||
) |
Definition at line 475 of file gtest-printers.h.
void testing::internal::DefaultPrintTo | ( | WrapPrinterType< kPrintPointer > | , |
T * | p, | ||
::std::ostream * | os | ||
) |
Definition at line 448 of file gtest-printers.h.
GTEST_API_ std::string testing::internal::DiffStrings | ( | const std::string & | left, |
const std::string & | right, | ||
size_t * | total_line_count | ||
) |
AssertionResult testing::internal::DoubleNearPredFormat | ( | const char * | expr1, |
const char * | expr2, | ||
const char * | abs_error_expr, | ||
double | val1, | ||
double | val2, | ||
double | abs_error | ||
) |
|
inline |
Definition at line 1132 of file gtest-port.h.
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 | ||
) |
|
inline |
Definition at line 305 of file gmock-internal-utils.h.
|
inline |
Definition at line 298 of file gmock-internal-utils.h.
GTEST_API_ ElementMatcherPairs testing::internal::FindMaxBipartiteMatching | ( | const MatchMatrix & | g | ) |
Definition at line 228 of file gmock-matchers.cc.
|
static |
Definition at line 1190 of file gtest-port.cc.
AssertionResult testing::internal::FloatingPointLE | ( | const char * | expr1, |
const char * | expr2, | ||
RawType | val1, | ||
RawType | val2 | ||
) |
|
inline |
Definition at line 1017 of file gtest-port.h.
GTEST_API_::std::string testing::internal::FormatCompilerIndependentFileLocation | ( | const char * | file, |
int | line | ||
) |
Definition at line 951 of file gtest-port.cc.
std::string testing::internal::FormatEpochTimeInMillisAsIso8601 | ( | TimeInMillis | ms | ) |
|
static |
GTEST_API_::std::string testing::internal::FormatFileLocation | ( | const char * | file, |
int | line | ||
) |
Definition at line 933 of file gtest-port.cc.
std::string testing::internal::FormatForComparisonFailureMessage | ( | const T1 & | value, |
const T2 & | |||
) |
Definition at line 386 of file gtest-printers.h.
GTEST_API_ std::string testing::internal::FormatMatcherDescription | ( | bool | negation, |
const char * | matcher_name, | ||
const Strings & | param_values | ||
) |
Definition at line 52 of file gmock-matchers.cc.
|
static |
std::string testing::internal::FormatTimeInMillisAsSeconds | ( | TimeInMillis | ms | ) |
|
static |
std::vector< std::string > testing::internal::GetArgvs | ( | ) |
std::string testing::internal::GetBoolAssertionFailureMessage | ( | const AssertionResult & | assertion_result, |
const char * | expression_text, | ||
const char * | actual_predicate_value, | ||
const char * | expected_predicate_value | ||
) |
GTEST_API_ std::string testing::internal::GetCapturedStderr | ( | ) |
GTEST_API_ std::string testing::internal::GetCapturedStdout | ( | ) |
std::string testing::internal::GetCurrentOsStackTraceExceptTop | ( | UnitTest * | unit_test, |
int | skip_count | ||
) |
GTEST_API_ FailureReporterInterface* testing::internal::GetFailureReporter | ( | ) |
Definition at line 112 of file gmock-internal-utils.cc.
size_t testing::internal::GetFileSize | ( | FILE * | file | ) |
Definition at line 1117 of file gtest-port.cc.
|
inline |
Definition at line 526 of file gtest-internal.h.
ParamNameGenFunc<ParamType>::Type* testing::internal::GetParamNameGen | ( | ) |
Definition at line 395 of file gtest-param-util.h.
ParamNameGenFunctor testing::internal::GetParamNameGen | ( | ParamNameGenFunctor | func | ) |
Definition at line 385 of file gtest-param-util.h.
|
inline |
Definition at line 92 of file gmock-internal-utils.h.
|
inline |
Definition at line 97 of file gmock-internal-utils.h.
size_t testing::internal::GetThreadCount | ( | ) |
Definition at line 188 of file gtest-port.cc.
TimeInMillis testing::internal::GetTimeInMillis | ( | ) |
TypeId testing::internal::GetTypeId | ( | ) |
Definition at line 455 of file gtest-internal.h.
std::string testing::internal::GetTypeName | ( | ) |
Definition at line 80 of file gtest-type-util.h.
GTEST_API_ WithoutMatchers testing::internal::GetWithoutMatchers | ( | ) |
Definition at line 187 of file gmock-internal-utils.cc.
testing::internal::GMOCK_DECLARE_KIND_ | ( | bool | , |
kBool | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | char | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | double | , |
kFloatingPoint | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | float | , |
kFloatingPoint | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | int | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | long double | , |
kFloatingPoint | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | long | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | short | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | signed char | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | unsigned char | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | unsigned int | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | unsigned long | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | unsigned short | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | wchar_t | , |
kInteger | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | ::std::string | , |
"" | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | bool | , |
false | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | char | , |
'\0' | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | double | , |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | float | , |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | Int64 | , |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | signed char | , |
'\0' | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | signed int | , |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | signed long | , |
0L | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | signed short | , |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | UInt64 | , |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | unsigned char | , |
'\0' | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | unsigned int | , |
0U | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | unsigned long | , |
0UL | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | unsigned short | , |
0U | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | void | ) |
GTEST_API_ testing::internal::GTEST_ATTRIBUTE_PRINTF_ | ( | 2 | , |
3 | |||
) |
testing::internal::GTEST_DECLARE_string_ | ( | internal_run_death_test | ) |
GTEST_API_ testing::internal::GTEST_DEFINE_STATIC_MUTEX_ | ( | g_gmock_mutex | ) |
|
static |
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 | |||
) |
|
static |
Result testing::internal::HandleExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
Result testing::internal::HandleSehExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
|
static |
|
static |
GTEST_API_ void testing::internal::IllegalDoDefault | ( | const char * | file, |
int | line | ||
) |
Definition at line 189 of file gmock-internal-utils.cc.
Definition at line 1108 of file gtest-port.h.
|
inlinestatic |
void testing::internal::InitGoogleMockImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
void testing::internal::InitGoogleTestImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
Definition at line 1261 of file gtest-port.cc.
CallReaction testing::internal::intToCallReaction | ( | int | mock_behavior | ) |
Definition at line 549 of file gmock-spec-builders.cc.
|
inline |
Definition at line 393 of file gmock-internal-utils.h.
|
inline |
Definition at line 2002 of file gtest-port.h.
|
inline |
Definition at line 1999 of file gtest-port.h.
IsContainer testing::internal::IsContainerTest | ( | int | ) |
Definition at line 964 of file gtest-internal.h.
IsNotContainer testing::internal::IsContainerTest | ( | long | ) |
Definition at line 970 of file gtest-internal.h.
|
inline |
Definition at line 2005 of file gtest-port.h.
|
inline |
Definition at line 2008 of file gtest-port.h.
AssertionResult testing::internal::IsNull | ( | const char * | str | ) |
Definition at line 139 of file gtest-unittest-api_test.cc.
std::false_type testing::internal::IsNullLiteralHelper | ( | IgnoredValue | , |
std::false_type | |||
) |
std::false_type testing::internal::IsNullLiteralHelper | ( | IgnoredValue | , |
std::true_type | |||
) |
std::true_type testing::internal::IsNullLiteralHelper | ( | Secret * | , |
std::true_type | |||
) |
|
static |
Definition at line 85 of file gtest-filepath.cc.
|
inline |
Definition at line 136 of file gtest-printers.cc.
|
inline |
Definition at line 2011 of file gtest-port.h.
|
inline |
Definition at line 2014 of file gtest-port.h.
|
inline |
|
inline |
Definition at line 2017 of file gtest-port.h.
|
inline |
Definition at line 2020 of file gtest-port.h.
GTEST_API_ std::string testing::internal::JoinAsTuple | ( | const Strings & | fields | ) |
Definition at line 51 of file gmock-internal-utils.cc.
GTEST_API_ void testing::internal::Log | ( | LogSeverity | severity, |
const std::string & | message, | ||
int | stack_frames_to_skip | ||
) |
Definition at line 149 of file gmock-internal-utils.cc.
|
static |
Definition at line 232 of file gmock-matchers.cc.
GTEST_API_ bool testing::internal::LogIsVisible | ( | LogSeverity | severity | ) |
Definition at line 128 of file gmock-internal-utils.cc.
|
inline |
Definition at line 1016 of file gtest-port.h.
GTEST_API_ void testing::internal::LogWithLocation | ( | testing::internal::LogSeverity | severity, |
const char * | file, | ||
int | line, | ||
const std::string & | message | ||
) |
Definition at line 69 of file gmock-spec-builders.cc.
TestInfo * testing::internal::MakeAndRegisterTestInfo | ( | const char * | test_suite_name, |
const char * | name, | ||
const char * | type_param, | ||
const char * | value_param, | ||
CodeLocation | code_location, | ||
TypeId | fixture_class_id, | ||
SetUpTestSuiteFunc | set_up_tc, | ||
TearDownTestSuiteFunc | tear_down_tc, | ||
TestFactoryBase * | factory | ||
) |
|
static |
std::string testing::internal::OutputFlagAlsoCheckEnvVar | ( | ) |
Definition at line 1293 of file gtest-port.cc.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void testing::internal::ParseGoogleTestFlagsOnly | ( | int * | argc, |
char ** | argv | ||
) |
void testing::internal::ParseGoogleTestFlagsOnly | ( | int * | argc, |
wchar_t ** | argv | ||
) |
void testing::internal::ParseGoogleTestFlagsOnlyImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
Definition at line 1205 of file gtest-port.cc.
bool testing::internal::ParseInt32Flag | ( | const char * | str, |
const char * | flag, | ||
Int32 * | value | ||
) |
|
static |
|
static |
|
static |
Definition at line 145 of file gtest-printers.cc.
|
static |
Definition at line 209 of file gtest-printers.cc.
|
static |
Definition at line 194 of file gtest-printers.cc.
void testing::internal::PrintCharAndCodeTo | ( | Char | c, |
ostream * | os | ||
) |
Definition at line 219 of file gtest-printers.cc.
|
static |
Definition at line 264 of file gtest-printers.cc.
|
static |
|
static |
void testing::internal::PrintRawArrayTo | ( | const T | a[], |
size_t | count, | ||
::std::ostream * | os | ||
) |
Definition at line 593 of file gtest-printers.h.
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 433 of file gtest-printers.cc.
|
static |
|
static |
|
inline |
Definition at line 540 of file gtest-printers.h.
|
inline |
Definition at line 555 of file gtest-printers.h.
|
inline |
Definition at line 532 of file gtest-printers.h.
void testing::internal::PrintTo | ( | const ::std::pair< T1, T2 > & | value, |
::std::ostream * | os | ||
) |
Definition at line 671 of file gtest-printers.h.
|
inline |
Definition at line 610 of file gtest-printers.h.
void testing::internal::PrintTo | ( | const ::std::tuple< Types... > & | t, |
::std::ostream * | os | ||
) |
Definition at line 663 of file gtest-printers.h.
GTEST_API_ void testing::internal::PrintTo | ( | const char * | s, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const char * | s, |
ostream * | os | ||
) |
Definition at line 328 of file gtest-printers.cc.
|
inline |
Definition at line 561 of file gtest-printers.h.
Definition at line 492 of file gtest-printers.h.
|
inline |
Definition at line 567 of file gtest-printers.h.
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 345 of file gtest-printers.cc.
|
inline |
Definition at line 564 of file gtest-printers.h.
void testing::internal::PrintTo | ( | signed char | c, |
::std::ostream * | os | ||
) |
Definition at line 246 of file gtest-printers.cc.
|
inline |
Definition at line 636 of file gtest-printers.h.
void testing::internal::PrintTo | ( | std::reference_wrapper< T > | ref, |
::std::ostream * | os | ||
) |
Definition at line 639 of file gtest-printers.h.
|
inline |
Definition at line 570 of file gtest-printers.h.
void testing::internal::PrintTo | ( | unsigned char | c, |
::std::ostream * | os | ||
) |
Definition at line 243 of file gtest-printers.cc.
|
inline |
Definition at line 582 of file gtest-printers.h.
GTEST_API_ void testing::internal::PrintTo | ( | wchar_t | wc, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | wchar_t | wc, |
ostream * | os | ||
) |
Definition at line 252 of file gtest-printers.cc.
void testing::internal::PrintTupleTo | ( | const T & | , |
std::integral_constant< size_t, 0 > | , | ||
::std::ostream * | |||
) |
Definition at line 646 of file gtest-printers.h.
void testing::internal::PrintTupleTo | ( | const T & | t, |
std::integral_constant< size_t, I > | , | ||
::std::ostream * | os | ||
) |
Definition at line 650 of file gtest-printers.h.
std::string testing::internal::ReadEntireFile | ( | FILE * | file | ) |
Definition at line 1122 of file gtest-port.cc.
void testing::internal::ReportFailureInUnknownLocation | ( | TestPartResult::Type | result_type, |
const std::string & | message | ||
) |
void testing::internal::ReportInvalidTestSuiteType | ( | const char * | test_suite_name, |
CodeLocation | code_location | ||
) |
void testing::internal::ReportUninterestingCall | ( | CallReaction | reaction, |
const std::string & | msg | ||
) |
Definition at line 279 of file gmock-spec-builders.cc.
|
static |
bool testing::internal::ShouldRunTestOnShard | ( | int | total_shards, |
int | shard_index, | ||
int | test_id | ||
) |
|
static |
bool testing::internal::ShouldShard | ( | const char * | total_shards_env, |
const char * | shard_index_env, | ||
bool | in_subprocess_for_death_test | ||
) |
bool testing::internal::ShouldUseColor | ( | bool | stdout_is_tty | ) |
bool testing::internal::SkipPrefix | ( | const char * | prefix, |
const char ** | pstr | ||
) |
void testing::internal::SplitString | ( | const ::std::string & | str, |
char | delimiter, | ||
::std::vector< ::std::string > * | dest | ||
) |
std::string testing::internal::StreamableToString | ( | const T & | streamable | ) |
Definition at line 215 of file gtest-message.h.
const char * testing::internal::StringFromGTestEnv | ( | const char * | flag, |
const char * | default_val | ||
) |
Definition at line 1304 of file gtest-port.cc.
std::string testing::internal::StringStreamToString | ( | ::std::stringstream * | stream | ) |
|
inline |
Definition at line 2032 of file gtest-port.h.
|
static |
|
static |
void testing::internal::TersePrintPrefixToStrings | ( | const Tuple & | , |
std::integral_constant< size_t, 0 > | , | ||
Strings * | |||
) |
Definition at line 900 of file gtest-printers.h.
void testing::internal::TersePrintPrefixToStrings | ( | const Tuple & | t, |
std::integral_constant< size_t, I > | , | ||
Strings * | strings | ||
) |
Definition at line 903 of file gtest-printers.h.
testing::internal::TEST | ( | ApiTest | , |
DISABLED_Dummy1 | |||
) |
Definition at line 230 of file gtest-unittest-api_test.cc.
testing::internal::TEST | ( | ApiTest | , |
TestSuiteDisabledAccessorsWork | |||
) |
Definition at line 209 of file gtest-unittest-api_test.cc.
testing::internal::TEST | ( | ApiTest | , |
TestSuiteImmutableAccessorsWork | |||
) |
Definition at line 146 of file gtest-unittest-api_test.cc.
testing::internal::TEST | ( | ApiTest | , |
UnitTestImmutableAccessorsWork | |||
) |
Definition at line 113 of file gtest-unittest-api_test.cc.
testing::internal::TEST | ( | CaptureDeathTest | , |
CannotReenterStdoutCapture | |||
) |
Definition at line 944 of file googletest-port-test.cc.
testing::internal::TEST | ( | CaptureTest | , |
CapturesStderr | |||
) |
Definition at line 924 of file googletest-port-test.cc.
testing::internal::TEST | ( | CaptureTest | , |
CapturesStdout | |||
) |
Definition at line 914 of file googletest-port-test.cc.
testing::internal::TEST | ( | CaptureTest | , |
CapturesStdoutAndStderr | |||
) |
Definition at line 935 of file googletest-port-test.cc.
testing::internal::TEST | ( | DISABLED_Test | , |
Dummy2 | |||
) |
Definition at line 231 of file gtest-unittest-api_test.cc.
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsFileLocation | |||
) |
Definition at line 272 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownFile | |||
) |
Definition at line 276 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownFileAndLine | |||
) |
Definition at line 285 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownLine | |||
) |
Definition at line 281 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsFileLocation | |||
) |
Definition at line 252 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUknownFileAndLine | |||
) |
Definition at line 267 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUknownLine | |||
) |
Definition at line 263 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUnknownFile | |||
) |
Definition at line 257 of file googletest-port-test.cc.
testing::internal::TEST | ( | GetThreadCountTest | , |
ReturnsZeroWhenUnableToCountThreads | |||
) |
Definition at line 330 of file googletest-port-test.cc.
testing::internal::TEST | ( | GtestCheckDeathTest | , |
DiesWithCorrectOutputOnFailure | |||
) |
Definition at line 335 of file googletest-port-test.cc.
testing::internal::TEST | ( | GtestCheckSyntaxTest | , |
BehavesLikeASingleStatement | |||
) |
Definition at line 222 of file googletest-port-test.cc.
testing::internal::TEST | ( | GtestCheckSyntaxTest | , |
WorksWithSwitch | |||
) |
Definition at line 238 of file googletest-port-test.cc.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanSelectBetweenConstAndNonConstCasrAppropriately | |||
) |
Definition at line 176 of file googletest-port-test.cc.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseConstCastOperatorOnConstValues | |||
) |
Definition at line 151 of file googletest-port-test.cc.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseImplicitConstructor | |||
) |
Definition at line 197 of file googletest-port-test.cc.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseInheritance | |||
) |
Definition at line 114 of file googletest-port-test.cc.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseNonConstCastOperator | |||
) |
Definition at line 132 of file googletest-port-test.cc.
testing::internal::TEST | ( | ImplicitCastTest | , |
ConvertsPointers | |||
) |
Definition at line 109 of file googletest-port-test.cc.
testing::internal::TEST | ( | IsXDigitTest | , |
ReturnsFalseForNarrowNonAscii | |||
) |
Definition at line 67 of file googletest-port-test.cc.
testing::internal::TEST | ( | IsXDigitTest | , |
ReturnsFalseForWideNonAscii | |||
) |
Definition at line 85 of file googletest-port-test.cc.
testing::internal::TEST | ( | IsXDigitTest | , |
WorksForNarrowAscii | |||
) |
Definition at line 54 of file googletest-port-test.cc.
testing::internal::TEST | ( | IsXDigitTest | , |
WorksForWideAscii | |||
) |
Definition at line 72 of file googletest-port-test.cc.
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForPointerToConst | |||
) |
Definition at line 216 of file googletest-port-test.cc.
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForPointerToNonConst | |||
) |
Definition at line 211 of file googletest-port-test.cc.
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForSTLContainerIterators | |||
) |
Definition at line 204 of file googletest-port-test.cc.
testing::internal::TEST | ( | RegexEngineSelectionTest | , |
SelectsCorrectRegexEngine | |||
) |
Definition at line 366 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
DefaultConstructorInitializesToDefaultValues | |||
) |
Definition at line 956 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
GetAndPointerReturnSameValue | |||
) |
Definition at line 984 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
PointerAndConstPointerReturnSameValue | |||
) |
Definition at line 994 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
SingleParamConstructorInitializesToParam | |||
) |
Definition at line 964 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
ValueDefaultContructorIsNotRequiredForParamVersion | |||
) |
Definition at line 979 of file googletest-port-test.cc.
testing::internal::TEST_F | ( | ListenerTest | , |
DoesBar | |||
) |
Definition at line 229 of file googletest-listener-test.cc.
testing::internal::TEST_F | ( | ListenerTest | , |
DoesFoo | |||
) |
Definition at line 222 of file googletest-listener-test.cc.
|
static |
|
static |
|
inline |
Definition at line 2025 of file gtest-port.h.
|
inline |
Definition at line 2028 of file gtest-port.h.
void testing::internal::UniversalPrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
Definition at line 888 of file gtest-printers.h.
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 317 of file gtest-printers.cc.
void testing::internal::UniversalPrintArray | ( | const T * | begin, |
size_t | len, | ||
::std::ostream * | os | ||
) |
Definition at line 753 of file gtest-printers.h.
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 323 of file gtest-printers.cc.
|
static |
Definition at line 294 of file gtest-printers.cc.
void testing::internal::UniversalTersePrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
Definition at line 879 of file gtest-printers.h.
Strings testing::internal::UniversalTersePrintTupleFieldsToStrings | ( | const Tuple & | value | ) |
Definition at line 917 of file gtest-printers.h.
std::string testing::internal::WideStringToUtf8 | ( | const wchar_t * | str, |
int | num_chars | ||
) |
void testing::internal::WriteToShardStatusFileIfNeeded | ( | ) |
GTEST_API_ const char* testing::internal::fmt |
::std::vector<std::string> testing::internal::g_argvs |
GTEST_API_ ThreadLocal<Sequence*> testing::internal::g_gmock_implicit_sequence |
Definition at line 275 of file gmock-spec-builders.cc.
|
static |
const char testing::internal::kCurrentDirectoryString[] = "./" |
Definition at line 81 of file gtest-filepath.cc.
const char testing::internal::kDeathTestStyleFlag[] = "death_test_style" |
Definition at line 51 of file gtest-death-test-internal.h.
const char testing::internal::kDeathTestUseFork[] = "death_test_use_fork" |
Definition at line 52 of file gtest-death-test-internal.h.
const char testing::internal::kErrorVerbosity[] = "error" |
Definition at line 322 of file gmock-internal-utils.h.
const char testing::internal::kInfoVerbosity[] = "info" |
Definition at line 318 of file gmock-internal-utils.h.
const char testing::internal::kInternalRunDeathTestFlag[] = "internal_run_death_test" |
Definition at line 53 of file gtest-death-test-internal.h.
const BiggestInt testing::internal::kMaxBiggestInt |
Definition at line 2186 of file gtest-port.h.
const char testing::internal::kPathSeparator = '/' |
Definition at line 80 of file gtest-filepath.cc.
const char testing::internal::kStackTraceMarker = "\nStack trace:\n" |
const int testing::internal::kStdErrFileno = STDERR_FILENO |
Definition at line 89 of file gtest-port.cc.
const int testing::internal::kStdOutFileno = STDOUT_FILENO |
Definition at line 88 of file gtest-port.cc.
const TypeId testing::internal::kTestTypeIdInGoogleTest = GetTestTypeId() |
const int testing::internal::kTypedTests = 0 |
Definition at line 107 of file gtest-unittest-api_test.cc.
const int testing::internal::kTypedTestSuites = 0 |
Definition at line 106 of file gtest-unittest-api_test.cc.
|
static |
const char testing::internal::kUnknownFile[] = "unknown file" |
Definition at line 929 of file gtest-port.cc.
|
static |
const char testing::internal::kWarningVerbosity[] = "warning" |
Definition at line 320 of file gmock-internal-utils.h.
const typedef void* testing::internal::TypeId |
Definition at line 437 of file gtest-internal.h.