Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Macros | Functions
gmock-generated-matchers.h File Reference
#include <sstream>
#include <string>
#include <vector>
#include "gmock/gmock-matchers.h"

Go to the source code of this file.

Classes

class  testing::internal::ArgsMatcher< InnerMatcher, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >
 
class  testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >
 
class  testing::internal::ElementsAreMatcher1< T1 >
 
class  testing::internal::ElementsAreMatcher10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >
 
class  testing::internal::ElementsAreMatcher2< T1, T2 >
 
class  testing::internal::ElementsAreMatcher3< T1, T2, T3 >
 
class  testing::internal::ElementsAreMatcher4< T1, T2, T3, T4 >
 
class  testing::internal::ElementsAreMatcher5< T1, T2, T3, T4, T5 >
 
class  testing::internal::ElementsAreMatcher6< T1, T2, T3, T4, T5, T6 >
 
class  testing::internal::ElementsAreMatcher7< T1, T2, T3, T4, T5, T6, T7 >
 
class  testing::internal::ElementsAreMatcher8< T1, T2, T3, T4, T5, T6, T7, T8 >
 
class  testing::internal::ElementsAreMatcher9< T1, T2, T3, T4, T5, T6, T7, T8, T9 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7, k8,-1 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7,-1,-1 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6,-1,-1,-1 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5,-1,-1,-1,-1 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4,-1,-1,-1,-1,-1 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2, k3,-1,-1,-1,-1,-1,-1 >
 
class  testing::internal::TupleFields< Tuple, k0, k1, k2,-1,-1,-1,-1,-1,-1,-1 >
 
class  testing::internal::TupleFields< Tuple, k0, k1,-1,-1,-1,-1,-1,-1,-1,-1 >
 
class  testing::internal::TupleFields< Tuple, k0,-1,-1,-1,-1,-1,-1,-1,-1,-1 >
 
class  testing::internal::TupleFields< Tuple,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 >
 

Namespaces

 testing
 
 testing::internal
 

Macros

#define GMOCK_FIELD_TYPE_(Tuple, i)   typename ::std::tr1::tuple_element<i, Tuple>::type
 
#define MATCHER(name, description)
 << DiffStrings(str, arg); More...
 
#define MATCHER_P(name, p0, description)
 
#define MATCHER_P10(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, description)
 
#define MATCHER_P2(name, p0, p1, description)
 
#define MATCHER_P3(name, p0, p1, p2, description)
 
#define MATCHER_P4(name, p0, p1, p2, p3, description)
 
#define MATCHER_P5(name, p0, p1, p2, p3, p4, description)
 
#define MATCHER_P6(name, p0, p1, p2, p3, p4, p5, description)
 
#define MATCHER_P7(name, p0, p1, p2, p3, p4, p5, p6, description)
 
#define MATCHER_P8(name, p0, p1, p2, p3, p4, p5, p6, p7, description)
 
#define MATCHER_P9(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, description)
 

Functions

template<typename Matcher1 , typename Matcher2 >
internal::BothOfMatcher< Matcher1, Matcher2 > testing::AllOf (Matcher1 m1, Matcher2 m2)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 >
internal::BothOfMatcher< Matcher1, internal::BothOfMatcher< Matcher2, Matcher3 > > testing::AllOf (Matcher1 m1, Matcher2 m2, Matcher3 m3)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 >
internal::BothOfMatcher< Matcher1, internal::BothOfMatcher< Matcher2, internal::BothOfMatcher< Matcher3, Matcher4 > > > testing::AllOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 >
internal::BothOfMatcher< Matcher1, internal::BothOfMatcher< Matcher2, internal::BothOfMatcher< Matcher3, internal::BothOfMatcher< Matcher4, Matcher5 > > > > testing::AllOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 >
internal::BothOfMatcher< Matcher1, internal::BothOfMatcher< Matcher2, internal::BothOfMatcher< Matcher3, internal::BothOfMatcher< Matcher4, internal::BothOfMatcher< Matcher5, Matcher6 > > > > > testing::AllOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 , typename Matcher7 >
internal::BothOfMatcher< Matcher1, internal::BothOfMatcher< Matcher2, internal::BothOfMatcher< Matcher3, internal::BothOfMatcher< Matcher4, internal::BothOfMatcher< Matcher5, internal::BothOfMatcher< Matcher6, Matcher7 > > > > > > testing::AllOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6, Matcher7 m7)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 , typename Matcher7 , typename Matcher8 >
internal::BothOfMatcher< Matcher1, internal::BothOfMatcher< Matcher2, internal::BothOfMatcher< Matcher3, internal::BothOfMatcher< Matcher4, internal::BothOfMatcher< Matcher5, internal::BothOfMatcher< Matcher6, internal::BothOfMatcher< Matcher7, Matcher8 > > > > > > > testing::AllOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6, Matcher7 m7, Matcher8 m8)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 , typename Matcher7 , typename Matcher8 , typename Matcher9 >
internal::BothOfMatcher< Matcher1, internal::BothOfMatcher< Matcher2, internal::BothOfMatcher< Matcher3, internal::BothOfMatcher< Matcher4, internal::BothOfMatcher< Matcher5, internal::BothOfMatcher< Matcher6, internal::BothOfMatcher< Matcher7, internal::BothOfMatcher< Matcher8, Matcher9 > > > > > > > > testing::AllOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6, Matcher7 m7, Matcher8 m8, Matcher9 m9)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 , typename Matcher7 , typename Matcher8 , typename Matcher9 , typename Matcher10 >
internal::BothOfMatcher< Matcher1, internal::BothOfMatcher< Matcher2, internal::BothOfMatcher< Matcher3, internal::BothOfMatcher< Matcher4, internal::BothOfMatcher< Matcher5, internal::BothOfMatcher< Matcher6, internal::BothOfMatcher< Matcher7, internal::BothOfMatcher< Matcher8, internal::BothOfMatcher< Matcher9, Matcher10 > > > > > > > > > testing::AllOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6, Matcher7 m7, Matcher8 m8, Matcher9 m9, Matcher10 m10)
 
template<typename Matcher1 , typename Matcher2 >
internal::EitherOfMatcher< Matcher1, Matcher2 > testing::AnyOf (Matcher1 m1, Matcher2 m2)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 >
internal::EitherOfMatcher< Matcher1, internal::EitherOfMatcher< Matcher2, Matcher3 > > testing::AnyOf (Matcher1 m1, Matcher2 m2, Matcher3 m3)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 >
internal::EitherOfMatcher< Matcher1, internal::EitherOfMatcher< Matcher2, internal::EitherOfMatcher< Matcher3, Matcher4 > > > testing::AnyOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 >
internal::EitherOfMatcher< Matcher1, internal::EitherOfMatcher< Matcher2, internal::EitherOfMatcher< Matcher3, internal::EitherOfMatcher< Matcher4, Matcher5 > > > > testing::AnyOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 >
internal::EitherOfMatcher< Matcher1, internal::EitherOfMatcher< Matcher2, internal::EitherOfMatcher< Matcher3, internal::EitherOfMatcher< Matcher4, internal::EitherOfMatcher< Matcher5, Matcher6 > > > > > testing::AnyOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 , typename Matcher7 >
internal::EitherOfMatcher< Matcher1, internal::EitherOfMatcher< Matcher2, internal::EitherOfMatcher< Matcher3, internal::EitherOfMatcher< Matcher4, internal::EitherOfMatcher< Matcher5, internal::EitherOfMatcher< Matcher6, Matcher7 > > > > > > testing::AnyOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6, Matcher7 m7)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 , typename Matcher7 , typename Matcher8 >
internal::EitherOfMatcher< Matcher1, internal::EitherOfMatcher< Matcher2, internal::EitherOfMatcher< Matcher3, internal::EitherOfMatcher< Matcher4, internal::EitherOfMatcher< Matcher5, internal::EitherOfMatcher< Matcher6, internal::EitherOfMatcher< Matcher7, Matcher8 > > > > > > > testing::AnyOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6, Matcher7 m7, Matcher8 m8)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 , typename Matcher7 , typename Matcher8 , typename Matcher9 >
internal::EitherOfMatcher< Matcher1, internal::EitherOfMatcher< Matcher2, internal::EitherOfMatcher< Matcher3, internal::EitherOfMatcher< Matcher4, internal::EitherOfMatcher< Matcher5, internal::EitherOfMatcher< Matcher6, internal::EitherOfMatcher< Matcher7, internal::EitherOfMatcher< Matcher8, Matcher9 > > > > > > > > testing::AnyOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6, Matcher7 m7, Matcher8 m8, Matcher9 m9)
 
template<typename Matcher1 , typename Matcher2 , typename Matcher3 , typename Matcher4 , typename Matcher5 , typename Matcher6 , typename Matcher7 , typename Matcher8 , typename Matcher9 , typename Matcher10 >
internal::EitherOfMatcher< Matcher1, internal::EitherOfMatcher< Matcher2, internal::EitherOfMatcher< Matcher3, internal::EitherOfMatcher< Matcher4, internal::EitherOfMatcher< Matcher5, internal::EitherOfMatcher< Matcher6, internal::EitherOfMatcher< Matcher7, internal::EitherOfMatcher< Matcher8, internal::EitherOfMatcher< Matcher9, Matcher10 > > > > > > > > > testing::AnyOf (Matcher1 m1, Matcher2 m2, Matcher3 m3, Matcher4 m4, Matcher5 m5, Matcher6 m6, Matcher7 m7, Matcher8 m8, Matcher9 m9, Matcher10 m10)
 
template<typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher > testing::Args (const InnerMatcher &matcher)
 
template<int k1, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9 > testing::Args (const InnerMatcher &matcher)
 
template<int k1, int k2, int k3, int k4, int k5, int k6, int k7, int k8, int k9, int k10, typename InnerMatcher >
internal::ArgsMatcher< InnerMatcher, k1, k2, k3, k4, k5, k6, k7, k8, k9, k10 > testing::Args (const InnerMatcher &matcher)
 
internal::ElementsAreMatcher0 testing::ElementsAre ()
 
template<typename T1 >
internal::ElementsAreMatcher1< T1 > testing::ElementsAre (const T1 &e1)
 
template<typename T1 , typename T2 >
internal::ElementsAreMatcher2< T1, T2 > testing::ElementsAre (const T1 &e1, const T2 &e2)
 
template<typename T1 , typename T2 , typename T3 >
internal::ElementsAreMatcher3< T1, T2, T3 > testing::ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
internal::ElementsAreMatcher4< T1, T2, T3, T4 > testing::ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
internal::ElementsAreMatcher5< T1, T2, T3, T4, T5 > testing::ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
internal::ElementsAreMatcher6< T1, T2, T3, T4, T5, T6 > testing::ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
internal::ElementsAreMatcher7< T1, T2, T3, T4, T5, T6, T7 > testing::ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
internal::ElementsAreMatcher8< T1, T2, T3, T4, T5, T6, T7, T8 > testing::ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
internal::ElementsAreMatcher9< T1, T2, T3, T4, T5, T6, T7, T8, T9 > testing::ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8, const T9 &e9)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 >
internal::ElementsAreMatcher10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > testing::ElementsAre (const T1 &e1, const T2 &e2, const T3 &e3, const T4 &e4, const T5 &e5, const T6 &e6, const T7 &e7, const T8 &e8, const T9 &e9, const T10 &e10)
 
template<typename T >
internal::ElementsAreArrayMatcher< T > testing::ElementsAreArray (const T *first, size_t count)
 
template<typename T , size_t N>
internal::ElementsAreArrayMatcher< T > testing::ElementsAreArray (const T(&array)[N])
 

Macro Definition Documentation

#define GMOCK_FIELD_TYPE_ (   Tuple,
 
)    typename ::std::tr1::tuple_element<i, Tuple>::type
#define MATCHER (   name,
  description 
)

<< DiffStrings(str, arg);

#define MATCHER_P (   name,
  p0,
  description 
)
#define MATCHER_P10 (   name,
  p0,
  p1,
  p2,
  p3,
  p4,
  p5,
  p6,
  p7,
  p8,
  p9,
  description 
)
#define MATCHER_P2 (   name,
  p0,
  p1,
  description 
)
#define MATCHER_P3 (   name,
  p0,
  p1,
  p2,
  description 
)
#define MATCHER_P4 (   name,
  p0,
  p1,
  p2,
  p3,
  description 
)
#define MATCHER_P5 (   name,
  p0,
  p1,
  p2,
  p3,
  p4,
  description 
)
#define MATCHER_P6 (   name,
  p0,
  p1,
  p2,
  p3,
  p4,
  p5,
  description 
)
#define MATCHER_P7 (   name,
  p0,
  p1,
  p2,
  p3,
  p4,
  p5,
  p6,
  description 
)
#define MATCHER_P8 (   name,
  p0,
  p1,
  p2,
  p3,
  p4,
  p5,
  p6,
  p7,
  description 
)
#define MATCHER_P9 (   name,
  p0,
  p1,
  p2,
  p3,
  p4,
  p5,
  p6,
  p7,
  p8,
  description 
)