Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Macros | Functions
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 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 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

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

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

◆ ON_CALL

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

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

◆ EXPECT_CALL

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

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

Function Documentation

◆ GTEST_DISABLE_MSC_WARNINGS_PUSH_()

GTEST_DISABLE_MSC_WARNINGS_PUSH_ ( 4251 )

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