- 3.0.1 core module.
gmock-port.h File Reference
#include <assert.h>
#include <stdlib.h>
#include <iostream>
#include "gtest/internal/gtest-port.h"
#include "gmock/internal/custom/gmock-port.h"

Go to the source code of this file.

Macros

#define GMOCK_FLAG(name)   FLAGS_gmock_##name
 
#define GMOCK_DECLARE_bool_(name)   extern GTEST_API_ bool GMOCK_FLAG(name)
 
#define GMOCK_DECLARE_int32_(name)   extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)
 
#define GMOCK_DECLARE_string_(name)   extern GTEST_API_ ::std::string GMOCK_FLAG(name)
 
#define GMOCK_DEFINE_bool_(name, default_val, doc)   GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
 
#define GMOCK_DEFINE_int32_(name, default_val, doc)   GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
 
#define GMOCK_DEFINE_string_(name, default_val, doc)   GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)
 

Macro Definition Documentation

#define GMOCK_DECLARE_bool_ (   name)    extern GTEST_API_ bool GMOCK_FLAG(name)
#define GMOCK_DECLARE_int32_ (   name)    extern GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name)
#define GMOCK_DECLARE_string_ (   name)    extern GTEST_API_ ::std::string GMOCK_FLAG(name)
#define GMOCK_DEFINE_bool_ (   name,
  default_val,
  doc 
)    GTEST_API_ bool GMOCK_FLAG(name) = (default_val)
#define GMOCK_DEFINE_int32_ (   name,
  default_val,
  doc 
)    GTEST_API_ ::testing::internal::Int32 GMOCK_FLAG(name) = (default_val)
#define GMOCK_DEFINE_string_ (   name,
  default_val,
  doc 
)    GTEST_API_ ::std::string GMOCK_FLAG(name) = (default_val)