AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Classes | Namespaces | Macros | Enumerations | Functions | Variables
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"
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.

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::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 }
 

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 T & testing::Const (const T &x)
 

Variables

class GTEST_API_ testing::InSequence testing::GTEST_ATTRIBUTE_UNUSED_
 
GTEST_API_ ThreadLocal< Sequence * > testing::internal::g_gmock_implicit_sequence
 

Macro Definition Documentation

◆ EXPECT_CALL

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

◆ GMOCK_EXPECT_CALL_IMPL_

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

◆ GMOCK_ON_CALL_IMPL_

#define GMOCK_ON_CALL_IMPL_ (   obj,
  call 
)
Value:
((obj).gmock_##call).InternalDefaultActionSetAt(__FILE__, __LINE__, \
#obj, #call)

◆ ON_CALL

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0