proxygen
gmock-spec-builders.h File Reference
#include <map>
#include <set>
#include <sstream>
#include <string>
#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.

Classes

class  testing::internal::FunctionMocker< F >
 
class  testing::internal::TypedExpectation< F >
 
class  testing::internal::FunctionMockerBase< F >
 
class  testing::internal::UntypedFunctionMockerBase
 
class  testing::internal::UntypedOnCallSpecBase
 
class  testing::internal::OnCallSpec< F >
 
class  testing::Mock
 
class  testing::Expectation
 
class  testing::Expectation::Less
 
class  testing::ExpectationSet
 
class  testing::Sequence
 
class  testing::InSequence
 
class  testing::internal::ExpectationBase
 
class  testing::internal::TypedExpectation< F >
 
class  testing::internal::MockSpec< F >
 
class  testing::internal::ReferenceOrValueWrapper< T >
 
class  testing::internal::ReferenceOrValueWrapper< T & >
 
class  testing::internal::UntypedActionResultHolderBase
 
class  testing::internal::ActionResultHolder< T >
 
class  testing::internal::ActionResultHolder< void >
 
class  testing::internal::FunctionMockerBase< F >
 

Namespaces

 testing
 
 testing::internal
 

Macros

#define GMOCK_ON_CALL_IMPL_(obj, call)
 
#define ON_CALL(obj, call)   GMOCK_ON_CALL_IMPL_(obj, call)
 
#define GMOCK_EXPECT_CALL_IMPL_(obj, call)   ((obj).gmock_##call).InternalExpectedAt(__FILE__, __LINE__, #obj, #call)
 
#define EXPECT_CALL(obj, call)   GMOCK_EXPECT_CALL_IMPL_(obj, call)
 

Enumerations

enum  testing::internal::CallReaction {
  testing::internal::kAllow, testing::internal::kWarn, testing::internal::kFail, testing::internal::kDefault = kWarn,
  testing::internal::kAllow, testing::internal::kWarn, testing::internal::kFail, testing::internal::kDefault = kWarn,
  testing::internal::kAllow, testing::internal::kWarn, testing::internal::kFail, testing::internal::kDefault = kWarn
}
 

Functions

GTEST_API_ testing::internal::GTEST_DECLARE_STATIC_MUTEX_ (g_gmock_mutex)
 
GTEST_API_ void testing::internal::LogWithLocation (testing::internal::LogSeverity severity, const char *file, int line, const string &message)
 
void testing::internal::ReportUninterestingCall (CallReaction reaction, const string &msg)
 
template<typename T >
const Ttesting::Const (const T &x)
 

Macro Definition Documentation

#define EXPECT_CALL (   obj,
  call 
)    GMOCK_EXPECT_CALL_IMPL_(obj, call)

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

#define GMOCK_EXPECT_CALL_IMPL_ (   obj,
  call 
)    ((obj).gmock_##call).InternalExpectedAt(__FILE__, __LINE__, #obj, #call)

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

#define GMOCK_ON_CALL_IMPL_ (   obj,
  call 
)
Value:
((obj).gmock_##call).InternalDefaultActionSetAt(__FILE__, __LINE__, \
#obj, #call)
Future< bool > call(int depth, Executor *executor)

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

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

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