Electroneum
Loading...
Searching...
No Matches
gmock-port.h File Reference
#include <assert.h>
#include <stdlib.h>
#include <iostream>
#include "gtest/internal/gtest-linked_ptr.h"
#include "gtest/internal/gtest-port.h"
#include "gmock/internal/custom/gmock-port.h"
Include dependency graph for gmock-port.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GMOCK_FLAG(name)
#define GMOCK_DECLARE_bool_(name)
#define GMOCK_DECLARE_int32_(name)
#define GMOCK_DECLARE_string_(name)
#define GMOCK_DEFINE_bool_(name, default_val, doc)
#define GMOCK_DEFINE_int32_(name, default_val, doc)
#define GMOCK_DEFINE_string_(name, default_val, doc)

Macro Definition Documentation

◆ GMOCK_DECLARE_bool_

#define GMOCK_DECLARE_bool_ ( name)
Value:
extern GTEST_API_ bool GMOCK_FLAG(name)
#define GTEST_API_
Definition gtest-port.h:934
#define GMOCK_FLAG(name)
Definition gmock-port.h:70

Definition at line 75 of file gmock-port.h.

◆ GMOCK_DECLARE_int32_

#define GMOCK_DECLARE_int32_ ( name)
Value:
extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)

Definition at line 76 of file gmock-port.h.

76#define GMOCK_DECLARE_int32_(name) \
77 extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)

◆ GMOCK_DECLARE_string_

#define GMOCK_DECLARE_string_ ( name)
Value:
extern GTEST_API_ ::std::string GMOCK_FLAG(name)

Definition at line 78 of file gmock-port.h.

78#define GMOCK_DECLARE_string_(name) \
79 extern GTEST_API_ ::std::string GMOCK_FLAG(name)

◆ GMOCK_DEFINE_bool_

#define GMOCK_DEFINE_bool_ ( name,
default_val,
doc )
Value:
GTEST_API_ bool GMOCK_FLAG(name) = (default_val)

Definition at line 82 of file gmock-port.h.

82#define GMOCK_DEFINE_bool_(name, default_val, doc) \
83 GTEST_API_ bool GMOCK_FLAG(name) = (default_val)

◆ GMOCK_DEFINE_int32_

#define GMOCK_DEFINE_int32_ ( name,
default_val,
doc )
Value:
GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)

Definition at line 84 of file gmock-port.h.

84#define GMOCK_DEFINE_int32_(name, default_val, doc) \
85 GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)

◆ GMOCK_DEFINE_string_

#define GMOCK_DEFINE_string_ ( name,
default_val,
doc )
Value:
GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)

Definition at line 86 of file gmock-port.h.

86#define GMOCK_DEFINE_string_(name, default_val, doc) \
87 GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)

◆ GMOCK_FLAG

#define GMOCK_FLAG ( name)
Value:
FLAGS_gmock_##name

Definition at line 70 of file gmock-port.h.