Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Namespaces | |
invoke_argument | |
gmockpp | |
internal_stream | |
edit_distance | |
posix | |
Typedefs | |
template<typename P , typename Q > | |
using | disjunction = typename::std::conditional< P::value, P, Q >::type |
template<typename T > | |
using | identity_t = T |
template<TypeKind kFromKind, typename From , TypeKind kToKind, typename To > | |
using | LosslessArithmeticConvertibleImpl = std::integral_constant< bool,(kFromKind==kBool)?true:(kFromKind!=kToKind)?false:(kFromKind==kInteger &&(((sizeof(From)< sizeof(To))&&!(std::is_signed< From >::value &&!std::is_signed< To >::value))||((sizeof(From)==sizeof(To))&&(std::is_signed< From >::value==std::is_signed< To >::value))))?true:(kFromKind==kFloatingPoint &&(sizeof(From)<=sizeof(To)))?true:false > |
template<typename From , typename To > | |
using | LosslessArithmeticConvertible = LosslessArithmeticConvertibleImpl< GMOCK_KIND_OF_(From), From, GMOCK_KIND_OF_(To), To > |
typedef ::std::vector < ::std::string > | Strings |
typedef FloatingPoint< float > | Float |
typedef FloatingPoint< double > | Double |
typedef const void * | TypeId |
using | SetUpTestSuiteFunc ) = void(*)( |
using | TearDownTestSuiteFunc ) = void(*)( |
using | SetUpTearDownSuiteFuncType ) = void(*)( |
typedef int | IsContainer |
typedef char | IsNotContainer |
template<class TestCase > | |
using | ParameterizedTestCaseInfo = ParameterizedTestSuiteInfo< TestCase > |
typedef GTestMutexLock | MutexLock |
using | BiggestInt = long long |
using | TimeInMillis = int64_t |
Enumerations | |
enum | TypeKind { kBool, kInteger, kFloatingPoint, kOther } |
enum | LogSeverity { kInfo = 0, kWarning = 1 } |
enum | GTestLogSeverity { GTEST_INFO, GTEST_WARNING, GTEST_ERROR, GTEST_FATAL } |
enum | CharFormat { kAsIs, kHexEscape, kSpecialEscape } |
Functions | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (void,) | |
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_ (unsigned char, '\0') | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed char, '\0') | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (char, '\0') | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned short, 0U) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed short, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned long, 0UL) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed long, 0L) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (unsigned long long, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed long long, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (float, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (double, 0) | |
template<typename MockType > | |
const MockType * | AdjustConstness_const (const MockType *mock) |
template<typename MockType > | |
MockType * | AdjustConstness_ (const MockType *mock) |
template<typename InputIterator , typename OutputIterator > | |
OutputIterator | CopyElements (InputIterator first, InputIterator last, OutputIterator output) |
GTEST_API_ std::string | JoinAsTuple (const Strings &fields) |
GTEST_API_ std::string | ConvertIdentifierNameToWords (const char *id_name) |
template<typename Pointer > | |
const Pointer::element_type * | GetRawPointer (const Pointer &p) |
template<typename Element > | |
Element * | GetRawPointer (Element *p) |
GMOCK_DECLARE_KIND_ (bool, kBool) | |
GMOCK_DECLARE_KIND_ (char, kInteger) | |
GMOCK_DECLARE_KIND_ (signed char, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned char, kInteger) | |
GMOCK_DECLARE_KIND_ (short, kInteger) | |
GMOCK_DECLARE_KIND_ (int, kInteger) | |
GMOCK_DECLARE_KIND_ (long, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned long long, kInteger) | |
GMOCK_DECLARE_KIND_ (wchar_t, kInteger) | |
GMOCK_DECLARE_KIND_ (float, kFloatingPoint) | |
GMOCK_DECLARE_KIND_ (double, kFloatingPoint) | |
GMOCK_DECLARE_KIND_ (long double, kFloatingPoint) | |
GTEST_API_ FailureReporterInterface * | GetFailureReporter () |
void | Assert (bool condition, const char *file, int line, const std::string &msg) |
void | Assert (bool condition, const char *file, int line) |
void | Expect (bool condition, const char *file, int line, const std::string &msg) |
void | Expect (bool condition, const char *file, int line) |
GTEST_API_ bool | LogIsVisible (LogSeverity severity) |
GTEST_API_ void | Log (LogSeverity severity, const std::string &message, int stack_frames_to_skip) |
GTEST_API_ WithoutMatchers | GetWithoutMatchers () |
template<typename T > | |
T | Invalid () |
GTEST_API_ void | IllegalDoDefault (const char *file, int line) |
template<typename F , typename Tuple , size_t... Idx> | |
auto | ApplyImpl (F &&f, Tuple &&args, IndexSequence< Idx...>) -> decltype(std::forward< F >(f)(std::get< Idx >(std::forward< Tuple >(args))...)) |
template<typename F , typename Tuple > | |
auto | Apply (F &&f, Tuple &&args) -> decltype(ApplyImpl(std::forward< F >(f), std::forward< Tuple >(args), MakeIndexSequence< std::tuple_size< typename std::remove_reference< Tuple >::type >::value >())) |
static | GTEST_DEFINE_STATIC_MUTEX_ (g_log_mutex) |
GTEST_API_ std::string | FormatMatcherDescription (bool negation, const char *matcher_name, const Strings ¶m_values) |
GTEST_API_ ElementMatcherPairs | FindMaxBipartiteMatching (const MatchMatrix &g) |
static void | LogElementMatcherPairVec (const ElementMatcherPairs &pairs,::std::ostream *stream) |
GTEST_API_ | GTEST_DEFINE_STATIC_MUTEX_ (g_gmock_mutex) |
GTEST_API_ void | LogWithLocation (testing::internal::LogSeverity severity, const char *file, int line, const std::string &message) |
void | ReportUninterestingCall (CallReaction reaction, const std::string &msg) |
CallReaction | intToCallReaction (int mock_behavior) |
static const char * | ParseGoogleMockFlagValue (const char *str, const char *flag, bool def_optional) |
static bool | ParseGoogleMockBoolFlag (const char *str, const char *flag, bool *value) |
template<typename String > | |
static bool | ParseGoogleMockStringFlag (const char *str, const char *flag, String *value) |
static bool | ParseGoogleMockIntFlag (const char *str, const char *flag, int32_t *value) |
template<typename CharType > | |
void | InitGoogleMockImpl (int *argc, CharType **argv) |
template<typename T > | |
std::string | StreamableToString (const T &streamable) |
template<typename T > | |
void | UniversalPrint (const T &value,::std::ostream *os) |
GTEST_API_ void | PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count,::std::ostream *os) |
template<typename T > | |
void | PrintWithFallback (const T &value,::std::ostream *os) |
GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char) | |
GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (wchar_t) | |
GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char16_t) | |
GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char32_t) | |
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char,::std::string) | |
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char16_t,::std::u16string) | |
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char32_t,::std::u32string) | |
template<typename T1 , typename T2 > | |
std::string | FormatForComparisonFailureMessage (const T1 &value, const T2 &) |
template<typename T > | |
void | PrintTo (const T &value,::std::ostream *os) |
GTEST_API_ void | PrintTo (unsigned char c,::std::ostream *os) |
GTEST_API_ void | PrintTo (signed char c,::std::ostream *os) |
void | PrintTo (char c,::std::ostream *os) |
void | PrintTo (bool x,::std::ostream *os) |
GTEST_API_ void | PrintTo (wchar_t wc,::std::ostream *os) |
GTEST_API_ void | PrintTo (char32_t c,::std::ostream *os) |
void | PrintTo (char16_t c,::std::ostream *os) |
GTEST_API_ void | PrintTo (const char *s,::std::ostream *os) |
void | PrintTo (char *s,::std::ostream *os) |
void | PrintTo (const signed char *s,::std::ostream *os) |
void | PrintTo (signed char *s,::std::ostream *os) |
void | PrintTo (const unsigned char *s,::std::ostream *os) |
void | PrintTo (unsigned char *s,::std::ostream *os) |
void | PrintTo (const char16_t *s,::std::ostream *os) |
void | PrintTo (char16_t *s,::std::ostream *os) |
void | PrintTo (const char32_t *s,::std::ostream *os) |
void | PrintTo (char32_t *s,::std::ostream *os) |
GTEST_API_ void | PrintTo (const wchar_t *s,::std::ostream *os) |
void | PrintTo (wchar_t *s,::std::ostream *os) |
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 | PrintTo (const ::std::string &s,::std::ostream *os) |
void | PrintTo (std::nullptr_t,::std::ostream *os) |
template<typename T > | |
void | PrintTo (std::reference_wrapper< T > ref,::std::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) |
template<typename... Types> | |
void | PrintTo (const ::std::tuple< Types...> &t,::std::ostream *os) |
template<typename T1 , typename T2 > | |
void | PrintTo (const ::std::pair< T1, T2 > &value,::std::ostream *os) |
template<typename T > | |
void | UniversalPrintArray (const T *begin, size_t len,::std::ostream *os) |
GTEST_API_ void | UniversalPrintArray (const char *begin, size_t len,::std::ostream *os) |
GTEST_API_ void | UniversalPrintArray (const wchar_t *begin, size_t len,::std::ostream *os) |
template<typename T > | |
void | UniversalTersePrint (const T &value,::std::ostream *os) |
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) |
template<typename Tuple > | |
Strings | UniversalTersePrintTupleFieldsToStrings (const Tuple &value) |
template<typename T1 , typename T2 > | |
AssertionResult | CmpHelperEQFailure (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs) |
bool | operator== (faketype, faketype) |
bool | operator!= (faketype, faketype) |
template<typename T1 , typename T2 > | |
AssertionResult | CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs) |
GTEST_API_ AssertionResult | CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, BiggestInt lhs, BiggestInt rhs) |
template<typename T1 , typename T2 > | |
AssertionResult | CmpHelperOpFailure (const char *expr1, const char *expr2, const T1 &val1, const T2 &val2, const char *op) |
GTEST_IMPL_CMP_HELPER_ (NE,!=) | |
GTEST_IMPL_CMP_HELPER_ (LE,<=) | |
GTEST_IMPL_CMP_HELPER_ (LT,<) | |
GTEST_IMPL_CMP_HELPER_ (GE, >=) | |
GTEST_IMPL_CMP_HELPER_ (GT, >) | |
GTEST_API_ AssertionResult | CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
GTEST_API_ AssertionResult | CmpHelperSTRCASEEQ (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 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 wchar_t *s1, const wchar_t *s2) |
GTEST_API_ AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2) |
template<typename RawType > | |
AssertionResult | CmpHelperFloatingPointEQ (const char *lhs_expression, const char *rhs_expression, RawType lhs_value, RawType rhs_value) |
GTEST_API_ AssertionResult | DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error) |
GTEST_DECLARE_string_ (internal_run_death_test) | |
GTEST_API_ std::string | AppendUserMessage (const std::string >est_msg, const Message &user_msg) |
GTEST_API_ std::string | DiffStrings (const std::string &left, const std::string &right, size_t *total_line_count) |
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) |
GTEST_API_ std::string | GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value) |
template<typename T > | |
TypeId | GetTypeId () |
GTEST_API_ TypeId | GetTestTypeId () |
SetUpTearDownSuiteFuncType | GetNotDefaultOrNull (SetUpTearDownSuiteFuncType a, SetUpTearDownSuiteFuncType def) |
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) |
GTEST_API_ bool | SkipPrefix (const char *prefix, const char **pstr) |
GTEST_API_ std::string | GetCurrentOsStackTraceExceptTop (UnitTest *unit_test, int skip_count) |
GTEST_API_ bool | AlwaysTrue () |
bool | AlwaysFalse () |
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) |
template<typename T , typename U > | |
bool | ArrayEq (const T *lhs, size_t size, const U *rhs) |
template<typename T , typename U > | |
bool | ArrayEq (const T &lhs, const U &rhs) |
template<typename T , typename U , size_t N> | |
bool | ArrayEq (const T(&lhs)[N], const U(&rhs)[N]) |
template<typename Iter , typename Element > | |
Iter | ArrayAwareFind (Iter begin, Iter end, const Element &elem) |
template<typename T , typename U > | |
void | CopyArray (const T *from, size_t size, U *to) |
template<typename T , typename U > | |
void | CopyArray (const T &from, U *to) |
template<typename T , typename U , size_t N> | |
void | CopyArray (const T(&from)[N], U(*to)[N]) |
GTEST_INTERNAL_DEPRECATED ("INSTANTIATE_TEST_CASE_P is deprecated, please use ""INSTANTIATE_TEST_SUITE_P") const expr bool InstantiateTestCase_P_IsDeprecated() | |
GTEST_INTERNAL_DEPRECATED ("TYPED_TEST_CASE_P is deprecated, please use ""TYPED_TEST_SUITE_P") const expr bool TypedTestCase_P_IsDeprecated() | |
GTEST_INTERNAL_DEPRECATED ("TYPED_TEST_CASE is deprecated, please use ""TYPED_TEST_SUITE") const expr bool TypedTestCaseIsDeprecated() | |
GTEST_INTERNAL_DEPRECATED ("REGISTER_TYPED_TEST_CASE_P is deprecated, please use ""REGISTER_TYPED_TEST_SUITE_P") const expr bool RegisterTypedTestCase_P_IsDeprecated() | |
GTEST_INTERNAL_DEPRECATED ("INSTANTIATE_TYPED_TEST_CASE_P is deprecated, please use ""INSTANTIATE_TYPED_TEST_SUITE_P") const expr bool InstantiateTypedTestCase_P_IsDeprecated() | |
GTEST_API_ void | ReportInvalidTestSuiteType (const char *test_suite_name, CodeLocation code_location) |
template<class ParamType > | |
std::string | DefaultParamName (const TestParamInfo< ParamType > &info) |
template<typename T = int> | |
void | TestNotEmpty () |
template<typename T = int> | |
void | TestNotEmpty (const T &) |
GTEST_API_ void | InsertSyntheticTestCase (const std::string &name, CodeLocation location, bool has_test_p) |
GTEST_API_ bool | IsTrue (bool condition) |
GTEST_API_::std::string | FormatFileLocation (const char *file, int line) |
GTEST_API_::std::string | FormatCompilerIndependentFileLocation (const char *file, int line) |
void | LogToStderr () |
void | FlushInfoLog () |
template<typename To > | |
To | ImplicitCast_ (To x) |
template<typename To , typename From > | |
To | DownCast_ (From *f) |
template<class Derived , class Base > | |
Derived * | CheckedDowncastToActualType (Base *base) |
GTEST_API_ void | CaptureStdout () |
GTEST_API_ std::string | GetCapturedStdout () |
GTEST_API_ void | CaptureStderr () |
GTEST_API_ std::string | GetCapturedStderr () |
GTEST_API_ size_t | GetFileSize (FILE *file) |
GTEST_API_ std::string | ReadEntireFile (FILE *file) |
GTEST_API_ std::vector < std::string > | GetArgvs () |
GTEST_API_ size_t | GetThreadCount () |
bool | IsAlpha (char ch) |
bool | IsAlNum (char ch) |
bool | IsDigit (char ch) |
bool | IsLower (char ch) |
bool | IsSpace (char ch) |
bool | IsUpper (char ch) |
bool | IsXDigit (char ch) |
bool | IsXDigit (wchar_t ch) |
char | ToLower (char ch) |
char | ToUpper (char ch) |
std::string | StripTrailingSpaces (std::string str) |
GTEST_API_ bool | ParseInt32 (const Message &src_text, const char *str, int32_t *value) |
bool | BoolFromGTestEnv (const char *flag, bool default_val) |
GTEST_API_ int32_t | Int32FromGTestEnv (const char *flag, int32_t default_val) |
std::string | OutputFlagAlsoCheckEnvVar () |
const char * | StringFromGTestEnv (const char *flag, const char *default_val) |
GTEST_API_ std::string | StringStreamToString (::std::stringstream *stream) |
std::string | CanonicalizeForStdLibVersioning (std::string s) |
template<typename T > | |
std::string | GetTypeName () |
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.") | |
static bool | IsPathSeparator (char c) |
static std::string | FlagToEnvVar (const char *flag) |
void | PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count, ostream *os) |
bool | IsPrintableAscii (wchar_t c) |
template<typename UnsignedChar , typename Char > | |
static CharFormat | PrintAsCharLiteralTo (Char c, ostream *os) |
static CharFormat | PrintAsStringLiteralTo (wchar_t c, ostream *os) |
static CharFormat | PrintAsStringLiteralTo (char c, ostream *os) |
template<typename UnsignedChar , typename Char > | |
void | PrintCharAndCodeTo (Char c, ostream *os) |
void | PrintTo (wchar_t wc, ostream *os) |
template<typename CharType > | |
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ CharFormat | PrintCharsAsStringTo (const CharType *begin, size_t len, ostream *os) |
template<typename CharType > | |
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_ GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_ GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_ static GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_ void | UniversalPrintCharArray (const CharType *begin, size_t len, ostream *os) |
void | UniversalPrintArray (const char *begin, size_t len, ostream *os) |
void | UniversalPrintArray (const wchar_t *begin, size_t len, ostream *os) |
void | PrintTo (const char *s, ostream *os) |
void | PrintTo (const wchar_t *s, ostream *os) |
void | PrintStringTo (const ::std::string &s, ostream *os) |
static FILE * | OpenFileForWriting (const std::string &output_file) |
static bool | GTestIsInitialized () |
static int | SumOverTestSuiteList (const std::vector< TestSuite * > &case_list, int(TestSuite::*method)() const) |
static bool | TestSuitePassed (const TestSuite *test_suite) |
static bool | TestSuiteFailed (const TestSuite *test_suite) |
static bool | ShouldRunTestSuite (const TestSuite *test_suite) |
std::set< std::string > * | GetIgnoredParameterizedTestSuites () |
void | RegisterTypeParameterizedTestSuite (const char *test_suite_name, CodeLocation code_location) |
void | RegisterTypeParameterizedTestSuiteInstantiation (const char *case_name) |
FilePath | GetCurrentExecutableName () |
static AssertionResult | HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const std::string &substr) |
TimeInMillis | GetTimeInMillis () |
void | SplitString (const ::std::string &str, char delimiter,::std::vector< ::std::string > *dest) |
template<typename RawType > | |
AssertionResult | FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2) |
uint32_t | ChopLowBits (uint32_t *bits, int n) |
std::string | CodePointToUtf8 (uint32_t code_point) |
bool | IsUtf16SurrogatePair (wchar_t first, wchar_t second) |
uint32_t | CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second) |
std::string | WideStringToUtf8 (const wchar_t *str, int num_chars) |
void | ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message) |
template<class T , typename Result > | |
Result | HandleSehExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location) |
template<class T , typename Result > | |
Result | HandleExceptionsInMethodIfSupported (T *object, Result(T::*method)(), const char *location) |
static std::string | PrintTestPartResultToString (const TestPartResult &test_part_result) |
static void | PrintTestPartResult (const TestPartResult &test_part_result) |
static const char * | GetAnsiColorCode (GTestColor color) |
bool | ShouldUseColor (bool stdout_is_tty) |
void | ColoredPrintf (GTestColor color, const char *fmt,...) |
static void | PrintFullTestCommentIfPresent (const TestInfo &test_info) |
std::string | FormatTimeInMillisAsSeconds (TimeInMillis ms) |
static bool | PortableLocaltime (time_t seconds, struct tm *out) |
std::string | FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms) |
static std::string | FormatTimeInMillisAsDuration (TimeInMillis ms) |
static std::string | FormatEpochTimeInMillisAsRFC3339 (TimeInMillis ms) |
static std::string | Indent (size_t width) |
static void | SetUpEnvironment (Environment *env) |
static void | TearDownEnvironment (Environment *env) |
void | WriteToShardStatusFileIfNeeded () |
bool | ShouldShard (const char *total_shards_env, const char *shard_index_env, bool in_subprocess_for_death_test) |
int32_t | Int32FromEnvOrDie (const char *var, int32_t default_val) |
bool | ShouldRunTestOnShard (int total_shards, int shard_index, int test_id) |
static void | PrintOnOneLine (const char *str, int max_length) |
static const char * | ParseFlagValue (const char *str, const char *flag, bool def_optional) |
static bool | ParseBoolFlag (const char *str, const char *flag, bool *value) |
bool | ParseInt32Flag (const char *str, const char *flag, int32_t *value) |
template<typename String > | |
static bool | ParseStringFlag (const char *str, const char *flag, String *value) |
static bool | HasGoogleTestFlagPrefix (const char *str) |
static void | PrintColorEncoded (const char *str) |
static bool | ParseGoogleTestFlag (const char *const arg) |
template<typename CharType > | |
void | ParseGoogleTestFlagsOnlyImpl (int *argc, CharType **argv) |
void | ParseGoogleTestFlagsOnly (int *argc, char **argv) |
void | ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv) |
template<typename CharType > | |
void | InitGoogleTestImpl (int *argc, CharType **argv) |
TEST_F (ListenerTest, DoesFoo) | |
TEST_F (ListenerTest, DoesBar) | |
TEST (IsXDigitTest, WorksForNarrowAscii) | |
TEST (IsXDigitTest, ReturnsFalseForNarrowNonAscii) | |
TEST (IsXDigitTest, WorksForWideAscii) | |
TEST (IsXDigitTest, ReturnsFalseForWideNonAscii) | |
TEST (ImplicitCastTest, ConvertsPointers) | |
TEST (ImplicitCastTest, CanUseInheritance) | |
TEST (ImplicitCastTest, CanUseNonConstCastOperator) | |
TEST (ImplicitCastTest, CanUseConstCastOperatorOnConstValues) | |
TEST (ImplicitCastTest, CanSelectBetweenConstAndNonConstCasrAppropriately) | |
TEST (ImplicitCastTest, CanUseImplicitConstructor) | |
TEST (GtestCheckSyntaxTest, BehavesLikeASingleStatement) | |
TEST (GtestCheckSyntaxTest, WorksWithSwitch) | |
TEST (FormatFileLocationTest, FormatsFileLocation) | |
TEST (FormatFileLocationTest, FormatsUnknownFile) | |
TEST (FormatFileLocationTest, FormatsUknownLine) | |
TEST (FormatFileLocationTest, FormatsUknownFileAndLine) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsFileLocation) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFile) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownLine) | |
TEST (FormatCompilerIndependentFileLocationTest, FormatsUknownFileAndLine) | |
TEST (GetThreadCountTest, ReturnsZeroWhenUnableToCountThreads) | |
TEST (GtestCheckDeathTest, DiesWithCorrectOutputOnFailure) | |
TEST (RegexEngineSelectionTest, SelectsCorrectRegexEngine) | |
TEST (CaptureTest, CapturesStdout) | |
TEST (CaptureTest, CapturesStderr) | |
TEST (CaptureTest, CapturesStdoutAndStderr) | |
TEST (CaptureDeathTest, CannotReenterStdoutCapture) | |
TEST (ThreadLocalTest, DefaultConstructorInitializesToDefaultValues) | |
TEST (ThreadLocalTest, SingleParamConstructorInitializesToParam) | |
TEST (ThreadLocalTest, ValueDefaultContructorIsNotRequiredForParamVersion) | |
TEST (ThreadLocalTest, GetAndPointerReturnSameValue) | |
TEST (ThreadLocalTest, PointerAndConstPointerReturnSameValue) | |
TEST (ApiTest, UnitTestImmutableAccessorsWork) | |
AssertionResult | IsNull (const char *str) |
TEST (ApiTest, TestSuiteImmutableAccessorsWork) | |
TEST (ApiTest, TestSuiteDisabledAccessorsWork) | |
TEST (ApiTest, DISABLED_Dummy1) | |
TEST (DISABLED_Test, Dummy2) | |
Variables | |
const char | kInfoVerbosity [] = "info" |
const char | kWarningVerbosity [] = "warning" |
const char | kErrorVerbosity [] = "error" |
GTEST_API_ ThreadLocal < Sequence * > | g_gmock_implicit_sequence |
const char | kDeathTestStyleFlag [] = "death_test_style" |
const char | kDeathTestUseFork [] = "death_test_use_fork" |
const char | kInternalRunDeathTestFlag [] = "internal_run_death_test" |
GTEST_API_ const char | kStackTraceMarker [] = "\nStack trace:\n" |
constexpr BiggestInt | kMaxBiggestInt = (std::numeric_limits<BiggestInt>::max)() |
const char | kPathSeparator = '/' |
const char | kCurrentDirectoryString [] = "./" |
const int | kStdOutFileno = STDOUT_FILENO |
const int | kStdErrFileno = STDERR_FILENO |
const char | kUnknownFile [] = "unknown file" |
bool | g_help_flag = false |
static::std::vector< std::string > | g_argvs |
const TypeId | kTestTypeIdInGoogleTest = GetTestTypeId() |
constexpr uint32_t | kMaxCodePoint1 = (static_cast<uint32_t>(1) << 7) - 1 |
constexpr uint32_t | kMaxCodePoint2 = (static_cast<uint32_t>(1) << (5 + 6)) - 1 |
constexpr uint32_t | kMaxCodePoint3 = (static_cast<uint32_t>(1) << (4 + 2*6)) - 1 |
constexpr uint32_t | kMaxCodePoint4 = (static_cast<uint32_t>(1) << (3 + 3*6)) - 1 |
static const char | kTypeParamLabel [] = "TypeParam" |
static const char | kValueParamLabel [] = "GetParam()" |
static const char | kColorEncodedHelpMessage [] |
const int | kTypedTestSuites = 0 |
const int | kTypedTests = 0 |
using testing::internal::disjunction = typedef typename ::std::conditional<P::value, P, Q>::type |
Definition at line 269 of file gmock-actions.h.
using testing::internal::identity_t = typedef T |
Definition at line 49 of file gmock-function-mocker.h.
using testing::internal::LosslessArithmeticConvertibleImpl = typedef std::integral_constant< bool, (kFromKind == kBool) ? true : (kFromKind != kToKind) ? false : (kFromKind == kInteger && (((sizeof(From) < sizeof(To)) && !(std::is_signed<From>::value && !std::is_signed<To>::value)) || ((sizeof(From) == sizeof(To)) && (std::is_signed<From>::value == std::is_signed<To>::value))) ) ? true : (kFromKind == kFloatingPoint && (sizeof(From) <= sizeof(To))) ? true : false > |
Definition at line 191 of file gmock-internal-utils.h.
using testing::internal::LosslessArithmeticConvertible = typedef LosslessArithmeticConvertibleImpl<GMOCK_KIND_OF_(From), From, GMOCK_KIND_OF_(To), To> |
Definition at line 203 of file gmock-internal-utils.h.
typedef ::std::vector< ::std::string> testing::internal::Strings |
Definition at line 868 of file gtest-printers.h.
typedef FloatingPoint<float> testing::internal::Float |
Definition at line 408 of file gtest-internal.h.
typedef FloatingPoint<double> testing::internal::Double |
Definition at line 409 of file gtest-internal.h.
typedef const void* testing::internal::TypeId |
Definition at line 417 of file gtest-internal.h.
using testing::internal::SetUpTestSuiteFunc = typedef void (*)( |
Definition at line 489 of file gtest-internal.h.
using testing::internal::TearDownTestSuiteFunc = typedef void (*)( |
Definition at line 490 of file gtest-internal.h.
using testing::internal::SetUpTearDownSuiteFuncType = typedef void (*)( |
Definition at line 504 of file gtest-internal.h.
typedef int testing::internal::IsContainer |
Definition at line 913 of file gtest-internal.h.
typedef char testing::internal::IsNotContainer |
Definition at line 924 of file gtest-internal.h.
using testing::internal::ParameterizedTestCaseInfo = typedef ParameterizedTestSuiteInfo<TestCase> |
Definition at line 675 of file gtest-param-util.h.
Definition at line 1882 of file gtest-port.h.
using testing::internal::BiggestInt = typedef long long |
Definition at line 2133 of file gtest-port.h.
using testing::internal::TimeInMillis = typedef int64_t |
Definition at line 2181 of file gtest-port.h.
Enumerator | |
---|---|
kBool | |
kInteger | |
kFloatingPoint | |
kOther |
Definition at line 114 of file gmock-internal-utils.h.
Enumerator | |
---|---|
kInfo | |
kWarning |
Definition at line 254 of file gmock-internal-utils.h.
Enumerator | |
---|---|
GTEST_INFO | |
GTEST_WARNING | |
GTEST_ERROR | |
GTEST_FATAL |
Definition at line 953 of file gtest-port.h.
Enumerator | |
---|---|
kAsIs | |
kHexEscape | |
kSpecialEscape |
Definition at line 125 of file gtest-printers.cc.
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | void | ) |
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_ | ( | unsigned | char, |
'\0' | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | signed | char, |
'\0' | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | char | , |
'\0' | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | unsigned | short, |
0U | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | signed | short, |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | unsigned | long, |
0UL | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | signed | long, |
0L | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | unsigned long | long, |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | signed long | long, |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | float | , |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | double | , |
0 | |||
) |
const MockType* testing::internal::AdjustConstness_const | ( | const MockType * | mock | ) |
Definition at line 52 of file gmock-function-mocker.h.
MockType* testing::internal::AdjustConstness_ | ( | const MockType * | mock | ) |
Definition at line 57 of file gmock-function-mocker.h.
|
inline |
Definition at line 53 of file gmock-more-actions.h.
GTEST_API_ std::string testing::internal::JoinAsTuple | ( | const Strings & | fields | ) |
Definition at line 51 of file gmock-internal-utils.cc.
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 92 of file gmock-internal-utils.h.
|
inline |
Definition at line 97 of file gmock-internal-utils.h.
testing::internal::GMOCK_DECLARE_KIND_ | ( | bool | , |
kBool | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | char | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | signed | char, |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | unsigned | char, |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | short | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | int | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | long | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | unsigned long | long, |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | wchar_t | , |
kInteger | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | float | , |
kFloatingPoint | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | double | , |
kFloatingPoint | |||
) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | long | double, |
kFloatingPoint | |||
) |
GTEST_API_ FailureReporterInterface * testing::internal::GetFailureReporter | ( | ) |
Definition at line 112 of file gmock-internal-utils.cc.
|
inline |
Definition at line 229 of file gmock-internal-utils.h.
|
inline |
Definition at line 236 of file gmock-internal-utils.h.
|
inline |
Definition at line 242 of file gmock-internal-utils.h.
|
inline |
Definition at line 249 of file gmock-internal-utils.h.
GTEST_API_ bool testing::internal::LogIsVisible | ( | LogSeverity | severity | ) |
Definition at line 128 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.
GTEST_API_ WithoutMatchers testing::internal::GetWithoutMatchers | ( | ) |
Definition at line 187 of file gmock-internal-utils.cc.
|
inline |
Definition at line 310 of file gmock-internal-utils.h.
GTEST_API_ void testing::internal::IllegalDoDefault | ( | const char * | file, |
int | line | ||
) |
Definition at line 189 of file gmock-internal-utils.cc.
auto testing::internal::ApplyImpl | ( | F && | f, |
Tuple && | args, | ||
IndexSequence< Idx...> | |||
) | -> decltype( std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...)) |
Definition at line 418 of file gmock-internal-utils.h.
auto testing::internal::Apply | ( | F && | f, |
Tuple && | args | ||
) | -> decltype( ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args), MakeIndexSequence<std::tuple_size< typename std::remove_reference<Tuple>::type>::value>())) |
Definition at line 425 of file gmock-internal-utils.h.
|
static |
GTEST_API_ std::string testing::internal::FormatMatcherDescription | ( | bool | negation, |
const char * | matcher_name, | ||
const Strings & | param_values | ||
) |
Definition at line 51 of file gmock-matchers.cc.
GTEST_API_ ElementMatcherPairs testing::internal::FindMaxBipartiteMatching | ( | const MatchMatrix & | g | ) |
Definition at line 225 of file gmock-matchers.cc.
|
static |
Definition at line 229 of file gmock-matchers.cc.
GTEST_API_ testing::internal::GTEST_DEFINE_STATIC_MUTEX_ | ( | g_gmock_mutex | ) |
GTEST_API_ void testing::internal::LogWithLocation | ( | testing::internal::LogSeverity | severity, |
const char * | file, | ||
int | line, | ||
const std::string & | message | ||
) |
Definition at line 72 of file gmock-spec-builders.cc.
void testing::internal::ReportUninterestingCall | ( | CallReaction | reaction, |
const std::string & | msg | ||
) |
Definition at line 283 of file gmock-spec-builders.cc.
CallReaction testing::internal::intToCallReaction | ( | int | mock_behavior | ) |
Definition at line 554 of file gmock-spec-builders.cc.
|
static |
|
static |
|
static |
|
static |
void testing::internal::InitGoogleMockImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
std::string testing::internal::StreamableToString | ( | const T & | streamable | ) |
Definition at line 210 of file gtest-message.h.
void testing::internal::UniversalPrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
Definition at line 861 of file gtest-printers.h.
GTEST_API_ void testing::internal::PrintBytesInObjectTo | ( | const unsigned char * | obj_bytes, |
size_t | count, | ||
::std::ostream * | os | ||
) |
void testing::internal::PrintWithFallback | ( | const T & | value, |
::std::ostream * | os | ||
) |
Definition at line 307 of file gtest-printers.h.
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_POINTER_ | ( | char16_t | ) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ | ( | char32_t | ) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ | ( | char | , |
::std::string | |||
) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ | ( | char16_t | , |
::std::u16string | |||
) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ | ( | char32_t | , |
::std::u32string | |||
) |
std::string testing::internal::FormatForComparisonFailureMessage | ( | const T1 & | value, |
const T2 & | |||
) |
Definition at line 413 of file gtest-printers.h.
Definition at line 440 of file gtest-printers.h.
void testing::internal::PrintTo | ( | unsigned char | c, |
::std::ostream * | os | ||
) |
Definition at line 242 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | signed char | c, |
::std::ostream * | os | ||
) |
Definition at line 245 of file gtest-printers.cc.
|
inline |
Definition at line 451 of file gtest-printers.h.
|
inline |
Definition at line 459 of file gtest-printers.h.
GTEST_API_ void testing::internal::PrintTo | ( | wchar_t | wc, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | char32_t | c, |
::std::ostream * | os | ||
) |
Definition at line 255 of file gtest-printers.cc.
|
inline |
Definition at line 473 of file gtest-printers.h.
GTEST_API_ void testing::internal::PrintTo | ( | const char * | s, |
::std::ostream * | os | ||
) |
|
inline |
Definition at line 484 of file gtest-printers.h.
|
inline |
Definition at line 490 of file gtest-printers.h.
|
inline |
Definition at line 493 of file gtest-printers.h.
|
inline |
Definition at line 496 of file gtest-printers.h.
|
inline |
Definition at line 499 of file gtest-printers.h.
|
inline |
Definition at line 510 of file gtest-printers.h.
|
inline |
Definition at line 513 of file gtest-printers.h.
|
inline |
Definition at line 516 of file gtest-printers.h.
|
inline |
Definition at line 519 of file gtest-printers.h.
GTEST_API_ void testing::internal::PrintTo | ( | const wchar_t * | s, |
::std::ostream * | os | ||
) |
|
inline |
Definition at line 531 of file gtest-printers.h.
void testing::internal::PrintRawArrayTo | ( | const T | a[], |
size_t | count, | ||
::std::ostream * | os | ||
) |
Definition at line 542 of file gtest-printers.h.
GTEST_API_ void testing::internal::PrintStringTo | ( | const ::std::string & | s, |
::std::ostream * | os | ||
) |
|
inline |
Definition at line 552 of file gtest-printers.h.
|
inline |
Definition at line 571 of file gtest-printers.h.
void testing::internal::PrintTo | ( | std::reference_wrapper< T > | ref, |
::std::ostream * | os | ||
) |
Definition at line 574 of file gtest-printers.h.
void testing::internal::PrintTupleTo | ( | const T & | , |
std::integral_constant< size_t, 0 > | , | ||
::std::ostream * | |||
) |
Definition at line 581 of file gtest-printers.h.
void testing::internal::PrintTupleTo | ( | const T & | t, |
std::integral_constant< size_t, I > | , | ||
::std::ostream * | os | ||
) |
Definition at line 585 of file gtest-printers.h.
void testing::internal::PrintTo | ( | const ::std::tuple< Types...> & | t, |
::std::ostream * | os | ||
) |
Definition at line 598 of file gtest-printers.h.
void testing::internal::PrintTo | ( | const ::std::pair< T1, T2 > & | value, |
::std::ostream * | os | ||
) |
Definition at line 606 of file gtest-printers.h.
void testing::internal::UniversalPrintArray | ( | const T * | begin, |
size_t | len, | ||
::std::ostream * | os | ||
) |
Definition at line 726 of file gtest-printers.h.
GTEST_API_ void testing::internal::UniversalPrintArray | ( | const char * | 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::UniversalTersePrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
Definition at line 852 of file gtest-printers.h.
void testing::internal::TersePrintPrefixToStrings | ( | const Tuple & | , |
std::integral_constant< size_t, 0 > | , | ||
Strings * | |||
) |
Definition at line 873 of file gtest-printers.h.
void testing::internal::TersePrintPrefixToStrings | ( | const Tuple & | t, |
std::integral_constant< size_t, I > | , | ||
Strings * | strings | ||
) |
Definition at line 876 of file gtest-printers.h.
Strings testing::internal::UniversalTersePrintTupleFieldsToStrings | ( | const Tuple & | value | ) |
Definition at line 890 of file gtest-printers.h.
|
inline |
|
inline |
AssertionResult testing::internal::CmpHelperEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
BiggestInt | lhs, | ||
BiggestInt | rhs | ||
) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | NE | , |
! | |||
) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | LE | , |
<= | |||
) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | LT | ) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | GE | , |
>= | |||
) |
testing::internal::GTEST_IMPL_CMP_HELPER_ | ( | GT | ) |
AssertionResult testing::internal::CmpHelperSTREQ | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
AssertionResult testing::internal::CmpHelperSTRCASEEQ | ( | 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 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 wchar_t * | s1, | ||
const wchar_t * | s2 | ||
) |
AssertionResult testing::internal::CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const wchar_t * | s1, | ||
const wchar_t * | s2 | ||
) |
AssertionResult testing::internal::CmpHelperFloatingPointEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
RawType | lhs_value, | ||
RawType | rhs_value | ||
) |
AssertionResult testing::internal::DoubleNearPredFormat | ( | const char * | expr1, |
const char * | expr2, | ||
const char * | abs_error_expr, | ||
double | val1, | ||
double | val2, | ||
double | abs_error | ||
) |
testing::internal::GTEST_DECLARE_string_ | ( | internal_run_death_test | ) |
std::string testing::internal::AppendUserMessage | ( | const std::string & | gtest_msg, |
const Message & | user_msg | ||
) |
GTEST_API_ std::string testing::internal::DiffStrings | ( | const std::string & | left, |
const std::string & | right, | ||
size_t * | total_line_count | ||
) |
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 | ||
) |
std::string testing::internal::GetBoolAssertionFailureMessage | ( | const AssertionResult & | assertion_result, |
const char * | expression_text, | ||
const char * | actual_predicate_value, | ||
const char * | expected_predicate_value | ||
) |
TypeId testing::internal::GetTypeId | ( | ) |
Definition at line 435 of file gtest-internal.h.
|
inline |
Definition at line 506 of file gtest-internal.h.
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 | ||
) |
bool testing::internal::SkipPrefix | ( | const char * | prefix, |
const char ** | pstr | ||
) |
std::string testing::internal::GetCurrentOsStackTraceExceptTop | ( | UnitTest * | unit_test, |
int | skip_count | ||
) |
|
inline |
Definition at line 836 of file gtest-internal.h.
IsContainer testing::internal::IsContainerTest | ( | int | ) |
Definition at line 920 of file gtest-internal.h.
IsNotContainer testing::internal::IsContainerTest | ( | long | ) |
Definition at line 926 of file gtest-internal.h.
bool testing::internal::ArrayEq | ( | const T * | lhs, |
size_t | size, | ||
const U * | rhs | ||
) |
Definition at line 1001 of file gtest-internal.h.
|
inline |
Definition at line 989 of file gtest-internal.h.
|
inline |
Definition at line 993 of file gtest-internal.h.
Iter testing::internal::ArrayAwareFind | ( | Iter | begin, |
Iter | end, | ||
const Element & | elem | ||
) |
Definition at line 1012 of file gtest-internal.h.
void testing::internal::CopyArray | ( | const T * | from, |
size_t | size, | ||
U * | to | ||
) |
Definition at line 1041 of file gtest-internal.h.
|
inline |
Definition at line 1029 of file gtest-internal.h.
|
inline |
Definition at line 1033 of file gtest-internal.h.
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "INSTANTIATE_TEST_CASE_P is | deprecated, |
please use" "INSTANTIATE_TEST_SUITE_P" | |||
) | const |
Definition at line 1236 of file gtest-internal.h.
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "TYPED_TEST_CASE_P is | deprecated, |
please use" "TYPED_TEST_SUITE_P" | |||
) | const |
Definition at line 1241 of file gtest-internal.h.
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "TYPED_TEST_CASE is | deprecated, |
please use" "TYPED_TEST_SUITE" | |||
) | const |
Definition at line 1246 of file gtest-internal.h.
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "REGISTER_TYPED_TEST_CASE_P is | deprecated, |
please use" "REGISTER_TYPED_TEST_SUITE_P" | |||
) | const |
Definition at line 1251 of file gtest-internal.h.
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "INSTANTIATE_TYPED_TEST_CASE_P is | deprecated, |
please use" "INSTANTIATE_TYPED_TEST_SUITE_P" | |||
) | const |
Definition at line 1256 of file gtest-internal.h.
void testing::internal::ReportInvalidTestSuiteType | ( | const char * | test_suite_name, |
CodeLocation | code_location | ||
) |
std::string testing::internal::DefaultParamName | ( | const TestParamInfo< ParamType > & | info | ) |
Definition at line 376 of file gtest-param-util.h.
void testing::internal::TestNotEmpty | ( | ) |
Definition at line 383 of file gtest-param-util.h.
Definition at line 387 of file gtest-param-util.h.
void testing::internal::InsertSyntheticTestCase | ( | const std::string & | name, |
CodeLocation | location, | ||
bool | has_test_p | ||
) |
GTEST_API_::std::string testing::internal::FormatFileLocation | ( | const char * | file, |
int | line | ||
) |
Definition at line 1023 of file gtest-port.cc.
GTEST_API_::std::string testing::internal::FormatCompilerIndependentFileLocation | ( | const char * | file, |
int | line | ||
) |
Definition at line 1041 of file gtest-port.cc.
|
inline |
Definition at line 984 of file gtest-port.h.
|
inline |
Definition at line 985 of file gtest-port.h.
|
inline |
Definition at line 1063 of file gtest-port.h.
|
inline |
Definition at line 1087 of file gtest-port.h.
Derived* testing::internal::CheckedDowncastToActualType | ( | Base * | base | ) |
Definition at line 1112 of file gtest-port.h.
GTEST_API_ void testing::internal::CaptureStdout | ( | ) |
GTEST_API_ std::string testing::internal::GetCapturedStdout | ( | ) |
GTEST_API_ void testing::internal::CaptureStderr | ( | ) |
GTEST_API_ std::string testing::internal::GetCapturedStderr | ( | ) |
size_t testing::internal::GetFileSize | ( | FILE * | file | ) |
Definition at line 1213 of file gtest-port.cc.
std::string testing::internal::ReadEntireFile | ( | FILE * | file | ) |
Definition at line 1218 of file gtest-port.cc.
size_t testing::internal::GetThreadCount | ( | ) |
Definition at line 273 of file gtest-port.cc.
|
inline |
Definition at line 1918 of file gtest-port.h.
|
inline |
Definition at line 1921 of file gtest-port.h.
|
inline |
Definition at line 1924 of file gtest-port.h.
|
inline |
Definition at line 1927 of file gtest-port.h.
|
inline |
Definition at line 1930 of file gtest-port.h.
|
inline |
Definition at line 1933 of file gtest-port.h.
|
inline |
Definition at line 1936 of file gtest-port.h.
|
inline |
Definition at line 1939 of file gtest-port.h.
|
inline |
Definition at line 1944 of file gtest-port.h.
|
inline |
Definition at line 1947 of file gtest-port.h.
|
inline |
Definition at line 1951 of file gtest-port.h.
bool testing::internal::ParseInt32 | ( | const Message & | src_text, |
const char * | str, | ||
int32_t * | value | ||
) |
Definition at line 1294 of file gtest-port.cc.
bool testing::internal::BoolFromGTestEnv | ( | const char * | flag, |
bool | default_val | ||
) |
Definition at line 1336 of file gtest-port.cc.
int32_t testing::internal::Int32FromGTestEnv | ( | const char * | flag, |
int32_t | default_val | ||
) |
Definition at line 1350 of file gtest-port.cc.
std::string testing::internal::OutputFlagAlsoCheckEnvVar | ( | ) |
Definition at line 1382 of file gtest-port.cc.
const char * testing::internal::StringFromGTestEnv | ( | const char * | flag, |
const char * | default_val | ||
) |
Definition at line 1393 of file gtest-port.cc.
std::string testing::internal::StringStreamToString | ( | ::std::stringstream * | stream | ) |
|
inline |
Definition at line 55 of file gtest-type-util.h.
std::string testing::internal::GetTypeName | ( | ) |
Definition at line 93 of file gtest-type-util.h.
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." | |||
) |
|
static |
Definition at line 85 of file gtest-filepath.cc.
|
static |
Definition at line 1279 of file gtest-port.cc.
void testing::internal::PrintBytesInObjectTo | ( | const unsigned char * | obj_bytes, |
size_t | count, | ||
ostream * | os | ||
) |
Definition at line 115 of file gtest-printers.cc.
|
inline |
Definition at line 134 of file gtest-printers.cc.
|
static |
Definition at line 143 of file gtest-printers.cc.
|
static |
Definition at line 193 of file gtest-printers.cc.
|
static |
Definition at line 208 of file gtest-printers.cc.
void testing::internal::PrintCharAndCodeTo | ( | Char | c, |
ostream * | os | ||
) |
Definition at line 218 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | wchar_t | wc, |
ostream * | os | ||
) |
Definition at line 251 of file gtest-printers.cc.
|
static |
Definition at line 269 of file gtest-printers.cc.
|
static |
Definition at line 300 of file gtest-printers.cc.
void testing::internal::UniversalPrintArray | ( | const char * | begin, |
size_t | len, | ||
ostream * | os | ||
) |
Definition at line 323 of file gtest-printers.cc.
void testing::internal::UniversalPrintArray | ( | const wchar_t * | begin, |
size_t | len, | ||
ostream * | os | ||
) |
Definition at line 329 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | const char * | s, |
ostream * | os | ||
) |
Definition at line 334 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | const wchar_t * | s, |
ostream * | os | ||
) |
Definition at line 351 of file gtest-printers.cc.
void testing::internal::PrintStringTo | ( | const ::std::string & | s, |
ostream * | os | ||
) |
Definition at line 428 of file gtest-printers.cc.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
std::set<std::string>* testing::internal::GetIgnoredParameterizedTestSuites | ( | ) |
void testing::internal::RegisterTypeParameterizedTestSuite | ( | const char * | test_suite_name, |
CodeLocation | code_location | ||
) |
void testing::internal::RegisterTypeParameterizedTestSuiteInstantiation | ( | const char * | case_name | ) |
|
static |
TimeInMillis testing::internal::GetTimeInMillis | ( | ) |
void testing::internal::SplitString | ( | const ::std::string & | str, |
char | delimiter, | ||
::std::vector< ::std::string > * | dest | ||
) |
AssertionResult testing::internal::FloatingPointLE | ( | const char * | expr1, |
const char * | expr2, | ||
RawType | val1, | ||
RawType | val2 | ||
) |
|
inline |
std::string testing::internal::CodePointToUtf8 | ( | uint32_t | code_point | ) |
|
inline |
|
inline |
std::string testing::internal::WideStringToUtf8 | ( | const wchar_t * | str, |
int | num_chars | ||
) |
void testing::internal::ReportFailureInUnknownLocation | ( | TestPartResult::Type | result_type, |
const std::string & | message | ||
) |
Result testing::internal::HandleSehExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
Result testing::internal::HandleExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
|
static |
|
static |
|
static |
bool testing::internal::ShouldUseColor | ( | bool | stdout_is_tty | ) |
void testing::internal::ColoredPrintf | ( | GTestColor | color, |
const char * | fmt, | ||
... | |||
) |
|
static |
std::string testing::internal::FormatTimeInMillisAsSeconds | ( | TimeInMillis | ms | ) |
|
static |
std::string testing::internal::FormatEpochTimeInMillisAsIso8601 | ( | TimeInMillis | ms | ) |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
void testing::internal::WriteToShardStatusFileIfNeeded | ( | ) |
bool testing::internal::ShouldShard | ( | const char * | total_shards_env, |
const char * | shard_index_env, | ||
bool | in_subprocess_for_death_test | ||
) |
int32_t testing::internal::Int32FromEnvOrDie | ( | const char * | var, |
int32_t | default_val | ||
) |
bool testing::internal::ShouldRunTestOnShard | ( | int | total_shards, |
int | shard_index, | ||
int | test_id | ||
) |
|
static |
|
static |
|
static |
bool testing::internal::ParseInt32Flag | ( | const char * | str, |
const char * | flag, | ||
int32_t * | value | ||
) |
|
static |
|
static |
|
static |
|
static |
void testing::internal::ParseGoogleTestFlagsOnlyImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
void testing::internal::ParseGoogleTestFlagsOnly | ( | int * | argc, |
char ** | argv | ||
) |
void testing::internal::ParseGoogleTestFlagsOnly | ( | int * | argc, |
wchar_t ** | argv | ||
) |
void testing::internal::InitGoogleTestImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
testing::internal::TEST_F | ( | ListenerTest | , |
DoesFoo | |||
) |
Definition at line 226 of file googletest-listener-test.cc.
testing::internal::TEST_F | ( | ListenerTest | , |
DoesBar | |||
) |
Definition at line 233 of file googletest-listener-test.cc.
testing::internal::TEST | ( | IsXDigitTest | , |
WorksForNarrowAscii | |||
) |
Definition at line 54 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 | , |
WorksForWideAscii | |||
) |
Definition at line 72 of file googletest-port-test.cc.
testing::internal::TEST | ( | IsXDigitTest | , |
ReturnsFalseForWideNonAscii | |||
) |
Definition at line 85 of file googletest-port-test.cc.
testing::internal::TEST | ( | ImplicitCastTest | , |
ConvertsPointers | |||
) |
Definition at line 109 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 | , |
CanUseConstCastOperatorOnConstValues | |||
) |
Definition at line 151 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 | , |
CanUseImplicitConstructor | |||
) |
Definition at line 197 of file googletest-port-test.cc.
testing::internal::TEST | ( | GtestCheckSyntaxTest | , |
BehavesLikeASingleStatement | |||
) |
Definition at line 204 of file googletest-port-test.cc.
testing::internal::TEST | ( | GtestCheckSyntaxTest | , |
WorksWithSwitch | |||
) |
Definition at line 220 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsFileLocation | |||
) |
Definition at line 234 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUnknownFile | |||
) |
Definition at line 239 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUknownLine | |||
) |
Definition at line 245 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUknownFileAndLine | |||
) |
Definition at line 249 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsFileLocation | |||
) |
Definition at line 254 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownFile | |||
) |
Definition at line 258 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownLine | |||
) |
Definition at line 263 of file googletest-port-test.cc.
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownFileAndLine | |||
) |
Definition at line 267 of file googletest-port-test.cc.
testing::internal::TEST | ( | GetThreadCountTest | , |
ReturnsZeroWhenUnableToCountThreads | |||
) |
Definition at line 314 of file googletest-port-test.cc.
testing::internal::TEST | ( | GtestCheckDeathTest | , |
DiesWithCorrectOutputOnFailure | |||
) |
Definition at line 319 of file googletest-port-test.cc.
testing::internal::TEST | ( | RegexEngineSelectionTest | , |
SelectsCorrectRegexEngine | |||
) |
Definition at line 350 of file googletest-port-test.cc.
testing::internal::TEST | ( | CaptureTest | , |
CapturesStdout | |||
) |
Definition at line 893 of file googletest-port-test.cc.
testing::internal::TEST | ( | CaptureTest | , |
CapturesStderr | |||
) |
Definition at line 903 of file googletest-port-test.cc.
testing::internal::TEST | ( | CaptureTest | , |
CapturesStdoutAndStderr | |||
) |
Definition at line 914 of file googletest-port-test.cc.
testing::internal::TEST | ( | CaptureDeathTest | , |
CannotReenterStdoutCapture | |||
) |
Definition at line 923 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
DefaultConstructorInitializesToDefaultValues | |||
) |
Definition at line 935 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
SingleParamConstructorInitializesToParam | |||
) |
Definition at line 943 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
ValueDefaultContructorIsNotRequiredForParamVersion | |||
) |
Definition at line 958 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
GetAndPointerReturnSameValue | |||
) |
Definition at line 963 of file googletest-port-test.cc.
testing::internal::TEST | ( | ThreadLocalTest | , |
PointerAndConstPointerReturnSameValue | |||
) |
Definition at line 973 of file googletest-port-test.cc.
testing::internal::TEST | ( | ApiTest | , |
UnitTestImmutableAccessorsWork | |||
) |
Definition at line 113 of file gtest-unittest-api_test.cc.
AssertionResult testing::internal::IsNull | ( | const char * | str | ) |
Definition at line 139 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 | , |
TestSuiteDisabledAccessorsWork | |||
) |
Definition at line 209 of file gtest-unittest-api_test.cc.
testing::internal::TEST | ( | ApiTest | , |
DISABLED_Dummy1 | |||
) |
Definition at line 230 of file gtest-unittest-api_test.cc.
testing::internal::TEST | ( | DISABLED_Test | , |
Dummy2 | |||
) |
Definition at line 231 of file gtest-unittest-api_test.cc.
const char testing::internal::kInfoVerbosity[] = "info" |
Definition at line 262 of file gmock-internal-utils.h.
const char testing::internal::kWarningVerbosity[] = "warning" |
Definition at line 264 of file gmock-internal-utils.h.
const char testing::internal::kErrorVerbosity[] = "error" |
Definition at line 266 of file gmock-internal-utils.h.
GTEST_API_ ThreadLocal<Sequence*> testing::internal::g_gmock_implicit_sequence |
Definition at line 279 of file gmock-spec-builders.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::kInternalRunDeathTestFlag[] = "internal_run_death_test" |
Definition at line 53 of file gtest-death-test-internal.h.
const char testing::internal::kStackTraceMarker = "\nStack trace:\n" |
constexpr BiggestInt testing::internal::kMaxBiggestInt = (std::numeric_limits<BiggestInt>::max)() |
Definition at line 2136 of file gtest-port.h.
const char testing::internal::kPathSeparator = '/' |
Definition at line 80 of file gtest-filepath.cc.
const char testing::internal::kCurrentDirectoryString[] = "./" |
Definition at line 81 of file gtest-filepath.cc.
const int testing::internal::kStdOutFileno = STDOUT_FILENO |
Definition at line 97 of file gtest-port.cc.
const int testing::internal::kStdErrFileno = STDERR_FILENO |
Definition at line 98 of file gtest-port.cc.
const char testing::internal::kUnknownFile[] = "unknown file" |
Definition at line 1019 of file gtest-port.cc.
const TypeId testing::internal::kTestTypeIdInGoogleTest = GetTestTypeId() |
constexpr uint32_t testing::internal::kMaxCodePoint1 = (static_cast<uint32_t>(1) << 7) - 1 |
constexpr uint32_t testing::internal::kMaxCodePoint2 = (static_cast<uint32_t>(1) << (5 + 6)) - 1 |
constexpr uint32_t testing::internal::kMaxCodePoint3 = (static_cast<uint32_t>(1) << (4 + 2*6)) - 1 |
constexpr uint32_t testing::internal::kMaxCodePoint4 = (static_cast<uint32_t>(1) << (3 + 3*6)) - 1 |
|
static |
|
static |
|
static |
const int testing::internal::kTypedTestSuites = 0 |
Definition at line 106 of file gtest-unittest-api_test.cc.
const int testing::internal::kTypedTests = 0 |
Definition at line 107 of file gtest-unittest-api_test.cc.