Home | History | Annotate | Download | only in test

Lines Matching refs:Uncopyable

3720 // An uncopyable class.
3721 class Uncopyable {
3723 explicit Uncopyable(int a_value) : value_(a_value) {}
3726 bool operator==(const Uncopyable& rhs) const {
3732 Uncopyable(const Uncopyable&); // NOLINT
3737 ::std::ostream& operator<<(::std::ostream& os, const Uncopyable& value) {
3742 bool IsPositiveUncopyable(const Uncopyable& x) {
3748 Uncopyable y(-1);
3753 Uncopyable x(5);
3754 Uncopyable y(-1);
3758 // Tests that uncopyable objects can be used in assertions.
3760 Uncopyable x(5);
3769 // Tests that uncopyable objects can be used in expects.
3771 Uncopyable x(5);
3773 Uncopyable y(-1);