proxygen
gmock-matchers_test.cc File Reference
#include "gmock/gmock-matchers.h"
#include "gmock/gmock-more-matchers.h"
#include <string.h>
#include <time.h>
#include <deque>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "gtest/gtest-spi.h"

Go to the source code of this file.

Classes

class  testing::gmock_matchers_test::GreaterThanMatcher
 
class  testing::gmock_matchers_test::EvenMatcherImpl
 
class  testing::gmock_matchers_test::NewEvenMatcherImpl
 
class  testing::gmock_matchers_test::ReferencesBarOrIsZeroImpl
 
class  testing::gmock_matchers_test::PolymorphicIsEvenImpl
 
class  testing::gmock_matchers_test::IntValue
 
struct  testing::gmock_matchers_test::ConvertibleFromAny
 
struct  testing::gmock_matchers_test::IntReferenceWrapper
 
class  testing::gmock_matchers_test::Base
 
class  testing::gmock_matchers_test::Derived
 
class  testing::gmock_matchers_test::OtherDerived
 
class  testing::gmock_matchers_test::Unprintable
 
struct  testing::gmock_matchers_test::Type< T >
 
class  testing::gmock_matchers_test::IsGreaterThan
 
class  testing::gmock_matchers_test::ConvertibleToBool
 
class  testing::gmock_matchers_test::AllArgsHelper
 
class  testing::gmock_matchers_test::FloatingPointTest< RawType >
 
class  testing::gmock_matchers_test::FloatingPointNearTest< RawType >
 
class  testing::gmock_matchers_test::ConstPropagatingPtr< T >
 
class  testing::gmock_matchers_test::Uncopyable
 
struct  testing::gmock_matchers_test::AStruct
 
struct  testing::gmock_matchers_test::DerivedStruct
 
class  testing::gmock_matchers_test::AClass
 
class  testing::gmock_matchers_test::DerivedClass
 
struct  testing::gmock_matchers_test::Functor
 
struct  testing::gmock_matchers_test::PolymorphicFunctor
 
struct  testing::gmock_matchers_test::ReferencingFunctor
 
class  testing::gmock_matchers_test::DivisibleByImpl
 
class  testing::gmock_matchers_test::NotCopyable
 
class  testing::gmock_matchers_test::Streamlike< T >
 
class  testing::gmock_matchers_test::Streamlike< T >::ConstIter
 
class  testing::gmock_matchers_test::Streamlike< T >::ConstIter::PostIncrProxy
 
class  testing::gmock_matchers_test::UnorderedElementsAreTest
 
class  testing::gmock_matchers_test::BacktrackingBPMTest
 
class  testing::gmock_matchers_test::BipartiteTest
 
class  testing::gmock_matchers_test::BipartiteNonSquareTest
 
class  testing::gmock_matchers_test::BipartiteRandomTest
 
class  testing::gmock_matchers_test::IsHalfOfMatcher
 

Namespaces

 testing
 
 testing::internal
 
 testing::gmock_matchers_test
 

Functions

GTEST_API_ string testing::internal::JoinAsTuple (const Strings &fields)
 
Matcher< int > testing::gmock_matchers_test::GreaterThan (int n)
 
string testing::gmock_matchers_test::OfType (const string &type_name)
 
template<typename T >
string testing::gmock_matchers_test::Describe (const Matcher< T > &m)
 
template<typename T >
string testing::gmock_matchers_test::DescribeNegation (const Matcher< T > &m)
 
template<typename MatcherType , typename Value >
string testing::gmock_matchers_test::Explain (const MatcherType &m, const Value &x)
 
 testing::gmock_matchers_test::TEST (MatchResultListenerTest, StreamingWorks)
 
 testing::gmock_matchers_test::TEST (MatchResultListenerTest, CanAccessUnderlyingStream)
 
 testing::gmock_matchers_test::TEST (MatchResultListenerTest, IsInterestedWorks)
 
 testing::gmock_matchers_test::TEST (MatcherInterfaceTest, CanBeImplementedUsingPublishedAPI)
 
 testing::gmock_matchers_test::TEST (MatcherInterfaceTest, CanBeImplementedUsingNewAPI)
 
 testing::gmock_matchers_test::TEST (MatcherTest, CanBeDefaultConstructed)
 
 testing::gmock_matchers_test::TEST (MatcherTest, CanBeConstructedFromMatcherInterface)
 
 testing::gmock_matchers_test::TEST (MatcherTest, CanBeImplicitlyConstructedFromValue)
 
 testing::gmock_matchers_test::TEST (MatcherTest, CanBeImplicitlyConstructedFromNULL)
 
 testing::gmock_matchers_test::TEST (MatcherTest, IsCopyable)
 
 testing::gmock_matchers_test::TEST (MatcherTest, CanDescribeItself)
 
 testing::gmock_matchers_test::TEST (MatcherTest, MatchAndExplain)
 
 testing::gmock_matchers_test::TEST (StringMatcherTest, CanBeImplicitlyConstructedFromCStringLiteral)
 
 testing::gmock_matchers_test::TEST (StringMatcherTest, CanBeImplicitlyConstructedFromString)
 
 testing::gmock_matchers_test::TEST (MakeMatcherTest, ConstructsMatcherFromMatcherInterface)
 
PolymorphicMatcher< ReferencesBarOrIsZeroImpl > testing::gmock_matchers_test::ReferencesBarOrIsZero ()
 
 testing::gmock_matchers_test::TEST (MakePolymorphicMatcherTest, ConstructsMatcherUsingOldAPI)
 
PolymorphicMatcher< PolymorphicIsEvenImpl > testing::gmock_matchers_test::PolymorphicIsEven ()
 
 testing::gmock_matchers_test::TEST (MakePolymorphicMatcherTest, ConstructsMatcherUsingNewAPI)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, FromPolymorphicMatcher)
 
bool testing::gmock_matchers_test::IsPositiveIntValue (const IntValue &foo)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, FromCompatibleType)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, FromConstReferenceToNonReference)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, FromReferenceToNonReference)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, FromNonReferenceToConstReference)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, FromNonReferenceToReference)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, FromSameType)
 
bool testing::gmock_matchers_test::operator== (const ConvertibleFromAny &a, const ConvertibleFromAny &b)
 
ostream & testing::gmock_matchers_test::operator<< (ostream &os, const ConvertibleFromAny &a)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, ConversionConstructorIsUsed)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, FromConvertibleFromAny)
 
bool testing::gmock_matchers_test::operator== (const IntReferenceWrapper &a, const IntReferenceWrapper &b)
 
 testing::gmock_matchers_test::TEST (MatcherCastTest, ValueIsNotCopied)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, FromPolymorphicMatcher)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, FromLosslesslyConvertibleArithmeticType)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, FromBaseClass)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, FromConstReferenceToReference)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, FromNonReferenceToConstReference)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, FromNonReferenceToReference)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, FromSameType)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, ConversionConstructorIsUsed)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, FromConvertibleFromAny)
 
 testing::gmock_matchers_test::TEST (SafeMatcherCastTest, ValueIsNotCopied)
 
 testing::gmock_matchers_test::TEST (ExpectThat, TakesLiterals)
 
 testing::gmock_matchers_test::TEST (ExpectThat, TakesFunctions)
 
 testing::gmock_matchers_test::TEST (ATest, MatchesAnyValue)
 
 testing::gmock_matchers_test::TEST (ATest, WorksForDerivedClass)
 
 testing::gmock_matchers_test::TEST (ATest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (AnTest, MatchesAnyValue)
 
 testing::gmock_matchers_test::TEST (AnTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (UnderscoreTest, MatchesAnyValue)
 
 testing::gmock_matchers_test::TEST (UnderscoreTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (EqTest, MatchesEqualValue)
 
bool testing::gmock_matchers_test::operator== (const Unprintable &, const Unprintable &)
 
 testing::gmock_matchers_test::TEST (EqTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (EqTest, IsPolymorphic)
 
 testing::gmock_matchers_test::TEST (TypedEqTest, ChecksEqualityForGivenType)
 
 testing::gmock_matchers_test::TEST (TypedEqTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (TypedEqTest, HasSpecifiedType)
 
 testing::gmock_matchers_test::TEST (GeTest, ImplementsGreaterThanOrEqual)
 
 testing::gmock_matchers_test::TEST (GeTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (GtTest, ImplementsGreaterThan)
 
 testing::gmock_matchers_test::TEST (GtTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (LeTest, ImplementsLessThanOrEqual)
 
 testing::gmock_matchers_test::TEST (LeTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (LtTest, ImplementsLessThan)
 
 testing::gmock_matchers_test::TEST (LtTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (NeTest, ImplementsNotEqual)
 
 testing::gmock_matchers_test::TEST (NeTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (IsNullTest, MatchesNullPointer)
 
 testing::gmock_matchers_test::TEST (IsNullTest, LinkedPtr)
 
 testing::gmock_matchers_test::TEST (IsNullTest, ReferenceToConstLinkedPtr)
 
 testing::gmock_matchers_test::TEST (IsNullTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (NotNullTest, MatchesNonNullPointer)
 
 testing::gmock_matchers_test::TEST (NotNullTest, LinkedPtr)
 
 testing::gmock_matchers_test::TEST (NotNullTest, ReferenceToConstLinkedPtr)
 
 testing::gmock_matchers_test::TEST (NotNullTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (RefTest, MatchesSameVariable)
 
 testing::gmock_matchers_test::TEST (RefTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (RefTest, CanBeUsedAsMatcherForConstReference)
 
 testing::gmock_matchers_test::TEST (RefTest, IsCovariant)
 
 testing::gmock_matchers_test::TEST (RefTest, ExplainsResult)
 
 testing::gmock_matchers_test::TEST (StrEqTest, MatchesEqualString)
 
 testing::gmock_matchers_test::TEST (StrEqTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (StrNeTest, MatchesUnequalString)
 
 testing::gmock_matchers_test::TEST (StrNeTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (StrCaseEqTest, MatchesEqualStringIgnoringCase)
 
 testing::gmock_matchers_test::TEST (StrCaseEqTest, MatchesEqualStringWith0IgnoringCase)
 
 testing::gmock_matchers_test::TEST (StrCaseEqTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (StrCaseNeTest, MatchesUnequalStringIgnoringCase)
 
 testing::gmock_matchers_test::TEST (StrCaseNeTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (HasSubstrTest, WorksForStringClasses)
 
 testing::gmock_matchers_test::TEST (HasSubstrTest, WorksForCStrings)
 
 testing::gmock_matchers_test::TEST (HasSubstrTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (KeyTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (KeyTest, ExplainsResult)
 
 testing::gmock_matchers_test::TEST (KeyTest, MatchesCorrectly)
 
 testing::gmock_matchers_test::TEST (KeyTest, SafelyCastsInnerMatcher)
 
 testing::gmock_matchers_test::TEST (KeyTest, InsideContainsUsingMap)
 
 testing::gmock_matchers_test::TEST (KeyTest, InsideContainsUsingMultimap)
 
 testing::gmock_matchers_test::TEST (PairTest, Typing)
 
 testing::gmock_matchers_test::TEST (PairTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (PairTest, CanExplainMatchResultTo)
 
 testing::gmock_matchers_test::TEST (PairTest, MatchesCorrectly)
 
 testing::gmock_matchers_test::TEST (PairTest, SafelyCastsInnerMatchers)
 
 testing::gmock_matchers_test::TEST (PairTest, InsideContainsUsingMap)
 
 testing::gmock_matchers_test::TEST (StartsWithTest, MatchesStringWithGivenPrefix)
 
 testing::gmock_matchers_test::TEST (StartsWithTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (EndsWithTest, MatchesStringWithGivenSuffix)
 
 testing::gmock_matchers_test::TEST (EndsWithTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (MatchesRegexTest, MatchesStringMatchingGivenRegex)
 
 testing::gmock_matchers_test::TEST (MatchesRegexTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (ContainsRegexTest, MatchesStringContainingGivenRegex)
 
 testing::gmock_matchers_test::TEST (ContainsRegexTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (Eq2Test, MatchesEqualArguments)
 
 testing::gmock_matchers_test::TEST (Eq2Test, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (Ge2Test, MatchesGreaterThanOrEqualArguments)
 
 testing::gmock_matchers_test::TEST (Ge2Test, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (Gt2Test, MatchesGreaterThanArguments)
 
 testing::gmock_matchers_test::TEST (Gt2Test, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (Le2Test, MatchesLessThanOrEqualArguments)
 
 testing::gmock_matchers_test::TEST (Le2Test, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (Lt2Test, MatchesLessThanArguments)
 
 testing::gmock_matchers_test::TEST (Lt2Test, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (Ne2Test, MatchesUnequalArguments)
 
 testing::gmock_matchers_test::TEST (Ne2Test, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (NotTest, NegatesMatcher)
 
 testing::gmock_matchers_test::TEST (NotTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (NotTest, NotMatcherSafelyCastsMonomorphicMatchers)
 
void testing::gmock_matchers_test::AllOfMatches (int num, const Matcher< int > &m)
 
 testing::gmock_matchers_test::TEST (AllOfTest, MatchesWhenAllMatch)
 
 testing::gmock_matchers_test::TEST (AllOfTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (AllOfTest, CanDescribeNegation)
 
 testing::gmock_matchers_test::TEST (AllOfTest, AllOfMatcherSafelyCastsMonomorphicMatchers)
 
 testing::gmock_matchers_test::TEST (AllOfTest, ExplainsResult)
 
void testing::gmock_matchers_test::AnyOfMatches (int num, const Matcher< int > &m)
 
 testing::gmock_matchers_test::TEST (AnyOfTest, MatchesWhenAnyMatches)
 
 testing::gmock_matchers_test::TEST (AnyOfTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (AnyOfTest, CanDescribeNegation)
 
 testing::gmock_matchers_test::TEST (AnyOfTest, AnyOfMatcherSafelyCastsMonomorphicMatchers)
 
 testing::gmock_matchers_test::TEST (AnyOfTest, ExplainsResult)
 
int testing::gmock_matchers_test::IsPositive (double x)
 
bool testing::gmock_matchers_test::ReferencesFooAndIsZero (const int &n)
 
 testing::gmock_matchers_test::TEST (TrulyTest, MatchesWhatSatisfiesThePredicate)
 
 testing::gmock_matchers_test::TEST (TrulyTest, CanBeUsedWithFunctor)
 
ConvertibleToBool testing::gmock_matchers_test::IsNotZero (int number)
 
 testing::gmock_matchers_test::TEST (TrulyTest, PredicateCanReturnAClassConvertibleToBool)
 
 testing::gmock_matchers_test::TEST (TrulyTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (TrulyTest, WorksForByRefArguments)
 
 testing::gmock_matchers_test::TEST (MatchesTest, IsSatisfiedByWhatMatchesTheMatcher)
 
 testing::gmock_matchers_test::TEST (MatchesTest, WorksOnByRefArguments)
 
 testing::gmock_matchers_test::TEST (MatchesTest, WorksWithMatcherOnNonRefType)
 
 testing::gmock_matchers_test::TEST (ValueTest, WorksWithPolymorphicMatcher)
 
 testing::gmock_matchers_test::TEST (ValueTest, WorksWithMonomorphicMatcher)
 
 testing::gmock_matchers_test::TEST (ExplainMatchResultTest, WorksWithPolymorphicMatcher)
 
 testing::gmock_matchers_test::TEST (ExplainMatchResultTest, WorksWithMonomorphicMatcher)
 
 testing::gmock_matchers_test::MATCHER_P (Really, inner_matcher,"")
 
 testing::gmock_matchers_test::TEST (ExplainMatchResultTest, WorksInsideMATCHER)
 
 testing::gmock_matchers_test::TEST (AllArgsTest, WorksForTuple)
 
 testing::gmock_matchers_test::TEST (AllArgsTest, WorksForNonTuple)
 
 testing::gmock_matchers_test::TEST (AllArgsTest, WorksInWithClause)
 
 testing::gmock_matchers_test::TEST (MatcherAssertionTest, WorksWhenMatcherIsSatisfied)
 
 testing::gmock_matchers_test::TEST (MatcherAssertionTest, WorksWhenMatcherIsNotSatisfied)
 
 testing::gmock_matchers_test::TEST (MatcherAssertionTest, WorksForByRefArguments)
 
 testing::gmock_matchers_test::TEST (MatcherAssertionTest, WorksForMonomorphicMatcher)
 
 testing::gmock_matchers_test::TEST_F (FloatTest, FloatEqApproximatelyMatchesFloats)
 
 testing::gmock_matchers_test::TEST_F (FloatTest, NanSensitiveFloatEqApproximatelyMatchesFloats)
 
 testing::gmock_matchers_test::TEST_F (FloatTest, FloatEqCannotMatchNaN)
 
 testing::gmock_matchers_test::TEST_F (FloatTest, NanSensitiveFloatEqCanMatchNaN)
 
 testing::gmock_matchers_test::TEST_F (FloatTest, FloatEqCanDescribeSelf)
 
 testing::gmock_matchers_test::TEST_F (FloatTest, NanSensitiveFloatEqCanDescribeSelf)
 
 testing::gmock_matchers_test::TEST_F (FloatNearTest, FloatNearMatches)
 
 testing::gmock_matchers_test::TEST_F (FloatNearTest, NanSensitiveFloatNearApproximatelyMatchesFloats)
 
 testing::gmock_matchers_test::TEST_F (FloatNearTest, FloatNearCanDescribeSelf)
 
 testing::gmock_matchers_test::TEST_F (FloatNearTest, NanSensitiveFloatNearCanDescribeSelf)
 
 testing::gmock_matchers_test::TEST_F (FloatNearTest, FloatNearCannotMatchNaN)
 
 testing::gmock_matchers_test::TEST_F (FloatNearTest, NanSensitiveFloatNearCanMatchNaN)
 
 testing::gmock_matchers_test::TEST_F (DoubleTest, DoubleEqApproximatelyMatchesDoubles)
 
 testing::gmock_matchers_test::TEST_F (DoubleTest, NanSensitiveDoubleEqApproximatelyMatchesDoubles)
 
 testing::gmock_matchers_test::TEST_F (DoubleTest, DoubleEqCannotMatchNaN)
 
 testing::gmock_matchers_test::TEST_F (DoubleTest, NanSensitiveDoubleEqCanMatchNaN)
 
 testing::gmock_matchers_test::TEST_F (DoubleTest, DoubleEqCanDescribeSelf)
 
 testing::gmock_matchers_test::TEST_F (DoubleTest, NanSensitiveDoubleEqCanDescribeSelf)
 
 testing::gmock_matchers_test::TEST_F (DoubleNearTest, DoubleNearMatches)
 
 testing::gmock_matchers_test::TEST_F (DoubleNearTest, NanSensitiveDoubleNearApproximatelyMatchesDoubles)
 
 testing::gmock_matchers_test::TEST_F (DoubleNearTest, DoubleNearCanDescribeSelf)
 
 testing::gmock_matchers_test::TEST_F (DoubleNearTest, ExplainsResultWhenMatchFails)
 
 testing::gmock_matchers_test::TEST_F (DoubleNearTest, NanSensitiveDoubleNearCanDescribeSelf)
 
 testing::gmock_matchers_test::TEST_F (DoubleNearTest, DoubleNearCannotMatchNaN)
 
 testing::gmock_matchers_test::TEST_F (DoubleNearTest, NanSensitiveDoubleNearCanMatchNaN)
 
 testing::gmock_matchers_test::TEST (PointeeTest, RawPointer)
 
 testing::gmock_matchers_test::TEST (PointeeTest, RawPointerToConst)
 
 testing::gmock_matchers_test::TEST (PointeeTest, ReferenceToConstRawPointer)
 
 testing::gmock_matchers_test::TEST (PointeeTest, ReferenceToNonConstRawPointer)
 
 testing::gmock_matchers_test::MATCHER_P (FieldIIs, inner_matcher,"")
 
 testing::gmock_matchers_test::TEST (PointeeTest, WorksWithConstPropagatingPointers)
 
 testing::gmock_matchers_test::TEST (PointeeTest, NeverMatchesNull)
 
 testing::gmock_matchers_test::TEST (PointeeTest, MatchesAgainstAValue)
 
 testing::gmock_matchers_test::TEST (PointeeTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (PointeeTest, CanExplainMatchResult)
 
 testing::gmock_matchers_test::TEST (PointeeTest, AlwaysExplainsPointee)
 
bool testing::gmock_matchers_test::ValueIsPositive (const Uncopyable &x)
 
 testing::gmock_matchers_test::MATCHER_P (UncopyableIs, inner_matcher,"")
 
 testing::gmock_matchers_test::TEST (FieldTest, WorksForNonConstField)
 
 testing::gmock_matchers_test::TEST (FieldTest, WorksForConstField)
 
 testing::gmock_matchers_test::TEST (FieldTest, WorksForUncopyableField)
 
 testing::gmock_matchers_test::TEST (FieldTest, WorksForPointerField)
 
 testing::gmock_matchers_test::TEST (FieldTest, WorksForByRefArgument)
 
 testing::gmock_matchers_test::TEST (FieldTest, WorksForArgumentOfSubType)
 
 testing::gmock_matchers_test::TEST (FieldTest, WorksForCompatibleMatcherType)
 
 testing::gmock_matchers_test::TEST (FieldTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (FieldTest, CanExplainMatchResult)
 
 testing::gmock_matchers_test::TEST (FieldForPointerTest, WorksForPointerToConst)
 
 testing::gmock_matchers_test::TEST (FieldForPointerTest, WorksForPointerToNonConst)
 
 testing::gmock_matchers_test::TEST (FieldForPointerTest, WorksForReferenceToConstPointer)
 
 testing::gmock_matchers_test::TEST (FieldForPointerTest, DoesNotMatchNull)
 
 testing::gmock_matchers_test::TEST (FieldForPointerTest, WorksForArgumentOfSubType)
 
 testing::gmock_matchers_test::TEST (FieldForPointerTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (FieldForPointerTest, CanExplainMatchResult)
 
 testing::gmock_matchers_test::TEST (PropertyTest, WorksForNonReferenceProperty)
 
 testing::gmock_matchers_test::TEST (PropertyTest, WorksForReferenceToConstProperty)
 
 testing::gmock_matchers_test::TEST (PropertyTest, WorksForReferenceToNonConstProperty)
 
 testing::gmock_matchers_test::TEST (PropertyTest, WorksForByValueArgument)
 
 testing::gmock_matchers_test::TEST (PropertyTest, WorksForArgumentOfSubType)
 
 testing::gmock_matchers_test::TEST (PropertyTest, WorksForCompatibleMatcherType)
 
 testing::gmock_matchers_test::TEST (PropertyTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (PropertyTest, CanExplainMatchResult)
 
 testing::gmock_matchers_test::TEST (PropertyForPointerTest, WorksForPointerToConst)
 
 testing::gmock_matchers_test::TEST (PropertyForPointerTest, WorksForPointerToNonConst)
 
 testing::gmock_matchers_test::TEST (PropertyForPointerTest, WorksForReferenceToConstPointer)
 
 testing::gmock_matchers_test::TEST (PropertyForPointerTest, WorksForReferenceToNonConstProperty)
 
 testing::gmock_matchers_test::TEST (PropertyForPointerTest, WorksForArgumentOfSubType)
 
 testing::gmock_matchers_test::TEST (PropertyForPointerTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (PropertyForPointerTest, CanExplainMatchResult)
 
string testing::gmock_matchers_test::IntToStringFunction (int input)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForFunctionPointers)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, CanDescribeItself)
 
int testing::gmock_matchers_test::IntFunction (int input)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, CanExplainMatchResult)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForNonReferenceResults)
 
double & testing::gmock_matchers_test::DoubleFunction (double &input)
 
Uncopyable & testing::gmock_matchers_test::RefUncopyableFunction (Uncopyable &obj)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForReferenceToNonConstResults)
 
const stringtesting::gmock_matchers_test::StringFunction (const string &input)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForReferenceToConstResults)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForCompatibleMatcherTypes)
 
 testing::gmock_matchers_test::TEST (ResultOfDeathTest, DiesOnNullFunctionPointers)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForFunctionReferences)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForFunctors)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForPolymorphicFunctors)
 
const int * testing::gmock_matchers_test::ReferencingFunction (const int &n)
 
 testing::gmock_matchers_test::TEST (ResultOfTest, WorksForReferencingCallables)
 
PolymorphicMatcher< DivisibleByImpl > testing::gmock_matchers_test::DivisibleBy (int n)
 
 testing::gmock_matchers_test::TEST (ExplainMatchResultTest, AllOf_False_False)
 
 testing::gmock_matchers_test::TEST (ExplainMatchResultTest, AllOf_False_True)
 
 testing::gmock_matchers_test::TEST (ExplainMatchResultTest, AllOf_True_False)
 
 testing::gmock_matchers_test::TEST (ExplainMatchResultTest, AllOf_True_True)
 
 testing::gmock_matchers_test::TEST (ExplainMatchResultTest, AllOf_True_True_2)
 
 testing::gmock_matchers_test::TEST (ExplainmatcherResultTest, MonomorphicMatcher)
 
 testing::gmock_matchers_test::TEST (ByRefTest, AllowsNotCopyableConstValueInMatchers)
 
 testing::gmock_matchers_test::TEST (ByRefTest, AllowsNotCopyableValueInMatchers)
 
 testing::gmock_matchers_test::TEST (IsEmptyTest, ImplementsIsEmpty)
 
 testing::gmock_matchers_test::TEST (IsEmptyTest, WorksWithString)
 
 testing::gmock_matchers_test::TEST (IsEmptyTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (IsEmptyTest, ExplainsResult)
 
 testing::gmock_matchers_test::TEST (SizeIsTest, ImplementsSizeIs)
 
 testing::gmock_matchers_test::TEST (SizeIsTest, WorksWithMap)
 
 testing::gmock_matchers_test::TEST (SizeIsTest, WorksWithReferences)
 
 testing::gmock_matchers_test::TEST (SizeIsTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (SizeIsTest, ExplainsResult)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, MultipleValuesMissing)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, MultipleValuesAdded)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, MultipleValuesAddedAndRemoved)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, MultiSetOfIntDuplicateDifference)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, WorksForMaps)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, WorksForNativeArray)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, WorksForTwoDimensionalNativeArray)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, WorksForNativeArrayAsTuple)
 
 testing::gmock_matchers_test::TEST (ContainerEqExtraTest, CopiesNativeArrayParameter)
 
 testing::gmock_matchers_test::TEST (WhenSortedByTest, WorksForEmptyContainer)
 
 testing::gmock_matchers_test::TEST (WhenSortedByTest, WorksForNonEmptyContainer)
 
 testing::gmock_matchers_test::TEST (WhenSortedByTest, WorksForNonVectorContainer)
 
 testing::gmock_matchers_test::TEST (WhenSortedByTest, WorksForNativeArray)
 
 testing::gmock_matchers_test::TEST (WhenSortedByTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (WhenSortedByTest, ExplainsMatchResult)
 
 testing::gmock_matchers_test::TEST (WhenSortedTest, WorksForEmptyContainer)
 
 testing::gmock_matchers_test::TEST (WhenSortedTest, WorksForNonEmptyContainer)
 
 testing::gmock_matchers_test::TEST (WhenSortedTest, WorksForMapTypes)
 
 testing::gmock_matchers_test::TEST (WhenSortedTest, WorksForMultiMapTypes)
 
 testing::gmock_matchers_test::TEST (WhenSortedTest, WorksForPolymorphicMatcher)
 
 testing::gmock_matchers_test::TEST (WhenSortedTest, WorksForVectorConstRefMatcher)
 
 testing::gmock_matchers_test::TEST (StreamlikeTest, Iteration)
 
 testing::gmock_matchers_test::TEST (BeginEndDistanceIsTest, WorksWithNonStdList)
 
 testing::gmock_matchers_test::TEST (BeginEndDistanceIsTest, CanDescribeSelf)
 
 testing::gmock_matchers_test::TEST (BeginEndDistanceIsTest, ExplainsResult)
 
 testing::gmock_matchers_test::TEST (WhenSortedTest, WorksForStreamlike)
 
 testing::gmock_matchers_test::TEST (WhenSortedTest, WorksForVectorConstRefMatcherOnStreamlike)
 
 testing::gmock_matchers_test::TEST (ElemensAreStreamTest, WorksForStreamlike)
 
 testing::gmock_matchers_test::TEST (ElemensAreArrayStreamTest, WorksForStreamlike)
 
 testing::gmock_matchers_test::TEST (ElementsAreTest, WorksWithUncopyable)
 
 testing::gmock_matchers_test::TEST (ElementsAreTest, TakesStlContainer)
 
 testing::gmock_matchers_test::TEST (UnorderedElementsAreArrayTest, SucceedsWhenExpected)
 
 testing::gmock_matchers_test::TEST (UnorderedElementsAreArrayTest, VectorBool)
 
 testing::gmock_matchers_test::TEST (UnorderedElementsAreArrayTest, WorksForStreamlike)
 
 testing::gmock_matchers_test::TEST (UnorderedElementsAreArrayTest, TakesStlContainer)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, WorksWithUncopyable)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, SucceedsWhenExpected)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, FailsWhenAnElementMatchesNoMatcher)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, WorksForStreamlike)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, Performance)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, PerformanceHalfStrict)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, FailMessageCountWrong)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, FailMessageCountWrongZero)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, FailMessageUnmatchedMatchers)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, FailMessageUnmatchedElements)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, FailMessageUnmatchedMatcherAndElement)
 
static string testing::gmock_matchers_test::EMString (int element, int matcher)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, FailMessageImperfectMatchOnly)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, Describe)
 
 testing::gmock_matchers_test::TEST_F (UnorderedElementsAreTest, DescribeNegation)
 
template<typename Graph >
ElementMatcherPairs testing::gmock_matchers_test::FindBacktrackingMaxBPM (const Graph &g)
 
 testing::gmock_matchers_test::TEST_P (BipartiteTest, Exhaustive)
 
 testing::gmock_matchers_test::INSTANTIATE_TEST_CASE_P (AllGraphs, BipartiteTest,::testing::Range(0, 5))
 
 testing::gmock_matchers_test::TEST_F (BipartiteNonSquareTest, SimpleBacktracking)
 
 testing::gmock_matchers_test::TEST_P (BipartiteNonSquareTest, Exhaustive)
 
 testing::gmock_matchers_test::INSTANTIATE_TEST_CASE_P (AllGraphs, BipartiteNonSquareTest, testing::Values(std::make_pair(1, 2), std::make_pair(2, 1), std::make_pair(3, 2), std::make_pair(2, 3), std::make_pair(4, 1), std::make_pair(1, 4), std::make_pair(4, 3), std::make_pair(3, 4)))
 
 testing::gmock_matchers_test::TEST_P (BipartiteRandomTest, LargerNets)
 
 testing::gmock_matchers_test::INSTANTIATE_TEST_CASE_P (Samples, BipartiteRandomTest, testing::Values(std::make_pair(5, 10000), std::make_pair(6, 5000), std::make_pair(7, 2000), std::make_pair(8, 500), std::make_pair(9, 100)))
 
 testing::gmock_matchers_test::TEST (IsReadableTypeNameTest, ReturnsTrueForShortNames)
 
 testing::gmock_matchers_test::TEST (IsReadableTypeNameTest, ReturnsTrueForLongNonTemplateNonFunctionNames)
 
 testing::gmock_matchers_test::TEST (IsReadableTypeNameTest, ReturnsFalseForLongTemplateNames)
 
 testing::gmock_matchers_test::TEST (IsReadableTypeNameTest, ReturnsFalseForLongFunctionTypeNames)
 
 testing::gmock_matchers_test::TEST (JoinAsTupleTest, JoinsEmptyTuple)
 
 testing::gmock_matchers_test::TEST (JoinAsTupleTest, JoinsOneTuple)
 
 testing::gmock_matchers_test::TEST (JoinAsTupleTest, JoinsTwoTuple)
 
 testing::gmock_matchers_test::TEST (JoinAsTupleTest, JoinsTenTuple)
 
 testing::gmock_matchers_test::TEST (FormatMatcherDescriptionTest, WorksForEmptyDescription)
 
 testing::gmock_matchers_test::TEST (PolymorphicMatcherTest, CanAccessMutableImpl)
 
 testing::gmock_matchers_test::TEST (PolymorphicMatcherTest, CanAccessImpl)
 
 testing::gmock_matchers_test::TEST (MatcherTupleTest, ExplainsMatchFailure)
 
 testing::gmock_matchers_test::TEST (EachTest, ExplainsMatchResultCorrectly)
 
 testing::gmock_matchers_test::TEST (EachTest, DescribesItselfCorrectly)
 
 testing::gmock_matchers_test::TEST (EachTest, MatchesVectorWhenAllElementsMatch)
 
 testing::gmock_matchers_test::TEST (EachTest, MatchesMapWhenAllElementsMatch)
 
 testing::gmock_matchers_test::TEST (EachTest, AcceptsMatcher)
 
 testing::gmock_matchers_test::TEST (EachTest, WorksForNativeArrayAsTuple)
 
PolymorphicMatcher< IsHalfOfMatcher > testing::gmock_matchers_test::IsHalfOf ()
 
 testing::gmock_matchers_test::TEST (PointwiseTest, DescribesSelf)
 
 testing::gmock_matchers_test::TEST (PointwiseTest, MakesCopyOfRhs)
 
 testing::gmock_matchers_test::TEST (PointwiseTest, WorksForLhsNativeArray)
 
 testing::gmock_matchers_test::TEST (PointwiseTest, WorksForRhsNativeArray)
 
 testing::gmock_matchers_test::TEST (PointwiseTest, RejectsWrongSize)
 
 testing::gmock_matchers_test::TEST (PointwiseTest, RejectsWrongContent)
 
 testing::gmock_matchers_test::TEST (PointwiseTest, AcceptsCorrectContent)
 
 testing::gmock_matchers_test::TEST (PointwiseTest, AllowsMonomorphicInnerMatcher)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, DescribesSelf)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, MakesCopyOfRhs)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, WorksForLhsNativeArray)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, WorksForRhsNativeArray)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, RejectsWrongSize)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, RejectsWrongContent)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, AcceptsCorrectContentInSameOrder)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, AcceptsCorrectContentInDifferentOrder)
 
 testing::gmock_matchers_test::TEST (UnorderedPointwiseTest, AllowsMonomorphicInnerMatcher)
 

Variable Documentation

ElementMatcherPairs best_so_far_
private

Definition at line 5079 of file gmock-matchers_test.cc.

const Graph* graph_
private

Definition at line 5075 of file gmock-matchers_test.cc.

const size_t kUnused = static_cast<size_t>(-1)
staticprivate

Definition at line 5034 of file gmock-matchers_test.cc.

Referenced by testing::gmock_matchers_test::EMString().

std::vector<size_t> lhs_used_
private

Definition at line 5076 of file gmock-matchers_test.cc.

ElementMatcherPairs matches_
private

Definition at line 5078 of file gmock-matchers_test.cc.

std::vector<size_t> rhs_used_
private

Definition at line 5077 of file gmock-matchers_test.cc.