Macros | Functions
gmock-spec-builders.h File Reference
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <string>
#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 gmock-spec-builders.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EXPECT_CALL(obj, call)   GMOCK_ON_CALL_IMPL_(obj, InternalExpectedAt, call)
 
#define GMOCK_ON_CALL_IMPL_(mock_expr, Setter, call)
 
#define ON_CALL(obj, call)   GMOCK_ON_CALL_IMPL_(obj, InternalDefaultActionSetAt, 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)

◆ 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  )

Definition at line 82 of file gmock-spec-builders.h.

testing::internal::GetWithoutMatchers
GTEST_API_ WithoutMatchers GetWithoutMatchers()
Definition: gmock-internal-utils.cc:187


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03