Googletest export
Remove unnecessary full qualifications from std types. PiperOrigin-RevId: 270101485
This commit is contained in:
parent
c78ea26f20
commit
076c46198f
@ -66,7 +66,7 @@ addons:
|
|||||||
packages:
|
packages:
|
||||||
- ccache
|
- ccache
|
||||||
- gcc@4.9
|
- gcc@4.9
|
||||||
- llvm@4
|
- llvm@3.9
|
||||||
update: true
|
update: true
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
@ -3688,10 +3688,10 @@ class NotNullMatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Describes the property of a value matching this matcher.
|
// Describes the property of a value matching this matcher.
|
||||||
void DescribeTo(::std::ostream* os) const { *os << "is not NULL"; }
|
void DescribeTo(std::ostream* os) const { *os << "is not NULL"; }
|
||||||
|
|
||||||
// Describes the property of a value NOT matching this matcher.
|
// Describes the property of a value NOT matching this matcher.
|
||||||
void DescribeNegationTo(::std::ostream* os) const { *os << "is NULL"; }
|
void DescribeNegationTo(std::ostream* os) const { *os << "is NULL"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
// To construct a polymorphic matcher, pass an instance of the class
|
// To construct a polymorphic matcher, pass an instance of the class
|
||||||
@ -3735,7 +3735,7 @@ class CardinalityInterface {
|
|||||||
virtual bool IsSaturatedByCallCount(int call_count) const = 0;
|
virtual bool IsSaturatedByCallCount(int call_count) const = 0;
|
||||||
|
|
||||||
// Describes self to an ostream.
|
// Describes self to an ostream.
|
||||||
virtual void DescribeTo(::std::ostream* os) const = 0;
|
virtual void DescribeTo(std::ostream* os) const = 0;
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -3757,7 +3757,7 @@ class EvenNumberCardinality : public CardinalityInterface {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeTo(::std::ostream* os) const {
|
void DescribeTo(std::ostream* os) const {
|
||||||
*os << "called even number of times";
|
*os << "called even number of times";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user