- 3.0.1 core module.
|
Namespaces | |
edit_distance | |
gmockpp | |
invoke_argument | |
posix | |
Typedefs | |
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 |
typedef bool_constant< false > | false_type |
typedef bool_constant< true > | true_type |
typedef long long | BiggestInt |
typedef TypeWithSize< 4 >::Int | Int32 |
typedef TypeWithSize< 4 >::UInt | UInt32 |
typedef TypeWithSize< 8 >::Int | Int64 |
typedef TypeWithSize< 8 >::UInt | UInt64 |
typedef TypeWithSize< 8 >::Int | TimeInMillis |
Enumerations |
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_ (UInt64, 0) | |
GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ (Int64, 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_ (wchar_t, kInteger) | |
GMOCK_DECLARE_KIND_ (Int64, kInteger) | |
GMOCK_DECLARE_KIND_ (UInt64, kInteger) | |
GMOCK_DECLARE_KIND_ (float, kFloatingPoint) | |
GMOCK_DECLARE_KIND_ (double, kFloatingPoint) | |
GMOCK_DECLARE_KIND_ (long double, kFloatingPoint) | |
template<typename From , typename To > | |
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, int_pack< 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), make_int_pack< std::tuple_size< Tuple >::value >())) |
GTEST_API_ FailureReporterInterface * | GetFailureReporter () |
GTEST_API_ std::string | FormatMatcherDescription (bool negation, const char *matcher_name, const Strings ¶m_values) |
GTEST_API_ ElementMatcherPairs | FindMaxBipartiteMatching (const MatchMatrix &g) |
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) |
template<typename CharType > | |
void | InitGoogleMockImpl (int *argc, CharType **argv) |
template<typename T > | |
std::string | StreamableToString (const T &streamable) |
GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (char) | |
GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ (wchar_t) | |
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ (char,::std::string) | |
template<typename T1 , typename T2 > | |
std::string | FormatForComparisonFailureMessage (const T1 &value, const T2 &) |
template<typename T > | |
void | UniversalPrint (const T &value,::std::ostream *os) |
template<typename C > | |
void | DefaultPrintTo (WrapPrinterType< kPrintContainer >, const C &container,::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (WrapPrinterType< kPrintPointer >, T *p,::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (WrapPrinterType< kPrintFunctionPointer >, T *p,::std::ostream *os) |
template<typename T > | |
void | DefaultPrintTo (WrapPrinterType< kPrintOther >, const T &value,::std::ostream *os) |
template<typename T > | |
void | 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 (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) |
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_API_ | GTEST_ATTRIBUTE_PRINTF_ (2, 3) void ColoredPrintf(GTestColor color |
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_ 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) |
bool | ParseInt32 (const Message &src_text, const char *str, Int32 *value) |
bool | BoolFromGTestEnv (const char *flag, bool default_val) |
GTEST_API_ Int32 | Int32FromGTestEnv (const char *flag, Int32 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.") | |
bool | IsPrintableAscii (wchar_t c) |
template<typename UnsignedChar , typename Char > | |
void | PrintCharAndCodeTo (Char c, ostream *os) |
void | PrintTo (wchar_t wc, 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) |
FilePath | GetCurrentExecutableName () |
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 | ChopLowBits (UInt32 *bits, int n) |
std::string | CodePointToUtf8 (UInt32 code_point) |
bool | IsUtf16SurrogatePair (wchar_t first, wchar_t second) |
UInt32 | 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) |
bool | ShouldUseColor (bool stdout_is_tty) |
void | ColoredPrintf (GTestColor color, const char *fmt,...) |
std::string | FormatTimeInMillisAsSeconds (TimeInMillis ms) |
std::string | FormatEpochTimeInMillisAsIso8601 (TimeInMillis ms) |
void | WriteToShardStatusFileIfNeeded () |
bool | ShouldShard (const char *total_shards_env, const char *shard_index_env, bool in_subprocess_for_death_test) |
Int32 | Int32FromEnvOrDie (const char *var, Int32 default_val) |
bool | ShouldRunTestOnShard (int total_shards, int shard_index, int test_id) |
bool | ParseInt32Flag (const char *str, const char *flag, Int32 *value) |
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 (IteratorTraitsTest, WorksForSTLContainerIterators) | |
TEST (IteratorTraitsTest, WorksForPointerToNonConst) | |
TEST (IteratorTraitsTest, WorksForPointerToConst) | |
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 |
GTEST_API_ const char * | fmt |
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" |
const BiggestInt | kMaxBiggestInt |
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() |
const UInt32 | kMaxCodePoint1 = (static_cast<UInt32>(1) << 7) - 1 |
const UInt32 | kMaxCodePoint2 = (static_cast<UInt32>(1) << (5 + 6)) - 1 |
const UInt32 | kMaxCodePoint3 = (static_cast<UInt32>(1) << (4 + 2*6)) - 1 |
const UInt32 | kMaxCodePoint4 = (static_cast<UInt32>(1) << (3 + 3*6)) - 1 |
const int | kTypedTestSuites = 0 |
const int | kTypedTests = 0 |
typedef ::std::vector< ::std::string> testing::internal::Strings |
typedef FloatingPoint<float> testing::internal::Float |
typedef FloatingPoint<double> testing::internal::Double |
typedef const void* testing::internal::TypeId |
using testing::internal::SetUpTestSuiteFunc = typedef void (*)( |
using testing::internal::TearDownTestSuiteFunc = typedef void (*)( |
using testing::internal::SetUpTearDownSuiteFuncType = typedef void (*)( |
typedef int testing::internal::IsContainer |
typedef char testing::internal::IsNotContainer |
using testing::internal::ParameterizedTestCaseInfo = typedef ParameterizedTestSuiteInfo<TestCase> |
typedef bool_constant<false> testing::internal::false_type |
typedef bool_constant<true> testing::internal::true_type |
typedef long long testing::internal::BiggestInt |
typedef TypeWithSize<4>::Int testing::internal::Int32 |
typedef TypeWithSize<4>::UInt testing::internal::UInt32 |
typedef TypeWithSize<8>::Int testing::internal::Int64 |
typedef TypeWithSize<8>::UInt testing::internal::UInt64 |
typedef TypeWithSize<8>::Int testing::internal::TimeInMillis |
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_ | ( | UInt64 | , |
0 | |||
) |
testing::internal::GMOCK_DEFINE_DEFAULT_ACTION_FOR_RETURN_TYPE_ | ( | Int64 | , |
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 | ) |
MockType* testing::internal::AdjustConstness_ | ( | const MockType * | mock | ) |
|
inline |
References gmock_output_test::output.
Referenced by testing::ACTION_TEMPLATE().
GTEST_API_ std::string testing::internal::JoinAsTuple | ( | const Strings & | fields | ) |
References i.
Referenced by FormatMatcherDescription().
GTEST_API_ std::string testing::internal::ConvertIdentifierNameToWords | ( | const char * | id_name | ) |
|
inline |
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_().
|
inline |
References p.
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_ | ( | 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 | |||
) |
|
inline |
|
inline |
Referenced by Expect(), GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and ReportUninterestingCall().
|
inline |
References Expect().
GTEST_API_ bool testing::internal::LogIsVisible | ( | LogSeverity | severity | ) |
References GMOCK_FLAG, kErrorVerbosity, kInfoVerbosity, kWarning, and verbose.
Referenced by Log(), and ReportUninterestingCall().
GTEST_API_ void testing::internal::Log | ( | LogSeverity | severity, |
const std::string & | message, | ||
int | stack_frames_to_skip | ||
) |
GTEST_API_ WithoutMatchers testing::internal::GetWithoutMatchers | ( | ) |
|
inline |
References Assert().
GTEST_API_ void testing::internal::IllegalDoDefault | ( | const char * | file, |
int | line | ||
) |
References Assert().
Referenced by testing::Action< OriginalFunction >::Perform().
auto testing::internal::ApplyImpl | ( | F && | f, |
Tuple && | args, | ||
int_pack< Idx... > | |||
) | -> decltype( std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...)) |
Referenced by Apply().
auto testing::internal::Apply | ( | F && | f, |
Tuple && | args | ||
) | -> decltype(ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args), make_int_pack<std::tuple_size<Tuple>::value>())) |
References ApplyImpl(), and value.
Referenced by testing::Action< OriginalFunction >::Perform().
GTEST_API_ FailureReporterInterface* testing::internal::GetFailureReporter | ( | ) |
References GTEST_DEFINE_STATIC_MUTEX_.
GTEST_API_ std::string testing::internal::FormatMatcherDescription | ( | bool | negation, |
const char * | matcher_name, | ||
const Strings & | param_values | ||
) |
References ConvertIdentifierNameToWords(), and JoinAsTuple().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_().
GTEST_API_ ElementMatcherPairs testing::internal::FindMaxBipartiteMatching | ( | const MatchMatrix & | g | ) |
References i, gen_gtest_pred_impl::Iter(), and testing::internal::MaxBipartiteMatchState::MaxBipartiteMatchState().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_().
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 | ||
) |
References testing::Exactly(), GTEST_EXCLUSIVE_LOCK_REQUIRED_, GTEST_LOCK_EXCLUDED_, kWarning, Log(), and cpp.ast::next().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_().
void testing::internal::ReportUninterestingCall | ( | CallReaction | reaction, |
const std::string & | msg | ||
) |
References Assert(), Expect(), GMOCK_FLAG, GTEST_EXCLUSIVE_LOCK_REQUIRED_, GTEST_LOCK_EXCLUDED_, kInfo, kInfoVerbosity, kWarning, Log(), LogIsVisible(), and verbose.
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_().
CallReaction testing::internal::intToCallReaction | ( | int | mock_behavior | ) |
References first_used_file, first_used_line, and leakable.
void testing::internal::InitGoogleMockImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
References GMOCK_FLAG, i, testing::InitGoogleTest(), StreamableToString(), and verbose.
Referenced by testing::InitGoogleMock().
std::string testing::internal::StreamableToString | ( | const T & | streamable | ) |
References GTEST_DISABLE_MSC_WARNINGS_POP_.
Referenced by FormatCompilerIndependentFileLocation(), FormatEpochTimeInMillisAsIso8601(), FormatFileLocation(), testing::internal::SuiteApiResolver< T >::GetTearDownCaseOrSuite(), testing::TestSuite::GetTestInfo(), GTEST_DISABLE_MSC_WARNINGS_PUSH_(), InitGoogleMockImpl(), InitGoogleTestImpl(), testing::internal::PrettyUnitTestResultPrinter::OnTestCaseEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(), testing::internal::JsonUnitTestResultPrinter::OnTestIterationEnd(), ParseGoogleTestFlagsOnlyImpl(), testing::internal::XmlUnitTestResultPrinter::PrintXmlTestsList(), and testing::TEST().
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ | ( | char | ) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_ | ( | wchar_t | ) |
testing::internal::GTEST_IMPL_FORMAT_C_STRING_AS_STRING_ | ( | char | , |
::std::string | |||
) |
std::string testing::internal::FormatForComparisonFailureMessage | ( | const T1 & | value, |
const T2 & | |||
) |
Referenced by CmpHelperEQ(), CmpHelperEQFailure(), CmpHelperOpFailure(), and testing::gtest_printers_test::TEST().
void testing::internal::UniversalPrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
References testing::gtest_printers_test::Print().
Referenced by DefaultPrintTo(), GTEST_DISABLE_MSC_WARNINGS_PUSH_(), testing::internal::UniversalPrinter< T >::Print(), testing::internal::UniversalPrinter< T & >::Print(), testing::internal::UniversalTersePrinter< T >::Print(), testing::internal::UniversalTersePrinter< T & >::Print(), testing::internal::UniversalTersePrinter< const char * >::Print(), testing::internal::UniversalTersePrinter< char * >::Print(), PrintRawArrayTo(), and testing::gtest_printers_test::TEST().
void testing::internal::DefaultPrintTo | ( | WrapPrinterType< kPrintContainer > | , |
const C & | container, | ||
::std::ostream * | os | ||
) |
References count, and UniversalPrint().
void testing::internal::DefaultPrintTo | ( | WrapPrinterType< kPrintPointer > | , |
T * | p, | ||
::std::ostream * | os | ||
) |
References p.
void testing::internal::DefaultPrintTo | ( | WrapPrinterType< kPrintFunctionPointer > | , |
T * | p, | ||
::std::ostream * | os | ||
) |
References p.
void testing::internal::DefaultPrintTo | ( | WrapPrinterType< kPrintOther > | , |
const T & | value, | ||
::std::ostream * | os | ||
) |
References testing_internal::DefaultPrintNonContainerTo().
Referenced by PrintTo().
void testing::internal::PrintTo | ( | const T & | value, |
::std::ostream * | os | ||
) |
References DefaultPrintTo(), GTEST_API_, kPrintContainer, kPrintFunctionPointer, kPrintOther, kPrintPointer, PrintTo(), upload::type, and value.
Referenced by testing::internal::edit_distance::CalculateOptimalEdits(), testing::internal::ExpectationTester::SetCallCount(), and UniversalTersePrintTupleFieldsToStrings().
void testing::internal::PrintTo | ( | unsigned char | c, |
::std::ostream * | os | ||
) |
void testing::internal::PrintTo | ( | signed char | c, |
::std::ostream * | os | ||
) |
|
inline |
References PrintTo().
|
inline |
References GTEST_API_, and PrintTo().
GTEST_API_ void testing::internal::PrintTo | ( | wchar_t | wc, |
::std::ostream * | os | ||
) |
GTEST_API_ void testing::internal::PrintTo | ( | const char * | s, |
::std::ostream * | os | ||
) |
|
inline |
References PrintTo().
|
inline |
References PrintTo().
|
inline |
References PrintTo().
|
inline |
References PrintTo().
|
inline |
References GTEST_API_, and PrintTo().
GTEST_API_ void testing::internal::PrintTo | ( | const wchar_t * | s, |
::std::ostream * | os | ||
) |
|
inline |
References PrintTo().
void testing::internal::PrintRawArrayTo | ( | const T | a[], |
size_t | count, | ||
::std::ostream * | os | ||
) |
References count, GTEST_API_, i, PrintStringTo(), and UniversalPrint().
Referenced by UniversalPrintArray().
GTEST_API_ void testing::internal::PrintStringTo | ( | const ::std::string & | s, |
::std::ostream * | os | ||
) |
Referenced by PrintRawArrayTo(), and PrintTo().
|
inline |
References GTEST_API_, PrintStringTo(), and PrintTo().
|
inline |
void testing::internal::PrintTo | ( | std::reference_wrapper< T > | ref, |
::std::ostream * | os | ||
) |
References testing::gtest_printers_test::Print().
void testing::internal::PrintTupleTo | ( | const T & | , |
std::integral_constant< size_t, 0 > | , | ||
::std::ostream * | |||
) |
void testing::internal::PrintTupleTo | ( | const T & | t, |
std::integral_constant< size_t, I > | , | ||
::std::ostream * | os | ||
) |
References GTEST_INTENTIONAL_CONST_COND_POP_, GTEST_INTENTIONAL_CONST_COND_PUSH_, testing::gtest_printers_test::Print(), and upload::type.
Referenced by PrintTo().
void testing::internal::PrintTo | ( | const ::std::tuple< Types... > & | t, |
::std::ostream * | os | ||
) |
References PrintTupleTo().
void testing::internal::PrintTo | ( | const ::std::pair< T1, T2 > & | value, |
::std::ostream * | os | ||
) |
References GTEST_DISABLE_MSC_WARNINGS_PUSH_, and testing::gtest_printers_test::Print().
Referenced by testing::internal::UniversalPrinter< T >::Print(), and PrintTo().
void testing::internal::UniversalPrintArray | ( | const T * | begin, |
size_t | len, | ||
::std::ostream * | os | ||
) |
References GTEST_API_, PrintRawArrayTo(), and UniversalPrintArray().
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 | ||
) |
Referenced by testing::internal::UniversalPrinter< T[N]>::Print(), and UniversalPrintArray().
void testing::internal::UniversalTersePrint | ( | const T & | value, |
::std::ostream * | os | ||
) |
References testing::gtest_printers_test::Print().
Referenced by TersePrintPrefixToStrings(), and testing::gtest_printers_test::TEST().
void testing::internal::TersePrintPrefixToStrings | ( | const Tuple & | , |
std::integral_constant< size_t, 0 > | , | ||
Strings * | |||
) |
void testing::internal::TersePrintPrefixToStrings | ( | const Tuple & | t, |
std::integral_constant< size_t, I > | , | ||
Strings * | strings | ||
) |
References UniversalTersePrint().
Referenced by UniversalTersePrintTupleFieldsToStrings().
Strings testing::internal::UniversalTersePrintTupleFieldsToStrings | ( | const Tuple & | value | ) |
References PrintTo(), testing::internal2::TypeWithoutFormatter< T, kTypeKind >::PrintValue(), TersePrintPrefixToStrings(), and value.
Referenced by testing::gtest_printers_test::TEST().
AssertionResult testing::internal::CmpHelperEQFailure | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
const T1 & | lhs, | ||
const T2 & | rhs | ||
) |
References EqFailure(), and FormatForComparisonFailureMessage().
Referenced by CmpHelperEQ().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), operator<<(), and testing::TEST().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and testing::TEST().
AssertionResult testing::internal::CmpHelperEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
const T1 & | lhs, | ||
const T2 & | rhs | ||
) |
References testing::AssertionSuccess(), CmpHelperEQ(), CmpHelperEQFailure(), and GTEST_API_.
AssertionResult testing::internal::CmpHelperEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
BiggestInt | lhs, | ||
BiggestInt | rhs | ||
) |
References testing::AssertionSuccess(), EqFailure(), and FormatForComparisonFailureMessage().
Referenced by CmpHelperEQ(), and testing::internal::EqHelper::Compare().
AssertionResult testing::internal::CmpHelperOpFailure | ( | const char * | expr1, |
const char * | expr2, | ||
const T1 & | val1, | ||
const T2 & | val2, | ||
const char * | op | ||
) |
References testing::AssertionFailure(), and FormatForComparisonFailureMessage().
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 | ||
) |
References testing::AssertionSuccess(), EqFailure(), and testing::PrintToString().
AssertionResult testing::internal::CmpHelperSTRCASEEQ | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
References testing::AssertionSuccess(), EqFailure(), and testing::PrintToString().
AssertionResult testing::internal::CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
References testing::AssertionFailure(), and testing::AssertionSuccess().
AssertionResult testing::internal::CmpHelperSTRCASENE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const char * | s1, | ||
const char * | s2 | ||
) |
References testing::AssertionFailure(), and testing::AssertionSuccess().
AssertionResult testing::internal::CmpHelperSTREQ | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const wchar_t * | s1, | ||
const wchar_t * | s2 | ||
) |
References testing::AssertionSuccess(), EqFailure(), and testing::PrintToString().
AssertionResult testing::internal::CmpHelperSTRNE | ( | const char * | s1_expression, |
const char * | s2_expression, | ||
const wchar_t * | s1, | ||
const wchar_t * | s2 | ||
) |
References testing::AssertionFailure(), testing::AssertionSuccess(), and testing::PrintToString().
AssertionResult testing::internal::CmpHelperFloatingPointEQ | ( | const char * | lhs_expression, |
const char * | rhs_expression, | ||
RawType | lhs_value, | ||
RawType | rhs_value | ||
) |
References testing::AssertionSuccess(), DoubleNearPredFormat(), EqFailure(), GTEST_API_, and StringStreamToString().
AssertionResult testing::internal::DoubleNearPredFormat | ( | const char * | expr1, |
const char * | expr2, | ||
const char * | abs_error_expr, | ||
double | val1, | ||
double | val2, | ||
double | abs_error | ||
) |
References testing::AssertionFailure(), and testing::AssertionSuccess().
Referenced by CmpHelperFloatingPointEQ().
GTEST_API_ testing::internal::GTEST_ATTRIBUTE_PRINTF_ | ( | 2 | , |
3 | |||
) |
testing::internal::GTEST_DECLARE_string_ | ( | internal_run_death_test | ) |
std::string testing::internal::AppendUserMessage | ( | const std::string & | gtest_msg, |
const Message & | user_msg | ||
) |
References testing::Message::GetString().
Referenced by testing::internal::IgnoredValue::IgnoredValue(), and testing::internal::AssertHelper::operator=().
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 | ||
) |
References testing::AssertionFailure(), and testing::internal::edit_distance::CreateUnifiedDiff().
Referenced by CmpHelperEQ(), CmpHelperEQFailure(), CmpHelperFloatingPointEQ(), CmpHelperSTRCASEEQ(), and CmpHelperSTREQ().
std::string testing::internal::GetBoolAssertionFailureMessage | ( | const AssertionResult & | assertion_result, |
const char * | expression_text, | ||
const char * | actual_predicate_value, | ||
const char * | expected_predicate_value | ||
) |
References testing::Message::GetString().
TypeId testing::internal::GetTypeId | ( | ) |
References GetTestTypeId(), and GTEST_API_.
TypeId testing::internal::GetTestTypeId | ( | ) |
References testing::AssertionFailure(), testing::AssertionSuccess(), testing::TestSuite::disabled_test_count(), EXPECT_PRED_FORMAT3, testing::TestSuite::failed_test_count(), GTEST_FLAG, i, kTestTypeIdInGoogleTest, testing::TestSuite::reportable_disabled_test_count(), testing::TestSuite::reportable_test_count(), testing::TestSuite::skipped_test_count(), testing::TestSuite::successful_test_count(), testing::TestSuite::test_to_run_count(), testing::TestSuite::total_test_count(), and upload::type.
Referenced by GetTypeId(), operator<<(), and ReportFailureInUnknownLocation().
|
inline |
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 | ||
) |
References GTEST_FLAG_PREFIX_.
Referenced by testing::internal::SuiteApiResolver< T >::GetTearDownCaseOrSuite(), ParseInt32Flag(), and TEST().
std::string testing::internal::GetCurrentOsStackTraceExceptTop | ( | UnitTest * | unit_test, |
int | skip_count | ||
) |
Referenced by testing::internal::SuiteApiResolver< T >::GetTearDownCaseOrSuite(), and Log().
bool testing::internal::AlwaysTrue | ( | ) |
References IsTrue().
Referenced by AlwaysFalse(), testing::internal::SuiteApiResolver< T >::GetTearDownCaseOrSuite(), SplitString(), and TEST().
|
inline |
References AlwaysTrue().
Referenced by ColoredPrintf(), and TEST().
IsContainer testing::internal::IsContainerTest | ( | int | ) |
Referenced by TEST().
IsNotContainer testing::internal::IsContainerTest | ( | long | ) |
bool testing::internal::ArrayEq | ( | const T * | lhs, |
size_t | size, | ||
const U * | rhs | ||
) |
|
inline |
|
inline |
Referenced by ArrayAwareFind(), ArrayEq(), and testing::internal::NativeArray< Element >::operator==().
Iter testing::internal::ArrayAwareFind | ( | Iter | begin, |
Iter | end, | ||
const Element & | elem | ||
) |
References ArrayEq(), CopyArray(), and gen_gtest_pred_impl::Iter().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and TEST().
void testing::internal::CopyArray | ( | const T * | from, |
size_t | size, | ||
U * | to | ||
) |
References CopyArray().
Referenced by TEST().
|
inline |
|
inline |
Referenced by ArrayAwareFind(), CopyArray(), and testing::internal::NativeArray< Element >::operator==().
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "INSTANTIATE_TEST_CASE_P is | deprecated, |
please use" "INSTANTIATE_TEST_SUITE_P" | |||
) | const |
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "TYPED_TEST_CASE_P is | deprecated, |
please use" "TYPED_TEST_SUITE_P" | |||
) | const |
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "TYPED_TEST_CASE is | deprecated, |
please use" "TYPED_TEST_SUITE" | |||
) | const |
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "REGISTER_TYPED_TEST_CASE_P is | deprecated, |
please use" "REGISTER_TYPED_TEST_SUITE_P" | |||
) | const |
testing::internal::GTEST_INTERNAL_DEPRECATED | ( | "INSTANTIATE_TYPED_TEST_CASE_P is | deprecated, |
please use" "INSTANTIATE_TYPED_TEST_SUITE_P" | |||
) | const |
void testing::internal::ReportInvalidTestSuiteType | ( | const char * | test_suite_name, |
CodeLocation | code_location | ||
) |
References testing::internal::TestFactoryBase::CreateTest(), testing::internal::CodeLocation::file, FormatFileLocation(), testing::UnitTest::GetInstance(), testing::Message::GetString(), GetTimeInMillis(), GTEST_LOG_, HandleExceptionsInMethodIfSupported(), testing::Test::HasFatalFailure(), testing::Test::IsSkipped(), testing::internal::CodeLocation::line, testing::UnitTest::listeners(), testing::TestInfo::name(), testing::TestEventListener::OnTestEnd(), testing::TestEventListener::OnTestStart(), and test().
Referenced by testing::internal::ParameterizedTestSuiteRegistry::GetTestSuitePatternHolder(), and testing::PrintToStringParamName::operator()().
std::string testing::internal::DefaultParamName | ( | const TestParamInfo< ParamType > & | info | ) |
References testing::Message::GetString(), and testing::TestParamInfo< ParamType >::index.
void testing::internal::TestNotEmpty | ( | ) |
void testing::internal::TestNotEmpty | ( | const T & | ) |
bool testing::internal::IsTrue | ( | bool | condition | ) |
Referenced by AlwaysTrue().
GTEST_API_::std::string testing::internal::FormatFileLocation | ( | const char * | file, |
int | line | ||
) |
References StreamableToString().
Referenced by testing::internal::SuiteApiResolver< T >::GetTearDownCaseOrSuite(), testing::TestSuite::GetTestInfo(), GTEST_DISABLE_MSC_WARNINGS_PUSH_(), testing::internal::GTestLog::GTestLog(), testing::UnitTest::listeners(), testing::internal::RE::PartialMatch(), ReportInvalidTestSuiteType(), testing::internal::ExpectationTester::SetCallCount(), and TEST().
GTEST_API_::std::string testing::internal::FormatCompilerIndependentFileLocation | ( | const char * | file, |
int | line | ||
) |
|
inline |
|
inline |
|
inline |
References GTEST_CHECK_, GTEST_INTENTIONAL_CONST_COND_POP_, and GTEST_INTENTIONAL_CONST_COND_PUSH_.
Derived* testing::internal::CheckedDowncastToActualType | ( | Base * | base | ) |
References CaptureStderr(), CaptureStdout(), FILE, GetArgvs(), GetCapturedStderr(), GetCapturedStdout(), GetFileSize(), GTEST_API_, GTEST_CHECK_, GTEST_CHECK_POSIX_SUCCESS_, GTEST_DISALLOW_COPY_AND_ASSIGN_, n, ReadEntireFile(), googletest-break-on-failure-unittest::Run(), and value.
Referenced by testing::internal::ParameterizedTestSuiteRegistry::GetTestSuitePatternHolder().
GTEST_API_ void testing::internal::CaptureStdout | ( | ) |
GTEST_API_ std::string testing::internal::GetCapturedStdout | ( | ) |
GTEST_API_ void testing::internal::CaptureStderr | ( | ) |
Referenced by CheckedDowncastToActualType(), TEST(), and testing::internal::GTestLog::~GTestLog().
GTEST_API_ std::string testing::internal::GetCapturedStderr | ( | ) |
Referenced by CheckedDowncastToActualType(), TEST(), and testing::internal::GTestLog::~GTestLog().
size_t testing::internal::GetFileSize | ( | FILE * | file | ) |
Referenced by CheckedDowncastToActualType(), and ReadEntireFile().
std::string testing::internal::ReadEntireFile | ( | FILE * | file | ) |
References testing::internal::posix::Abort(), GetArgvs(), GetFileSize(), testing::Message::GetString(), GTEST_FLAG_PREFIX_, i, and ToUpper().
Referenced by CheckedDowncastToActualType(), ParseInt32Flag(), and testing::internal::GTestLog::~GTestLog().
std::vector< std::string > testing::internal::GetArgvs | ( | ) |
References g_argvs.
Referenced by CheckedDowncastToActualType(), testing::internal::Random::Generate(), GetCurrentExecutableName(), and ReadEntireFile().
size_t testing::internal::GetThreadCount | ( | ) |
References ADD_FAILURE, testing::internal::Mutex::AssertHeld(), ch, EXPECT_TRUE, testing::internal::RE::FullMatch(), GTEST_CHECK_, GTEST_DISALLOW_COPY_AND_ASSIGN_, i, testing::internal::Mutex::Lock(), testing::internal::Mutex::Mutex(), n, testing::internal::RE::PartialMatch(), testing::internal::posix::StrDup(), testing::internal::Mutex::Unlock(), x0, and testing::internal::RE::~RE().
Referenced by testing::internal::ThreadLocal< T >::set(), and TEST().
|
inline |
Referenced by ConvertIdentifierNameToWords().
|
inline |
Referenced by ConvertIdentifierNameToWords().
|
inline |
Referenced by ConvertIdentifierNameToWords(), and GTEST_DISABLE_MSC_WARNINGS_PUSH_().
|
inline |
Referenced by ConvertIdentifierNameToWords().
|
inline |
|
inline |
Referenced by ConvertIdentifierNameToWords().
|
inline |
References ch.
|
inline |
Referenced by ConvertIdentifierNameToWords().
|
inline |
Referenced by ReadEntireFile().
|
inline |
References IsSpace().
Referenced by testing::internal::SuiteApiResolver< T >::GetTearDownCaseOrSuite().
References testing::Message::GetString().
Referenced by Int32FromEnvOrDie(), Int32FromGTestEnv(), and ParseInt32Flag().
bool testing::internal::BoolFromGTestEnv | ( | const char * | flag, |
bool | default_val | ||
) |
References testing::internal::posix::GetEnv().
References testing::internal::posix::GetEnv(), and ParseInt32().
std::string testing::internal::OutputFlagAlsoCheckEnvVar | ( | ) |
References testing::internal::posix::GetEnv().
const char * testing::internal::StringFromGTestEnv | ( | const char * | flag, |
const char * | default_val | ||
) |
References testing::internal::posix::GetEnv(), and value.
std::string testing::internal::StringStreamToString | ( | ::std::stringstream * | stream | ) |
References ch.
Referenced by CmpHelperFloatingPointEQ(), FloatingPointLE(), testing::Message::GetString(), testing::internal::XmlUnitTestResultPrinter::ListTestsMatchingFilter(), testing::internal::XmlUnitTestResultPrinter::OnTestIterationEnd(), testing::internal::JsonUnitTestResultPrinter::OnTestIterationEnd(), ShouldRunTestOnShard(), and WideStringToUtf8().
|
inline |
Referenced by GetTypeName(), and operator<<().
std::string testing::internal::GetTypeName | ( | ) |
References CanonicalizeForStdLibVersioning(), and upload::type.
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_().
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." | |||
) |
|
inline |
References testing::gmock_generated_actions_test::Char(), kAsIs, kHexEscape, and kSpecialEscape.
void testing::internal::PrintCharAndCodeTo | ( | Char | c, |
ostream * | os | ||
) |
References kHexEscape.
void testing::internal::PrintTo | ( | wchar_t | wc, |
ostream * | os | ||
) |
void testing::internal::UniversalPrintArray | ( | const char * | begin, |
size_t | len, | ||
ostream * | os | ||
) |
void testing::internal::UniversalPrintArray | ( | const wchar_t * | begin, |
size_t | len, | ||
ostream * | os | ||
) |
void testing::internal::PrintTo | ( | const char * | s, |
ostream * | os | ||
) |
void testing::internal::PrintStringTo | ( | const ::std::string & | s, |
ostream * | os | ||
) |
References GTEST_FLAG, and kHexEscape.
FilePath testing::internal::GetCurrentExecutableName | ( | ) |
References GetArgvs(), testing::UnitTest::GetInstance(), GTEST_FLAG, gmock_output_test::output, and p.
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and testing::TEST_F().
TimeInMillis testing::internal::GetTimeInMillis | ( | ) |
void testing::internal::SplitString | ( | const ::std::string & | str, |
char | delimiter, | ||
::std::vector< ::std::string > * | dest | ||
) |
References AlwaysTrue().
Referenced by testing::internal::SuiteApiResolver< T >::GetTearDownCaseOrSuite(), and ParseInt32Flag().
AssertionResult testing::internal::FloatingPointLE | ( | const char * | expr1, |
const char * | expr2, | ||
RawType | val1, | ||
RawType | val2 | ||
) |
References testing::AssertionFailure(), testing::AssertionSuccess(), and StringStreamToString().
References n.
Referenced by CodePointToUtf8().
std::string testing::internal::CodePointToUtf8 | ( | UInt32 | code_point | ) |
References ChopLowBits().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), operator<<(), and WideStringToUtf8().
|
inline |
Referenced by WideStringToUtf8().
|
inline |
Referenced by WideStringToUtf8().
std::string testing::internal::WideStringToUtf8 | ( | const wchar_t * | str, |
int | num_chars | ||
) |
References CodePointToUtf8(), CreateCodePointFromUtf16SurrogatePair(), i, IsUtf16SurrogatePair(), and StringStreamToString().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), operator<<(), and testing::internal::String::ShowWideCString().
void testing::internal::ReportFailureInUnknownLocation | ( | TestPartResult::Type | result_type, |
const std::string & | message | ||
) |
References ADD_FAILURE, testing::UnitTest::GetInstance(), testing::Message::GetString(), GetTestTypeId(), googletest-output-test::message, testing::TestInfo::name(), and testing::TestInfo::test_suite_name().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), HandleExceptionsInMethodIfSupported(), and HandleSehExceptionsInMethodIfSupported().
Result testing::internal::HandleSehExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
References ReportFailureInUnknownLocation().
Referenced by HandleExceptionsInMethodIfSupported().
Result testing::internal::HandleExceptionsInMethodIfSupported | ( | T * | object, |
Result(T::*)() | method, | ||
const char * | location | ||
) |
References HandleSehExceptionsInMethodIfSupported(), testing::Test::HasFatalFailure(), testing::Test::IsSkipped(), ReportFailureInUnknownLocation(), testing::Test::SetUp(), and testing::Test::TearDown().
Referenced by testing::TestSuite::GetTestInfo(), ReportInvalidTestSuiteType(), and testing::UnitTest::Run().
bool testing::internal::ShouldUseColor | ( | bool | stdout_is_tty | ) |
References testing::internal::posix::GetEnv(), and GTEST_FLAG.
Referenced by ColoredPrintf(), GTEST_DISABLE_MSC_WARNINGS_PUSH_(), main(), and TEST().
void testing::internal::ColoredPrintf | ( | GTestColor | color, |
const char * | fmt, | ||
... | |||
) |
References AlwaysFalse(), COLOR_DEFAULT, testing::internal::posix::FileNo(), testing::internal::posix::IsATTY(), ShouldUseColor(), testing::TestInfo::type_param(), testing::TestSuite::type_param(), and testing::TestInfo::value_param().
Referenced by testing::internal::PrettyUnitTestResultPrinter::OnEnvironmentsSetUpStart(), testing::internal::PrettyUnitTestResultPrinter::OnEnvironmentsTearDownStart(), testing::internal::PrettyUnitTestResultPrinter::OnTestCaseEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestCaseStart(), testing::internal::PrettyUnitTestResultPrinter::OnTestEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationEnd(), testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart(), testing::internal::PrettyUnitTestResultPrinter::OnTestStart(), testing::internal::TestSuiteNameIs::operator()(), ParseInt32Flag(), ShouldShard(), and WriteToShardStatusFileIfNeeded().
std::string testing::internal::FormatTimeInMillisAsSeconds | ( | TimeInMillis | ms | ) |
Referenced by FormatEpochTimeInMillisAsIso8601(), GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and operator<<().
std::string testing::internal::FormatEpochTimeInMillisAsIso8601 | ( | TimeInMillis | ms | ) |
References testing::TestSuite::ad_hoc_test_result(), testing::UnitTest::ad_hoc_test_result(), data, testing::TestResult::elapsed_time(), testing::TestSuite::elapsed_time(), testing::UnitTest::elapsed_time(), testing::TestSuite::failed_test_count(), testing::UnitTest::failed_test_count(), testing::TestInfo::file(), FormatCompilerIndependentFileLocation(), testing::internal::String::FormatIntWidth2(), FormatTimeInMillisAsSeconds(), testing::TestSuite::GetTestInfo(), testing::TestResult::GetTestPartResult(), testing::UnitTest::GetTestSuite(), GTEST_CHECK_, GTEST_FLAG, i, testing::TestInfo::is_in_another_shard(), testing::TestInfo::is_reportable(), testing::TestInfo::line(), testing::TestInfo::name(), testing::TestSuite::name(), testing::UnitTest::random_seed(), testing::TestSuite::reportable_disabled_test_count(), testing::UnitTest::reportable_disabled_test_count(), testing::TestSuite::reportable_test_count(), testing::UnitTest::reportable_test_count(), testing::TestInfo::result(), testing::TestInfo::should_run(), testing::TestResult::Skipped(), testing::UnitTest::start_timestamp(), StreamableToString(), testing::TestResult::test_property_count(), testing::TestResult::total_part_count(), testing::TestSuite::total_test_count(), testing::UnitTest::total_test_suite_count(), testing::TestInfo::type_param(), value, and testing::TestInfo::value_param().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and operator<<().
void testing::internal::WriteToShardStatusFileIfNeeded | ( | ) |
References COLOR_RED, ColoredPrintf(), FILE, testing::internal::posix::FOpen(), and testing::internal::posix::GetEnv().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and testing::internal::TestSuiteNameIs::operator()().
bool testing::internal::ShouldShard | ( | const char * | total_shards_env, |
const char * | shard_index_env, | ||
bool | in_subprocess_for_death_test | ||
) |
bool testing::internal::ShouldRunTestOnShard | ( | int | total_shards, |
int | shard_index, | ||
int | test_id | ||
) |
References FILE, GTEST_FLAG, i, Int32FromEnvOrDie(), testing::TestInfo::name(), testing::internal::JsonUnitTestResultPrinter::PrintJsonTestList(), testing::internal::XmlUnitTestResultPrinter::PrintXmlTestsList(), StringStreamToString(), and testing::TestInfo::value_param().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_().
bool testing::internal::ParseInt32Flag | ( | const char * | str, |
const char * | flag, | ||
Int32 * | value | ||
) |
References ch, COLOR_DEFAULT, COLOR_GREEN, COLOR_RED, COLOR_YELLOW, ColoredPrintf(), testing::internal::posix::FClose(), FILE, testing::internal::posix::FOpen(), g_help_flag, GTEST_DEV_EMAIL_, GTEST_FLAG, GTEST_FLAG_PREFIX_, GTEST_FLAG_PREFIX_DASH_, GTEST_FLAG_PREFIX_UPPER_, GTEST_LOG_, GTEST_NAME_, GTEST_PATH_SEP_, GTEST_PROJECT_URL_, i, kDeathTestStyleFlag, kDeathTestUseFork, kInternalRunDeathTestFlag, gmock_output_test::output, p, ParseInt32(), ReadEntireFile(), SkipPrefix(), and SplitString().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and ParseGoogleTestFlagsOnlyImpl().
void testing::internal::ParseGoogleTestFlagsOnlyImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
References g_help_flag, GTEST_FLAG, ParseInt32Flag(), and StreamableToString().
Referenced by ParseGoogleTestFlagsOnly().
void testing::internal::ParseGoogleTestFlagsOnly | ( | int * | argc, |
char ** | argv | ||
) |
References ParseGoogleTestFlagsOnlyImpl().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and testing::ParseFlagsTest::TestParsingFlags().
void testing::internal::ParseGoogleTestFlagsOnly | ( | int * | argc, |
wchar_t ** | argv | ||
) |
References ParseGoogleTestFlagsOnlyImpl().
Referenced by InitGoogleTestImpl().
void testing::internal::InitGoogleTestImpl | ( | int * | argc, |
CharType ** | argv | ||
) |
References g_argvs, ParseGoogleTestFlagsOnly(), and StreamableToString().
Referenced by testing::InitGoogleTest().
testing::internal::TEST_F | ( | ListenerTest | , |
DoesFoo | |||
) |
References g_events, and SUCCEED.
Referenced by operator<<(), TEST(), testing::TEST(), and testing::TEST_F().
testing::internal::TEST_F | ( | ListenerTest | , |
DoesBar | |||
) |
testing::internal::TEST | ( | IsXDigitTest | , |
WorksForNarrowAscii | |||
) |
References EXPECT_FALSE, EXPECT_TRUE, and IsXDigit().
Referenced by operator<<(), testing::internal::ExpectationTester::SetCallCount(), TEST(), testing::TEST(), and TEST().
testing::internal::TEST | ( | IsXDigitTest | , |
ReturnsFalseForNarrowNonAscii | |||
) |
References EXPECT_FALSE, and IsXDigit().
testing::internal::TEST | ( | IsXDigitTest | , |
WorksForWideAscii | |||
) |
References EXPECT_FALSE, EXPECT_TRUE, and IsXDigit().
testing::internal::TEST | ( | IsXDigitTest | , |
ReturnsFalseForWideNonAscii | |||
) |
References EXPECT_FALSE, and IsXDigit().
testing::internal::TEST | ( | ImplicitCastTest | , |
ConvertsPointers | |||
) |
References EXPECT_TRUE.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseInheritance | |||
) |
References EXPECT_EQ.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseNonConstCastOperator | |||
) |
References EXPECT_TRUE.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseConstCastOperatorOnConstValues | |||
) |
References EXPECT_TRUE.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanSelectBetweenConstAndNonConstCasrAppropriately | |||
) |
References EXPECT_FALSE, and EXPECT_TRUE.
testing::internal::TEST | ( | ImplicitCastTest | , |
CanUseImplicitConstructor | |||
) |
References EXPECT_TRUE.
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForSTLContainerIterators | |||
) |
References testing::StaticAssertTypeEq().
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForPointerToNonConst | |||
) |
testing::internal::TEST | ( | IteratorTraitsTest | , |
WorksForPointerToConst | |||
) |
References testing::StaticAssertTypeEq().
testing::internal::TEST | ( | GtestCheckSyntaxTest | , |
BehavesLikeASingleStatement | |||
) |
References AlwaysFalse(), AlwaysTrue(), else(), and GTEST_CHECK_.
testing::internal::TEST | ( | GtestCheckSyntaxTest | , |
WorksWithSwitch | |||
) |
References GTEST_CHECK_.
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsFileLocation | |||
) |
References EXPECT_PRED_FORMAT2, FormatFileLocation(), and testing::IsSubstring().
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUnknownFile | |||
) |
References EXPECT_PRED_FORMAT2, FormatFileLocation(), and testing::IsSubstring().
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUknownLine | |||
) |
References EXPECT_EQ, and FormatFileLocation().
testing::internal::TEST | ( | FormatFileLocationTest | , |
FormatsUknownFileAndLine | |||
) |
References EXPECT_EQ, and FormatFileLocation().
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsFileLocation | |||
) |
References EXPECT_EQ, and FormatCompilerIndependentFileLocation().
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownFile | |||
) |
References EXPECT_EQ, and FormatCompilerIndependentFileLocation().
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownLine | |||
) |
References EXPECT_EQ, and FormatCompilerIndependentFileLocation().
testing::internal::TEST | ( | FormatCompilerIndependentFileLocationTest | , |
FormatsUknownFileAndLine | |||
) |
testing::internal::TEST | ( | GetThreadCountTest | , |
ReturnsZeroWhenUnableToCountThreads | |||
) |
References EXPECT_EQ, and GetThreadCount().
testing::internal::TEST | ( | GtestCheckDeathTest | , |
DiesWithCorrectOutputOnFailure | |||
) |
References EXPECT_DEATH_IF_SUPPORTED, GTEST_CHECK_, and TEST().
testing::internal::TEST | ( | RegexEngineSelectionTest | , |
SelectsCorrectRegexEngine | |||
) |
References ASSERT_FALSE, EXPECT_FALSE, EXPECT_NONFATAL_FAILURE, EXPECT_PRED1, EXPECT_STREQ, EXPECT_TRUE, testing::internal::RE::FullMatch(), GTEST_USES_POSIX_RE, p, testing::internal::RE::PartialMatch(), testing::internal::RE::pattern(), TEST(), testing::TYPED_TEST(), and testing::TYPED_TEST_SUITE().
testing::internal::TEST | ( | CaptureTest | , |
CapturesStdout | |||
) |
References CaptureStdout(), EXPECT_EQ, EXPECT_STREQ, and GetCapturedStdout().
testing::internal::TEST | ( | CaptureTest | , |
CapturesStderr | |||
) |
References CaptureStderr(), EXPECT_EQ, EXPECT_STREQ, and GetCapturedStderr().
testing::internal::TEST | ( | CaptureTest | , |
CapturesStdoutAndStderr | |||
) |
References CaptureStderr(), CaptureStdout(), EXPECT_STREQ, GetCapturedStderr(), and GetCapturedStdout().
testing::internal::TEST | ( | CaptureDeathTest | , |
CannotReenterStdoutCapture | |||
) |
References CaptureStdout(), EXPECT_DEATH_IF_SUPPORTED, and GetCapturedStdout().
testing::internal::TEST | ( | ThreadLocalTest | , |
DefaultConstructorInitializesToDefaultValues | |||
) |
References EXPECT_EQ, EXPECT_TRUE, and testing::internal::ThreadLocal< T >::get().
testing::internal::TEST | ( | ThreadLocalTest | , |
SingleParamConstructorInitializesToParam | |||
) |
References EXPECT_EQ, testing::internal::ThreadLocal< T >::get(), and i.
testing::internal::TEST | ( | ThreadLocalTest | , |
ValueDefaultContructorIsNotRequiredForParamVersion | |||
) |
References testing::internal::ThreadLocal< T >::pointer().
testing::internal::TEST | ( | ThreadLocalTest | , |
GetAndPointerReturnSameValue | |||
) |
testing::internal::TEST | ( | ThreadLocalTest | , |
PointerAndConstPointerReturnSameValue | |||
) |
References ASSERT_EQ, ASSERT_FALSE, testing::internal::Mutex::AssertHeld(), EXPECT_DEATH_IF_SUPPORTED, EXPECT_EQ, EXPECT_STREQ, EXPECT_TRUE, testing::internal::ThreadLocal< T >::get(), GTEST_CHECK_, GTEST_CHECK_POSIX_SUCCESS_, GTEST_DISALLOW_ASSIGN_, GTEST_DISALLOW_COPY_AND_ASSIGN_, i, testing::internal::ThreadLocal< T >::pointer(), testing::internal::ThreadLocal< T >::set(), TEST(), and value.
testing::internal::TEST | ( | ApiTest | , |
UnitTestImmutableAccessorsWork | |||
) |
References ASSERT_EQ, testing::UnitTest::disabled_test_count(), EXPECT_EQ, EXPECT_STREQ, testing::UnitTest::GetInstance(), testing::internal::UnitTestHelper::GetSortedTestSuites(), testing::UnitTest::test_suite_to_run_count(), testing::UnitTest::test_to_run_count(), testing::UnitTest::total_test_count(), and testing::UnitTest::total_test_suite_count().
AssertionResult testing::internal::IsNull | ( | const char * | str | ) |
References testing::AssertionFailure(), and testing::AssertionSuccess().
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_(), testing::internal::FinalSuccessChecker::TearDown(), TEST(), and TEST().
testing::internal::TEST | ( | ApiTest | , |
TestSuiteImmutableAccessorsWork | |||
) |
References ASSERT_EQ, ASSERT_TRUE, testing::TestSuite::disabled_test_count(), EXPECT_EQ, EXPECT_FALSE, EXPECT_STREQ, EXPECT_TRUE, testing::internal::UnitTestHelper::FindTestSuite(), testing::internal::UnitTestHelper::GetSortedTests(), IsNull(), testing::TestSuite::name(), testing::TestSuite::should_run(), testing::TestSuite::test_to_run_count(), testing::TestSuite::total_test_count(), and testing::TestSuite::type_param().
testing::internal::TEST | ( | ApiTest | , |
TestSuiteDisabledAccessorsWork | |||
) |
References ASSERT_EQ, ASSERT_TRUE, testing::TestSuite::disabled_test_count(), EXPECT_EQ, EXPECT_FALSE, EXPECT_STREQ, EXPECT_TRUE, testing::internal::UnitTestHelper::FindTestSuite(), testing::TestSuite::GetTestInfo(), IsNull(), testing::TestSuite::name(), testing::TestSuite::should_run(), testing::TestSuite::test_to_run_count(), testing::TestSuite::total_test_count(), and testing::TestSuite::type_param().
testing::internal::TEST | ( | ApiTest | , |
DISABLED_Dummy1 | |||
) |
testing::internal::TEST | ( | DISABLED_Test | , |
Dummy2 | |||
) |
const char testing::internal::kInfoVerbosity[] = "info" |
Referenced by LogIsVisible(), ReportUninterestingCall(), and testing::internal::ExpectationTester::SetCallCount().
const char testing::internal::kWarningVerbosity[] = "warning" |
Referenced by main(), and testing::internal::ExpectationTester::SetCallCount().
const char testing::internal::kErrorVerbosity[] = "error" |
Referenced by LogIsVisible(), and testing::internal::ExpectationTester::SetCallCount().
GTEST_API_ ThreadLocal<Sequence*> testing::internal::g_gmock_implicit_sequence |
Referenced by GTEST_DISABLE_MSC_WARNINGS_PUSH_().
GTEST_API_ const char* testing::internal::fmt |
const char testing::internal::kDeathTestStyleFlag[] = "death_test_style" |
Referenced by ParseInt32Flag().
const char testing::internal::kDeathTestUseFork[] = "death_test_use_fork" |
Referenced by ParseInt32Flag().
const char testing::internal::kInternalRunDeathTestFlag[] = "internal_run_death_test" |
Referenced by ParseInt32Flag().
const char testing::internal::kStackTraceMarker = "\nStack trace:\n" |
Referenced by testing::UnitTest::listeners().
const BiggestInt testing::internal::kMaxBiggestInt |
const char testing::internal::kPathSeparator = '/' |
const char testing::internal::kCurrentDirectoryString[] = "./" |
const int testing::internal::kStdOutFileno = STDOUT_FILENO |
const int testing::internal::kStdErrFileno = STDERR_FILENO |
const char testing::internal::kUnknownFile[] = "unknown file" |
bool testing::internal::g_help_flag = false |
::std::vector<std::string> testing::internal::g_argvs |
Referenced by GetArgvs(), and InitGoogleTestImpl().
const TypeId testing::internal::kTestTypeIdInGoogleTest = GetTestTypeId() |
Referenced by GetTestTypeId(), GTEST_DISABLE_MSC_WARNINGS_PUSH_(), and operator<<().
const int testing::internal::kTypedTestSuites = 0 |
Referenced by testing::internal::UnitTestHelper::GetSortedTests().
const int testing::internal::kTypedTests = 0 |
Referenced by testing::internal::UnitTestHelper::GetSortedTests().