AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Types | Public Member Functions | List of all members
testing::internal::OnCallSpec< F > Class Template Reference

#include <gmock-spec-builders.h>

Inheritance diagram for testing::internal::OnCallSpec< F >:
Inheritance graph
[legend]
Collaboration diagram for testing::internal::OnCallSpec< F >:
Collaboration graph
[legend]

Public Types

typedef Function< F >::ArgumentTuple ArgumentTuple
 
typedef Function< F >::ArgumentMatcherTuple ArgumentMatcherTuple
 

Public Member Functions

 OnCallSpec (const char *a_file, int a_line, const ArgumentMatcherTuple &matchers)
 
OnCallSpecWith (const Matcher< const ArgumentTuple &> &m)
 
OnCallSpecWillByDefault (const Action< F > &action)
 
bool Matches (const ArgumentTuple &args) const
 
const Action< F > & GetAction () const
 
- Public Member Functions inherited from testing::internal::UntypedOnCallSpecBase
 UntypedOnCallSpecBase (const char *a_file, int a_line)
 
const char * file () const
 
int line () const
 

Additional Inherited Members

- Protected Types inherited from testing::internal::UntypedOnCallSpecBase
enum  Clause { kNone, kWith, kWillByDefault }
 
- Protected Member Functions inherited from testing::internal::UntypedOnCallSpecBase
void AssertSpecProperty (bool property, const string &failure_message) const
 
void ExpectSpecProperty (bool property, const string &failure_message) const
 
- Protected Attributes inherited from testing::internal::UntypedOnCallSpecBase
const char * file_
 
int line_
 
Clause last_clause_
 

Member Typedef Documentation

◆ ArgumentMatcherTuple

◆ ArgumentTuple

template<typename F>
typedef Function<F>::ArgumentTuple testing::internal::OnCallSpec< F >::ArgumentTuple

Constructor & Destructor Documentation

◆ OnCallSpec()

template<typename F>
testing::internal::OnCallSpec< F >::OnCallSpec ( const char *  a_file,
int  a_line,
const ArgumentMatcherTuple matchers 
)
inline

Member Function Documentation

◆ GetAction()

template<typename F>
const Action<F>& testing::internal::OnCallSpec< F >::GetAction ( ) const
inline

◆ Matches()

template<typename F>
bool testing::internal::OnCallSpec< F >::Matches ( const ArgumentTuple args) const
inline

◆ WillByDefault()

template<typename F>
OnCallSpec& testing::internal::OnCallSpec< F >::WillByDefault ( const Action< F > &  action)
inline

◆ With()

template<typename F>
OnCallSpec& testing::internal::OnCallSpec< F >::With ( const Matcher< const ArgumentTuple &> &  m)
inline

The documentation for this class was generated from the following file:

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