proxygen
testing::internal::UntypedOnCallSpecBase Class Reference

#include <gmock-spec-builders.h>

Inheritance diagram for testing::internal::UntypedOnCallSpecBase:
testing::internal::OnCallSpec< F > testing::internal::OnCallSpec< F > testing::internal::OnCallSpec< F >

Public Member Functions

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

Protected Types

enum  Clause {
  kNone, kWith, kWillByDefault, kNone,
  kWith, kWillByDefault, kNone, kWith,
  kWillByDefault
}
 
enum  Clause {
  kNone, kWith, kWillByDefault, kNone,
  kWith, kWillByDefault, kNone, kWith,
  kWillByDefault
}
 
enum  Clause {
  kNone, kWith, kWillByDefault, kNone,
  kWith, kWillByDefault, kNone, kWith,
  kWillByDefault
}
 

Protected Member Functions

void AssertSpecProperty (bool property, const string &failure_message) const
 
void ExpectSpecProperty (bool property, const string &failure_message) const
 
void AssertSpecProperty (bool property, const string &failure_message) const
 
void ExpectSpecProperty (bool property, const string &failure_message) const
 
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

Enumerator
kNone 
kWith 
kWillByDefault 
kNone 
kWith 
kWillByDefault 
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  };
Enumerator
kNone 
kWith 
kWillByDefault 
kNone 
kWith 
kWillByDefault 
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  };
Enumerator
kNone 
kWith 
kWillByDefault 
kNone 
kWith 
kWillByDefault 
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

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

Member Function Documentation

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

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

References testing::internal::Assert().

266  {
267  Assert(property, file_, line_, failure_message);
268  }
void Assert(bool condition, const char *file, int line)
void testing::internal::UntypedOnCallSpecBase::AssertSpecProperty ( bool  property,
const string failure_message 
) const
inlineprotected

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

References testing::internal::Assert().

266  {
267  Assert(property, file_, line_, failure_message);
268  }
void Assert(bool condition, const char *file, int line)
void testing::internal::UntypedOnCallSpecBase::AssertSpecProperty ( bool  property,
const string failure_message 
) const
inlineprotected

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

References testing::internal::Assert().

266  {
267  Assert(property, file_, line_, failure_message);
268  }
void Assert(bool condition, const char *file, int line)
void testing::internal::UntypedOnCallSpecBase::ExpectSpecProperty ( bool  property,
const string failure_message 
) const
inlineprotected

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

References testing::internal::Expect().

271  {
272  Expect(property, file_, line_, failure_message);
273  }
void Expect(bool condition, const char *file, int line, const string &msg)
void testing::internal::UntypedOnCallSpecBase::ExpectSpecProperty ( bool  property,
const string failure_message 
) const
inlineprotected

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

References testing::internal::Expect().

271  {
272  Expect(property, file_, line_, failure_message);
273  }
void Expect(bool condition, const char *file, int line, const string &msg)
void testing::internal::UntypedOnCallSpecBase::ExpectSpecProperty ( bool  property,
const string failure_message 
) const
inlineprotected

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

References testing::internal::Expect().

271  {
272  Expect(property, file_, line_, failure_message);
273  }
void Expect(bool condition, const char *file, int line, const string &msg)
const char* testing::internal::UntypedOnCallSpecBase::file ( ) const
inline
const char* testing::internal::UntypedOnCallSpecBase::file ( ) const
inline

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

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

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

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

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

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

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

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

Member Data Documentation

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

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

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

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

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: