#include "gmock/gmock.h"
#include <string>
#include "gmock/internal/gmock-port.h"
Go to the source code of this file.
|
| GMOCK_DEFINE_bool_ (catch_leaked_mocks, true,"true if and only if Google Mock should report leaked ""mock objects as failures.") |
|
| GMOCK_DEFINE_string_ (verbose, testing::internal::kWarningVerbosity,"Controls how verbose Google Mock's output is."" Valid values:\n"" info - prints all messages.\n"" warning - prints warnings and errors.\n"" error - prints errors only.") |
|
| GMOCK_DEFINE_int32_ (default_mock_behavior, 1,"Controls the default behavior of mocks."" Valid values:\n"" 0 - by default, mocks act as NiceMocks.\n"" 1 - by default, mocks act as NaggyMocks.\n"" 2 - by default, mocks act as StrictMocks.") |
|
static const char * | testing::internal::ParseGoogleMockFlagValue (const char *str, const char *flag_name, bool def_optional) |
|
static bool | testing::internal::ParseGoogleMockFlag (const char *str, const char *flag_name, bool *value) |
|
template<typename String > |
static bool | testing::internal::ParseGoogleMockFlag (const char *str, const char *flag_name, String *value) |
|
static bool | testing::internal::ParseGoogleMockFlag (const char *str, const char *flag_name, int32_t *value) |
|
template<typename CharType > |
void | testing::internal::InitGoogleMockImpl (int *argc, CharType **argv) |
|
GTEST_API_ void | testing::InitGoogleMock (int *argc, char **argv) |
|
GTEST_API_ void | testing::InitGoogleMock (int *argc, wchar_t **argv) |
|
GTEST_API_ void | testing::InitGoogleMock () |
|
#define GMOCK_INTERNAL_PARSE_FLAG |
( |
|
flag_name | ) |
|
Value:if (!found_gmock_flag) { \
found_gmock_flag = true; \
} \
}
static bool ParseGoogleMockFlag(const char *str, const char *flag_name, bool *value)
#define GMOCK_FLAG_GET(name)
#define GMOCK_FLAG_SET(name, value)
GMOCK_DEFINE_bool_ |
( |
catch_leaked_mocks |
, |
|
|
true |
, |
|
|
"true if and only if Google Mock should report leaked ""mock objects as failures." |
|
|
) |
| |
GMOCK_DEFINE_int32_ |
( |
default_mock_behavior |
, |
|
|
1 |
, |
|
|
"Controls the default behavior of mocks."" Valid values:\n"" 0 - by |
default, |
|
|
mocks act as NiceMocks.\n""1-by |
default, |
|
|
mocks act as NaggyMocks.\n""2-by |
default, |
|
|
mocks act as StrictMocks." |
|
|
) |
| |