Lines Matching defs:internal

79 #include "gmock/internal/gmock-internal-utils.h"
80 #include "gmock/internal/gmock-port.h"
98 // Anything inside the 'internal' namespace IS INTERNAL IMPLEMENTATION
100 namespace internal {
358 } // namespace internal
368 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
374 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
380 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
384 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
387 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
390 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
393 friend class internal::UntypedFunctionMockerBase;
398 friend class internal::FunctionMocker;
401 friend class internal::NiceMockImpl;
403 friend class internal::NaggyMockImpl;
405 friend class internal::StrictMockImpl;
410 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
415 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
420 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
425 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
429 static internal::CallReaction GetReactionOnUninterestingCalls(
430 const void* mock_obj) GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
436 GTEST_EXCLUSIVE_LOCK_REQUIRED_(internal::g_gmock_mutex);
440 GTEST_EXCLUSIVE_LOCK_REQUIRED_(internal::g_gmock_mutex);
444 internal::UntypedFunctionMockerBase* mocker)
445 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
452 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex);
458 static void UnregisterLocked(internal::UntypedFunctionMockerBase* mocker)
459 GTEST_EXCLUSIVE_LOCK_REQUIRED_(internal::g_gmock_mutex);
497 Expectation(internal::ExpectationBase& exp); // NOLINT
513 friend class ::testing::internal::ExpectationBase;
514 friend class ::testing::internal::UntypedFunctionMockerBase;
517 friend class ::testing::internal::FunctionMocker;
520 friend class ::testing::internal::TypedExpectation;
533 const std::shared_ptr<internal::ExpectationBase>& expectation_base);
536 const std::shared_ptr<internal::ExpectationBase>& expectation_base() const {
541 std::shared_ptr<internal::ExpectationBase> expectation_base_;
571 ExpectationSet(internal::ExpectationBase& exp) { // NOLINT
662 namespace internal {
681 // This class is internal and mustn't be used by user code directly.
832 friend class ::testing::internal::ExpectationTester;
1152 internal::PrintIfNotEmpty(listener.str(), os);
1269 // classes in ::testing::internal declare it as a friend class
1271 // ::testing::internal and import it into ::testing.
1274 GTEST_API_ void LogWithLocation(testing::internal::LogSeverity severity,
1281 typedef typename internal::Function<F>::ArgumentTuple ArgumentTuple;
1283 typename internal::Function<F>::ArgumentMatcherTuple ArgumentMatcherTuple;
1287 MockSpec(internal::FunctionMocker<F>* function_mocker,
1293 internal::OnCallSpec<F>& InternalDefaultActionSetAt(const char* file,
1296 LogWithLocation(internal::kInfo, file, line,
1303 internal::TypedExpectation<F>& InternalExpectedAt(const char* file, int line,
1308 LogWithLocation(internal::kInfo, file, line, source_text + " invoked");
1316 MockSpec<F>& operator()(const internal::WithoutMatchers&, void* const) {
1322 friend class internal::FunctionMocker;
1325 internal::FunctionMocker<F>* const function_mocker_;
1710 using can_print_result = internal::conjunction<
1712 internal::negation<std::is_void<T>>,
1734 internal::negation<can_print_result<T>>::value, int>::type = 0>
1863 } // namespace internal
1865 namespace internal {
1933 } // namespace internal
1936 // internal::SignatureOfT<F>. It is useful when you just want your
1973 // std::function<internal::SignatureOfT<F>> callbacks. To do so, use
1983 // The internal::SignatureOfT<F> indirection allows to use other types
1996 class MockFunction : public internal::MockFunction<internal::SignatureOfT<F>> {
1997 using Base = internal::MockFunction<internal::SignatureOfT<F>>;
2008 using internal::MockSpec;
2031 inline Expectation::Expectation(internal::ExpectationBase& exp) // NOLINT
2041 // tests in internal/gmock-spec-builders_test.cc for more details.
2097 // second argument is an internal type derived from the method signature. The
2101 ((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), \