userver: storages::redis::MockPublishWaiter Class Reference
Loading...
Searching...
No Matches
storages::redis::MockPublishWaiter Class Reference

Detailed Description

Definition at line 31 of file mock_publish_waiter.hpp.

Public Member Functions

template<typename T>
 MockPublishWaiter (GMockClient &redis_mock, const std::string &debug_channel_name, T &&matcher, size_t times_called=1)
void Wait ()
const std::string & GetPublishedMessage (size_t index) const
size_t GetPublishedMessagesCount () const

Constructor & Destructor Documentation

◆ MockPublishWaiter()

template<typename T>
storages::redis::MockPublishWaiter::MockPublishWaiter ( GMockClient & redis_mock,
const std::string & debug_channel_name,
T && matcher,
size_t times_called = 1 )
inline

Definition at line 35 of file mock_publish_waiter.hpp.

Member Function Documentation

◆ GetPublishedMessage()

const std::string & storages::redis::MockPublishWaiter::GetPublishedMessage ( size_t index) const
inline

Definition at line 65 of file mock_publish_waiter.hpp.

◆ GetPublishedMessagesCount()

size_t storages::redis::MockPublishWaiter::GetPublishedMessagesCount ( ) const
inline

Definition at line 66 of file mock_publish_waiter.hpp.

◆ Wait()

void storages::redis::MockPublishWaiter::Wait ( )
inline

Definition at line 59 of file mock_publish_waiter.hpp.


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