F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gmock-spec-builders.h File Reference
#include <cstdint>
#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"

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)

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

◆ 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 2072 of file gmock-spec-builders.h.

◆ ON_CALL

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

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

Function Documentation

◆ GTEST_DISABLE_MSC_WARNINGS_PUSH_()

GTEST_DISABLE_MSC_WARNINGS_PUSH_ ( 4251 GMOCK_MAYBE_5046_)

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