class UntypedOnCallSpecBase
Defined at line 239 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
Untyped base class for OnCallSpec
<F
>.
Protected Members
const char * file_
int line_
Clause last_clause_
Public Methods
void UntypedOnCallSpecBase (const char * a_file, int a_line)
The arguments are the location of the ON_CALL() statement.
Defined at line 242 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
const char * file ()
Where in the source file was the default action spec defined?
Defined at line 246 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
int line ()
Defined at line 247 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
Protected Methods
void AssertSpecProperty (bool property, const std::string & failure_message)
Asserts that the ON_CALL() statement has a certain property.
Defined at line 260 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
void ExpectSpecProperty (bool property, const std::string & failure_message)
Expects that the ON_CALL() statement has a certain property.
Defined at line 266 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
Enumerations
enum Clause
| Name | Value |
|---|---|
| kNone | 0 |
| kWith | 1 |
| kWillByDefault | 2 |
Gives each clause in the ON_CALL() statement a name.
Defined at line 251 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h