Wire Sysio Wire Sysion 1.0.0
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:
std::string name
#define GMOCK_FLAG(name)
Definition gmock-port.h:66
#define GTEST_API_
Definition gtest-port.h:984

Definition at line 71 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 72 of file gmock-port.h.

72# define GMOCK_DECLARE_int32_(name) \
73 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 74 of file gmock-port.h.

74# define GMOCK_DECLARE_string_(name) \
75 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 78 of file gmock-port.h.

78# define GMOCK_DEFINE_bool_(name, default_val, doc) \
79 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 80 of file gmock-port.h.

80# define GMOCK_DEFINE_int32_(name, default_val, doc) \
81 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 82 of file gmock-port.h.

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

◆ GMOCK_FLAG

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

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