Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::Sequence Class Reference

#include <gmock-spec-builders.h>

Public Member Functions

 Sequence ()
 
void AddExpectation (const Expectation &expectation) const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Sequence()

testing::Sequence::Sequence ( )
inline

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

627: last_expectation_(new Expectation) {}

Member Function Documentation

◆ AddExpectation()

void testing::Sequence::AddExpectation ( const Expectation & expectation) const

Definition at line 848 of file gmock-spec-builders.cc.

848 {
849 if (*last_expectation_ != expectation) {
850 if (last_expectation_->expectation_base() != NULL) {
851 expectation.expectation_base()->immediate_prerequisites_
852 += *last_expectation_;
853 }
854 *last_expectation_ = expectation;
855 }
856}
Here is the caller graph for this function:

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