GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Macros | Functions
cmake-build-debug/googletest-src/googlemock/include/gmock/gmock-spec-builders.h File Reference
#include <functional>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
#include "gmock/gmock-actions.h"
#include "gmock/gmock-cardinalities.h"
#include "gmock/gmock-matchers.h"
#include "gmock/internal/gmock-internal-utils.h"
#include "gmock/internal/gmock-port.h"
#include "gtest/gtest.h"
Include dependency graph for cmake-build-debug/googletest-src/googlemock/include/gmock/gmock-spec-builders.h:

Go to the source code of this file.

Macros

#define GMOCK_ON_CALL_IMPL_(mock_expr, Setter, call)
 
#define ON_CALL(obj, call)    GMOCK_ON_CALL_IMPL_(obj, InternalDefaultActionSetAt, call)
 
#define EXPECT_CALL(obj, call)    GMOCK_ON_CALL_IMPL_(obj, InternalExpectedAt, call)
 

Functions

 GTEST_DISABLE_MSC_WARNINGS_PUSH_ (4251) namespace testing
 

Macro Definition Documentation

◆ EXPECT_CALL

#define EXPECT_CALL (   obj,
  call 
)     GMOCK_ON_CALL_IMPL_(obj, InternalExpectedAt, call)

◆ GMOCK_ON_CALL_IMPL_

#define GMOCK_ON_CALL_IMPL_ (   mock_expr,
  Setter,
  call 
)
Value:
((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), \
nullptr) \
.Setter(__FILE__, __LINE__, #mock_expr, #call)
GTEST_API_ WithoutMatchers GetWithoutMatchers()

◆ ON_CALL

#define ON_CALL (   obj,
  call 
)     GMOCK_ON_CALL_IMPL_(obj, InternalDefaultActionSetAt, call)

Function Documentation

◆ GTEST_DISABLE_MSC_WARNINGS_PUSH_()

GTEST_DISABLE_MSC_WARNINGS_PUSH_ ( 4251  )