Home | History | Annotate | Download | only in test

Lines Matching defs:Uncopyable

3751 // An uncopyable class.
3752 class Uncopyable {
3754 explicit Uncopyable(int a_value) : value_(a_value) {}
3757 bool operator==(const Uncopyable& rhs) const {
3763 Uncopyable(const Uncopyable&); // NOLINT
3768 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) {
3773 bool IsPositiveUncopyable(const Uncopyable& x) {
3779 Uncopyable y(-1);
3784 Uncopyable x(5);
3785 Uncopyable y(-1);
3789 // Tests that uncopyable objects can be used in assertions.
3791 Uncopyable x(5);
3800 // Tests that uncopyable objects can be used in expects.
3802 Uncopyable x(5);
3804 Uncopyable y(-1);