Orxonox  0.0.5 Codename: Arcturus
Macros
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"

Go to the source code of this file.

Macros

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

Macro Definition Documentation

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