![]() |
F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
Namespaces | |
namespace | edit_distance |
Typedefs | |
template<typename... > | |
using | void_t = void |
template<typename F , typename... Args> | |
using | call_result_t = decltype(std::declval<F>()(std::declval<Args>()...)) |
template<typename R , typename F , typename... Args> | |
using | is_callable_r = is_callable_r_impl<void, R, F, Args...> |
template<typename T > | |
using | identity_t = T |
template<TypeKind kFromKind, typename From , TypeKind kToKind, typename To > | |
using | LosslessArithmeticConvertibleImpl |
template<typename From , typename To > | |
using | LosslessArithmeticConvertible |
Enumerations | |
enum | TypeKind { kBool , kInteger , kFloatingPoint , kOther } |
enum | LogSeverity { kInfo = 0 , kWarning = 1 } |
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 int, 0U) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (signed int, 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 T > | |
std::add_const< T >::type & | as_const (T &t) |
template<typename F , typename Impl > | |
::testing::Action< F > | MakeAction () |
template<typename F , typename Impl > | |
::testing::Action< F > | MakeAction (std::shared_ptr< Impl > impl) |
constexpr bool | PrefixOf (const char *a, const char *b) |
template<int N, int M> | |
constexpr bool | StartsWith (const char(&prefix)[N], const char(&str)[M]) |
template<int N, int M> | |
constexpr bool | EndsWith (const char(&suffix)[N], const char(&str)[M]) |
template<int N, int M> | |
constexpr bool | Equals (const char(&a)[N], const char(&b)[M]) |
template<int N> | |
constexpr bool | ValidateSpec (const char(&spec)[N]) |
template<typename F , typename... Args> | |
auto | InvokeArgument (F f, Args... args) -> decltype(f(args...)) |
template<typename T > | |
std::true_type | StrictnessModifierProbe (const NiceMock< T > &) |
template<typename T > | |
std::true_type | StrictnessModifierProbe (const NaggyMock< T > &) |
template<typename T > | |
std::true_type | StrictnessModifierProbe (const StrictMock< T > &) |
std::false_type | StrictnessModifierProbe (...) |
template<typename T > | |
constexpr bool | HasStrictnessModifier () |
GTEST_API_ std::string | JoinAsKeyValueTuple (const std::vector< const char * > &names, const Strings &values) |
GTEST_API_ std::string | ConvertIdentifierNameToWords (const char *id_name) |
template<typename Pointer > | |
const Pointer::element_type * | GetRawPointer (const Pointer &p) |
template<typename Element > | |
const Element * | GetRawPointer (const std::reference_wrapper< Element > &r) |
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_ (unsigned short, kInteger) | |
GMOCK_DECLARE_KIND_ (int, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned int, kInteger) | |
GMOCK_DECLARE_KIND_ (long, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned long, kInteger) | |
GMOCK_DECLARE_KIND_ (long long, kInteger) | |
GMOCK_DECLARE_KIND_ (unsigned long long, 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 >())) |
bool | Base64Unescape (const std::string &encoded, std::string *decoded) |
static | GTEST_DEFINE_STATIC_MUTEX_ (g_log_mutex) |
constexpr char | UnBase64Impl (char c, const char *const base64, char carry) |
template<size_t... I> | |
constexpr std::array< char, 256 > | UnBase64Impl (IndexSequence< I... >, const char *const base64) |
constexpr std::array< char, 256 > | UnBase64 (const char *const base64) |
GTEST_API_ std::string | FormatMatcherDescription (bool negation, const char *matcher_name, const std::vector< const char * > ¶m_names, 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_name, bool def_optional) |
static bool | ParseGoogleMockFlag (const char *str, const char *flag_name, bool *value) |
template<typename String > | |
static bool | ParseGoogleMockFlag (const char *str, const char *flag_name, String *value) |
static bool | ParseGoogleMockFlag (const char *str, const char *flag_name, int32_t *value) |
template<typename CharType > | |
void | InitGoogleMockImpl (int *argc, CharType **argv) |
static bool | IsPathSeparator (char c) |
GTEST_API_ TimeInMillis | GetTimeInMillis () |
GTEST_API_ bool | ShouldUseColor (bool stdout_is_tty) |
GTEST_API_ std::string | FormatTimeInMillisAsSeconds (TimeInMillis ms) |
GTEST_API_ std::string | FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms) |
GTEST_API_ bool | ParseFlag (const char *str, const char *flag, int32_t *value) |
int | GetRandomSeedFromFlag (int32_t random_seed_flag) |
int | GetNextRandomSeed (int seed) |
GTEST_API_ std::string | CodePointToUtf8 (uint32_t code_point) |
GTEST_API_ std::string | WideStringToUtf8 (const wchar_t *str, int num_chars) |
void | WriteToShardStatusFileIfNeeded () |
GTEST_API_ bool | ShouldShard (const char *total_shards_str, const char *shard_index_str, bool in_subprocess_for_death_test) |
GTEST_API_ int32_t | Int32FromEnvOrDie (const char *env_var, int32_t default_val) |
GTEST_API_ bool | ShouldRunTestOnShard (int total_shards, int shard_index, int test_id) |
template<class Container , typename Predicate > | |
int | CountIf (const Container &c, Predicate predicate) |
template<class Container , typename Functor > | |
void | ForEach (const Container &c, Functor functor) |
template<typename E > | |
E | GetElementOr (const std::vector< E > &v, int i, E default_value) |
template<typename E > | |
void | ShuffleRange (internal::Random *random, int begin, int end, std::vector< E > *v) |
template<typename E > | |
void | Shuffle (internal::Random *random, std::vector< E > *v) |
template<typename T > | |
static void | Delete (T *x) |
GTEST_API_ FilePath | GetCurrentExecutableName () |
UnitTestImpl * | GetUnitTestImpl () |
GTEST_API_ void | ParseGoogleTestFlagsOnly (int *argc, char **argv) |
GTEST_API_ void | ParseGoogleTestFlagsOnly (int *argc, wchar_t **argv) |
size_t | GetThreadCount () |
GTEST_API_::std::string | FormatFileLocation (const char *file, int line) |
GTEST_API_::std::string | FormatCompilerIndependentFileLocation (const char *file, int line) |
size_t | GetFileSize (FILE *file) |
std::string | ReadEntireFile (FILE *file) |
static std::string | FlagToEnvVar (const char *flag) |
bool | ParseInt32 (const Message &src_text, const char *str, int32_t *value) |
bool | BoolFromGTestEnv (const char *flag, bool default_value) |
int32_t | Int32FromGTestEnv (const char *flag, int32_t default_value) |
std::string | OutputFlagAlsoCheckEnvVar () |
const char * | StringFromGTestEnv (const char *flag, const char *default_value) |
void | PrintBytesInObjectTo (const unsigned char *obj_bytes, size_t count, ostream *os) |
bool | IsPrintableAscii (char32_t c) |
template<typename Char > | |
static CharFormat | PrintAsCharLiteralTo (Char c, ostream *os) |
static CharFormat | PrintAsStringLiteralTo (char32_t c, ostream *os) |
static const char * | GetCharWidthPrefix (char) |
static const char * | GetCharWidthPrefix (signed char) |
static const char * | GetCharWidthPrefix (unsigned char) |
static const char * | GetCharWidthPrefix (char16_t) |
static const char * | GetCharWidthPrefix (char32_t) |
static const char * | GetCharWidthPrefix (wchar_t) |
static CharFormat | PrintAsStringLiteralTo (char c, ostream *os) |
static CharFormat | PrintAsStringLiteralTo (char16_t c, ostream *os) |
static CharFormat | PrintAsStringLiteralTo (wchar_t c, ostream *os) |
template<typename Char > | |
void | PrintCharAndCodeTo (Char c, ostream *os) |
void | PrintTo (unsigned char c, ::std::ostream *os) |
void | PrintTo (signed char c, ::std::ostream *os) |
void | PrintTo (wchar_t wc, ostream *os) |
void | PrintTo (char32_t c, ::std::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 char16_t *begin, size_t len, ostream *os) |
void | UniversalPrintArray (const char32_t *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 char16_t *s, ostream *os) |
void | PrintTo (const char32_t *s, ostream *os) |
void | PrintTo (const wchar_t *s, ostream *os) |
void | PrintStringTo (const ::std::string &s, ostream *os) |
void | PrintU16StringTo (const ::std::u16string &s, ostream *os) |
void | PrintU32StringTo (const ::std::u32string &s, ostream *os) |
static const char * | SkipSpaces (const char *str) |
static std::vector< std::string > | SplitIntoTestNames (const char *src) |
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 | InsertSyntheticTestCase (const std::string &name, CodeLocation location, bool has_test_p) |
void | RegisterTypeParameterizedTestSuite (const char *test_suite_name, CodeLocation code_location) |
void | RegisterTypeParameterizedTestSuiteInstantiation (const char *case_name) |
::std::vector< std::string > | GetArgvs () |
static bool | PatternMatchesString (const std::string &name_str, const char *pattern, const char *pattern_end) |
TypeId | GetTestTypeId () |
static AssertionResult | HasOneFailure (const char *, const char *, const char *, const TestPartResultArray &results, TestPartResult::Type type, const std::string &substr) |
void | SplitString (const ::std::string &str, char delimiter, ::std::vector< ::std::string > *dest) |
AssertionResult | EqFailure (const char *lhs_expression, const char *rhs_expression, const std::string &lhs_value, const std::string &rhs_value, bool ignoring_case) |
std::string | GetBoolAssertionFailureMessage (const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value) |
AssertionResult | DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error) |
template<typename RawType > | |
AssertionResult | FloatingPointLE (const char *expr1, const char *expr2, RawType val1, RawType val2) |
AssertionResult | CmpHelperSTREQ (const char *lhs_expression, const char *rhs_expression, const char *lhs, const char *rhs) |
AssertionResult | CmpHelperSTRCASEEQ (const char *lhs_expression, const char *rhs_expression, const char *lhs, const char *rhs) |
AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
AssertionResult | CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2) |
uint32_t | ChopLowBits (uint32_t *bits, int n) |
bool | IsUtf16SurrogatePair (wchar_t first, wchar_t second) |
uint32_t | CreateCodePointFromUtf16SurrogatePair (wchar_t first, wchar_t second) |
AssertionResult | CmpHelperSTREQ (const char *lhs_expression, const char *rhs_expression, const wchar_t *lhs, const wchar_t *rhs) |
AssertionResult | CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2) |
std::string | StringStreamToString (::std::stringstream *ss) |
std::string | AppendUserMessage (const std::string >est_msg, const Message &user_msg) |
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) |
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) |
void | ReportInvalidTestSuiteType (const char *test_suite_name, CodeLocation code_location) |
static std::string | PrintTestPartResultToString (const TestPartResult &test_part_result) |
static void | PrintTestPartResult (const TestPartResult &test_part_result) |
static const char * | GetAnsiColorCode (GTestColor color) |
static void | ColoredPrintf (GTestColor color, const char *fmt,...) |
static void | PrintFullTestCommentIfPresent (const TestInfo &test_info) |
static bool | PortableLocaltime (time_t seconds, struct tm *out) |
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) |
static void | PrintOnOneLine (const char *str, int max_length) |
GTEST_NO_INLINE_ GTEST_NO_TAIL_CALL_ std::string | GetCurrentOsStackTraceExceptTop (UnitTest *, int skip_count) |
bool | IsTrue (bool condition) |
bool | AlwaysTrue () |
bool | SkipPrefix (const char *prefix, const char **pstr) |
static const char * | ParseFlagValue (const char *str, const char *flag_name, bool def_optional) |
static bool | ParseFlag (const char *str, const char *flag_name, bool *value) |
template<typename String > | |
static bool | ParseFlag (const char *str, const char *flag_name, 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) |
template<typename CharType > | |
void | InitGoogleTestImpl (int *argc, CharType **argv) |
Variables | |
const char | kInfoVerbosity [] = "info" |
const char | kWarningVerbosity [] = "warning" |
const char | kErrorVerbosity [] = "error" |
static constexpr char | kBase64 [] |
static constexpr std::array< char, 256 > | kUnBase64 = UnBase64(kBase64) |
GTEST_API_ ThreadLocal< Sequence * > | g_gmock_implicit_sequence |
const char | kPathSeparator = '/' |
const char | kCurrentDirectoryString [] = "./" |
GTEST_API_ const TypeId | kTestTypeIdInGoogleTest = GetTestTypeId() |
const int | kMaxRandomSeed = 99999 |
GTEST_API_ bool | g_help_flag = false |
class testing::internal::GTestFlagSaver | GTEST_ATTRIBUTE_UNUSED_ |
const char | kUnknownFile [] = "unknown file" |
const char | kStackTraceMarker [] = "\nStack trace:\n" |
static ::std::vector< std::string > | g_argvs |
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 |
constexpr uint32_t | kMaxCodePoint4 |
static const char | kTypeParamLabel [] = "TypeParam" |
static const char | kValueParamLabel [] = "GetParam()" |
static const char | kColorEncodedHelpMessage [] |
using testing::internal::call_result_t = decltype(std::declval<F>()(std::declval<Args>()...)) |
Definition at line 352 of file gmock-actions.h.
using testing::internal::identity_t = T |
Definition at line 50 of file gmock-function-mocker.h.
using testing::internal::is_callable_r = is_callable_r_impl<void, R, F, Args...> |
Definition at line 370 of file gmock-actions.h.
using testing::internal::LosslessArithmeticConvertible |
Definition at line 202 of file gmock-internal-utils.h.
Definition at line 169 of file gmock-internal-utils.h.
using testing::internal::void_t = void |
Definition at line 299 of file gmock-actions.h.
Enumerator | |
---|---|
kAsIs | |
kHexEscape | |
kSpecialEscape |
Definition at line 138 of file gtest-printers.cc.
Enumerator | |
---|---|
kInfo | |
kWarning |
Definition at line 253 of file gmock-internal-utils.h.
Enumerator | |
---|---|
kBool | |
kInteger | |
kFloatingPoint | |
kOther |
Definition at line 113 of file gmock-internal-utils.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), MakeIndexSequence<std::tuple_size< typename std::remove_reference<Tuple>::type>::value>())) |
Definition at line 427 of file gmock-internal-utils.h.
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 419 of file gmock-internal-utils.h.
std::add_const< T >::type & testing::internal::as_const | ( | T & | t | ) |
Definition at line 374 of file gmock-actions.h.
|
inline |
Definition at line 235 of file gmock-internal-utils.h.
|
inline |
Definition at line 228 of file gmock-internal-utils.h.
bool testing::internal::Base64Unescape | ( | const std::string & | encoded, |
std::string * | decoded ) |
Definition at line 221 of file gmock-internal-utils.cc.
bool testing::internal::BoolFromGTestEnv | ( | const char * | flag, |
bool | default_value ) |
Definition at line 1326 of file gtest-port.cc.
|
inline |
AssertionResult testing::internal::CmpHelperSTRCASEEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
const char * | lhs, | ||
const char * | rhs ) |
AssertionResult testing::internal::CmpHelperSTRCASENE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 ) |
AssertionResult testing::internal::CmpHelperSTREQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
const char * | lhs, | ||
const char * | rhs ) |
AssertionResult testing::internal::CmpHelperSTREQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
const wchar_t * | lhs, | ||
const wchar_t * | rhs ) |
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_t | code_point | ) |
|
static |
GTEST_API_ std::string testing::internal::ConvertIdentifierNameToWords | ( | const char * | id_name | ) |
Definition at line 79 of file gmock-internal-utils.cc.
|
inline |
Definition at line 273 of file gtest-internal-inl.h.
|
inline |
|
static |
Definition at line 333 of file gtest-internal-inl.h.
AssertionResult testing::internal::DoubleNearPredFormat | ( | const char * | expr1, |
const char * | expr2, | ||
const char * | abs_error_expr, | ||
double | val1, | ||
double | val2, | ||
double | abs_error ) |
|
constexpr |
Definition at line 78 of file gmock-function-mocker.h.
AssertionResult testing::internal::EqFailure | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
const std::string & | lhs_value, | ||
const std::string & | rhs_value, | ||
bool | ignoring_case ) |
|
constexpr |
Definition at line 83 of file gmock-function-mocker.h.
|
inline |
Definition at line 248 of file gmock-internal-utils.h.
|
inline |
Definition at line 241 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 1269 of file gtest-port.cc.
AssertionResult testing::internal::FloatingPointLE | ( | const char * | expr1, |
const char * | expr2, | ||
RawType | val1, | ||
RawType | val2 ) |
void testing::internal::ForEach | ( | const Container & | c, |
Functor | functor ) |
Definition at line 285 of file gtest-internal-inl.h.
GTEST_API_::std::string testing::internal::FormatCompilerIndependentFileLocation | ( | const char * | file, |
int | line ) |
Definition at line 997 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 979 of file gtest-port.cc.
GTEST_API_ std::string testing::internal::FormatMatcherDescription | ( | bool | negation, |
const char * | matcher_name, | ||
const std::vector< const char * > & | param_names, | ||
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 ) |
|
static |
Definition at line 211 of file gtest-printers.cc.
|
static |
Definition at line 221 of file gtest-printers.cc.
|
static |
Definition at line 223 of file gtest-printers.cc.
|
static |
Definition at line 213 of file gtest-printers.cc.
|
static |
Definition at line 215 of file gtest-printers.cc.
|
static |
Definition at line 225 of file gtest-printers.cc.
GTEST_NO_INLINE_ GTEST_NO_TAIL_CALL_ std::string testing::internal::GetCurrentOsStackTraceExceptTop | ( | UnitTest * | , |
int | skip_count ) |
|
inline |
Definition at line 292 of file gtest-internal-inl.h.
GTEST_API_ FailureReporterInterface * testing::internal::GetFailureReporter | ( | ) |
Definition at line 115 of file gmock-internal-utils.cc.
size_t testing::internal::GetFileSize | ( | FILE * | file | ) |
Definition at line 1202 of file gtest-port.cc.
std::set< std::string > * testing::internal::GetIgnoredParameterizedTestSuites | ( | ) |
|
inline |
Definition at line 128 of file gtest-internal-inl.h.
|
inline |
Definition at line 111 of file gtest-internal-inl.h.
|
inline |
Definition at line 82 of file gmock-internal-utils.h.
|
inline |
Definition at line 88 of file gmock-internal-utils.h.
|
inline |
Definition at line 94 of file gmock-internal-utils.h.
size_t testing::internal::GetThreadCount | ( | ) |
Definition at line 259 of file gtest-port.cc.
|
inline |
Definition at line 960 of file gtest-internal-inl.h.
GTEST_API_ WithoutMatchers testing::internal::GetWithoutMatchers | ( | ) |
Definition at line 189 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 long | , |
kInteger | ) |
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 long | , |
kInteger | ) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | unsigned long | , |
kInteger | ) |
testing::internal::GMOCK_DECLARE_KIND_ | ( | unsigned short | , |
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_ | ( | 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 long | , |
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_ | ( | 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 long | , |
0 | ) |
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_DEFINE_STATIC_MUTEX_ | ( | g_gmock_mutex | ) |
|
static |
|
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 |
|
constexpr |
Definition at line 90 of file gmock-nice-strict.h.
GTEST_API_ void testing::internal::IllegalDoDefault | ( | const char * | file, |
int | line ) |
Definition at line 191 of file gmock-internal-utils.cc.
|
inlinestatic |
void testing::internal::InitGoogleMockImpl | ( | int * | argc, |
CharType ** | argv ) |
void testing::internal::InitGoogleTestImpl | ( | int * | argc, |
CharType ** | argv ) |
void testing::internal::InsertSyntheticTestCase | ( | const std::string & | name, |
CodeLocation | location, | ||
bool | has_test_p ) |
int32_t testing::internal::Int32FromEnvOrDie | ( | const char * | env_var, |
int32_t | default_val ) |
int32_t testing::internal::Int32FromGTestEnv | ( | const char * | flag, |
int32_t | default_value ) |
Definition at line 1340 of file gtest-port.cc.
CallReaction testing::internal::intToCallReaction | ( | int | mock_behavior | ) |
Definition at line 438 of file gmock-spec-builders.cc.
|
inline |
Definition at line 306 of file gmock-internal-utils.h.
auto testing::internal::InvokeArgument | ( | F | f, |
Args... | args ) -> decltype(f(args...)) |
Definition at line 597 of file gmock-more-actions.h.
|
static |
Definition at line 87 of file gtest-filepath.cc.
|
inline |
Definition at line 143 of file gtest-printers.cc.
|
inline |
GTEST_API_ std::string testing::internal::JoinAsKeyValueTuple | ( | const std::vector< const char * > & | names, |
const Strings & | values ) |
Definition at line 57 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 152 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 131 of file gmock-internal-utils.cc.
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.
::testing::Action< F > testing::internal::MakeAction | ( | ) |
Definition at line 2141 of file gmock-actions.h.
::testing::Action< F > testing::internal::MakeAction | ( | std::shared_ptr< Impl > | impl | ) |
Definition at line 2147 of file gmock-actions.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 ) |
|
static |
std::string testing::internal::OutputFlagAlsoCheckEnvVar | ( | ) |
Definition at line 1372 of file gtest-port.cc.
bool testing::internal::ParseFlag | ( | const char * | str, |
const char * | flag, | ||
int32_t * | value ) |
|
static |
|
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 ) |
bool testing::internal::ParseInt32 | ( | const Message & | src_text, |
const char * | str, | ||
int32_t * | value ) |
Definition at line 1284 of file gtest-port.cc.
|
static |
|
static |
|
constexpr |
Definition at line 68 of file gmock-function-mocker.h.
|
static |
Definition at line 149 of file gtest-printers.cc.
|
static |
Definition at line 229 of file gtest-printers.cc.
|
static |
Definition at line 239 of file gtest-printers.cc.
|
static |
Definition at line 198 of file gtest-printers.cc.
|
static |
Definition at line 243 of file gtest-printers.cc.
void testing::internal::PrintBytesInObjectTo | ( | const unsigned char * | obj_bytes, |
size_t | count, | ||
ostream * | os ) |
Definition at line 128 of file gtest-printers.cc.
void testing::internal::PrintCharAndCodeTo | ( | Char | c, |
ostream * | os ) |
Definition at line 251 of file gtest-printers.cc.
|
static |
Definition at line 340 of file gtest-printers.cc.
|
static |
|
static |
|
static |
void testing::internal::PrintStringTo | ( | const ::std::string & | s, |
ostream * | os ) |
Definition at line 523 of file gtest-printers.cc.
|
static |
|
static |
void testing::internal::PrintTo | ( | char32_t | c, |
::std::ostream * | os ) |
Definition at line 282 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | const char * | s, |
ostream * | os ) |
Definition at line 437 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | const char16_t * | s, |
ostream * | os ) |
Definition at line 443 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | const char32_t * | s, |
ostream * | os ) |
Definition at line 445 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | const wchar_t * | s, |
ostream * | os ) |
Definition at line 455 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | signed char | c, |
::std::ostream * | os ) |
Definition at line 275 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | unsigned char | c, |
::std::ostream * | os ) |
Definition at line 274 of file gtest-printers.cc.
void testing::internal::PrintTo | ( | wchar_t | wc, |
ostream * | os ) |
Definition at line 279 of file gtest-printers.cc.
void testing::internal::PrintU16StringTo | ( | const ::std::u16string & | s, |
ostream * | os ) |
Definition at line 537 of file gtest-printers.cc.
void testing::internal::PrintU32StringTo | ( | const ::std::u32string & | s, |
ostream * | os ) |
Definition at line 541 of file gtest-printers.cc.
std::string testing::internal::ReadEntireFile | ( | FILE * | file | ) |
Definition at line 1207 of file gtest-port.cc.
void testing::internal::RegisterTypeParameterizedTestSuite | ( | const char * | test_suite_name, |
CodeLocation | code_location ) |
void testing::internal::RegisterTypeParameterizedTestSuiteInstantiation | ( | const char * | case_name | ) |
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 283 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_str, |
const char * | shard_index_str, | ||
bool | in_subprocess_for_death_test ) |
bool testing::internal::ShouldUseColor | ( | bool | stdout_is_tty | ) |
|
inline |
Definition at line 326 of file gtest-internal-inl.h.
void testing::internal::ShuffleRange | ( | internal::Random * | random, |
int | begin, | ||
int | end, | ||
std::vector< E > * | v ) |
Definition at line 302 of file gtest-internal-inl.h.
bool testing::internal::SkipPrefix | ( | const char * | prefix, |
const char ** | pstr ) |
|
static |
Definition at line 39 of file gtest-typed-test.cc.
|
static |
Definition at line 44 of file gtest-typed-test.cc.
void testing::internal::SplitString | ( | const ::std::string & | str, |
char | delimiter, | ||
::std::vector< ::std::string > * | dest ) |
|
constexpr |
Definition at line 73 of file gmock-function-mocker.h.
std::false_type testing::internal::StrictnessModifierProbe | ( | ... | ) |
std::true_type testing::internal::StrictnessModifierProbe | ( | const NaggyMock< T > & | ) |
std::true_type testing::internal::StrictnessModifierProbe | ( | const NiceMock< T > & | ) |
std::true_type testing::internal::StrictnessModifierProbe | ( | const StrictMock< T > & | ) |
const char * testing::internal::StringFromGTestEnv | ( | const char * | flag, |
const char * | default_value ) |
Definition at line 1383 of file gtest-port.cc.
std::string testing::internal::StringStreamToString | ( | ::std::stringstream * | ss | ) |
|
static |
|
static |
|
static |
|
static |
|
constexpr |
Definition at line 213 of file gmock-internal-utils.cc.
|
constexpr |
Definition at line 201 of file gmock-internal-utils.cc.
|
constexpr |
Definition at line 208 of file gmock-internal-utils.cc.
void testing::internal::UniversalPrintArray | ( | const char * | begin, |
size_t | len, | ||
ostream * | os ) |
Definition at line 392 of file gtest-printers.cc.
void testing::internal::UniversalPrintArray | ( | const char16_t * | begin, |
size_t | len, | ||
ostream * | os ) |
Definition at line 406 of file gtest-printers.cc.
void testing::internal::UniversalPrintArray | ( | const char32_t * | begin, |
size_t | len, | ||
ostream * | os ) |
Definition at line 412 of file gtest-printers.cc.
void testing::internal::UniversalPrintArray | ( | const wchar_t * | begin, |
size_t | len, | ||
ostream * | os ) |
Definition at line 418 of file gtest-printers.cc.
|
static |
Definition at line 369 of file gtest-printers.cc.
|
constexpr |
Definition at line 88 of file gmock-function-mocker.h.
std::string testing::internal::WideStringToUtf8 | ( | const wchar_t * | str, |
int | num_chars ) |
void testing::internal::WriteToShardStatusFileIfNeeded | ( | ) |
GTEST_API_ ThreadLocal<Sequence*> testing::internal::g_gmock_implicit_sequence |
Definition at line 279 of file gmock-spec-builders.cc.
class testing::internal::GTestFlagSaver testing::internal::GTEST_ATTRIBUTE_UNUSED_ |
|
staticconstexpr |
Definition at line 217 of file gmock-internal-utils.cc.
|
static |
const char testing::internal::kCurrentDirectoryString[] = "./" |
Definition at line 83 of file gtest-filepath.cc.
const char testing::internal::kErrorVerbosity[] = "error" |
Definition at line 262 of file gmock-internal-utils.h.
const char testing::internal::kInfoVerbosity[] = "info" |
Definition at line 258 of file gmock-internal-utils.h.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
const int testing::internal::kMaxRandomSeed = 99999 |
Definition at line 82 of file gtest-internal-inl.h.
const char testing::internal::kPathSeparator = '/' |
Definition at line 82 of file gtest-filepath.cc.
const char testing::internal::kStackTraceMarker[] = "\nStack trace:\n" |
|
extern |
|
static |
Definition at line 219 of file gmock-internal-utils.cc.
const char testing::internal::kUnknownFile[] = "unknown file" |
Definition at line 975 of file gtest-port.cc.
|
static |
const char testing::internal::kWarningVerbosity[] = "warning" |
Definition at line 260 of file gmock-internal-utils.h.