Electroneum
Loading...
Searching...
No Matches
testing::internal::UntypedOnCallSpecBase Class Reference

#include <gmock-spec-builders.h>

Inheritance diagram for testing::internal::UntypedOnCallSpecBase:

Public Member Functions

 UntypedOnCallSpecBase (const char *a_file, int a_line)
const char * file () const
int line () const

Protected Types

enum  Clause { kNone , kWith , kWillByDefault }

Protected Member Functions

void AssertSpecProperty (bool property, const string &failure_message) const
void ExpectSpecProperty (bool property, const string &failure_message) const

Protected Attributes

const char * file_
int line_
Clause last_clause_

Detailed Description

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

Member Enumeration Documentation

◆ Clause

Enumerator
kNone 
kWith 
kWillByDefault 

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

257 {
258 // Do not change the order of the enum members! The run-time
259 // syntax checking relies on it.
260 kNone,
261 kWith,
263 };

Constructor & Destructor Documentation

◆ UntypedOnCallSpecBase()

testing::internal::UntypedOnCallSpecBase::UntypedOnCallSpecBase ( const char * a_file,
int a_line )
inline

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

Here is the caller graph for this function:

Member Function Documentation

◆ AssertSpecProperty()

void testing::internal::UntypedOnCallSpecBase::AssertSpecProperty ( bool property,
const string & failure_message ) const
inlineprotected

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

266 {
267 Assert(property, file_, line_, failure_message);
268 }
void Assert(bool condition, const char *file, int line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExpectSpecProperty()

void testing::internal::UntypedOnCallSpecBase::ExpectSpecProperty ( bool property,
const string & failure_message ) const
inlineprotected

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

271 {
272 Expect(property, file_, line_, failure_message);
273 }
void Expect(bool condition, const char *file, int line, const string &msg)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ file()

const char * testing::internal::UntypedOnCallSpecBase::file ( ) const
inline

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

252{ return file_; }

◆ line()

int testing::internal::UntypedOnCallSpecBase::line ( ) const
inline

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

253{ return line_; }

Member Data Documentation

◆ file_

const char* testing::internal::UntypedOnCallSpecBase::file_
protected

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

◆ last_clause_

Clause testing::internal::UntypedOnCallSpecBase::last_clause_
protected

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

◆ line_

int testing::internal::UntypedOnCallSpecBase::line_
protected

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


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h