Home
last modified time | relevance | path

Searched refs:MoveOnly (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-nice-strict_test.cc128 class MoveOnly { class in testing::gmock_nice_strict_test::MockBaz
130 MoveOnly() = default;
132 MoveOnly(const MoveOnly&) = delete;
133 MoveOnly& operator=(const MoveOnly&) = delete;
135 MoveOnly(MoveOnly&&) = default;
136 MoveOnly& operator=(MoveOnly&&) = default;
139 MockBaz(MoveOnly) {} in MockBaz() argument
302 NiceMock<MockBaz> nice_baz(MockBaz::MoveOnly{}); in TEST()
412 NaggyMock<MockBaz> naggy_baz(MockBaz::MoveOnly{}); in TEST()
512 StrictMock<MockBaz> strict_baz(MockBaz::MoveOnly{}); in TEST()
H A Dgmock-matchers-comparisons_test.cc999 class MoveOnly { class
1001 explicit MoveOnly(int i) : i_(i) {} in MoveOnly() function in testing::gmock_matchers_test::__anonbdf523750111::MoveOnly
1002 MoveOnly(const MoveOnly&) = delete;
1003 MoveOnly(MoveOnly&&) = default;
1004 MoveOnly& operator=(const MoveOnly&) = delete;
1005 MoveOnly& operator=(MoveOnly&&) = default;
1007 bool operator==(const MoveOnly& other) const { return i_ == other.i_; } in operator ==()
1008 bool operator!=(const MoveOnly& other) const { return i_ != other.i_; } in operator !=()
1009 bool operator<(const MoveOnly& other) const { return i_ < other.i_; } in operator <()
1010 bool operator<=(const MoveOnly& other) const { return i_ <= other.i_; } in operator <=()
[all …]
H A Dgmock-more-actions_test.cc496 struct MoveOnly { struct
497 explicit MoveOnly(int v) : i(v) {} in MoveOnly() argument
498 MoveOnly(MoveOnly&& o) { in MoveOnly() function
502 MoveOnly& operator=(MoveOnly&& o) { in operator =() argument
511 MoveOnly result{0}; in TEST()
512 const Action<void(MoveOnly v)> a1 = SaveArgByMove<0>(&result); in TEST()
513 a1.Perform(std::make_tuple(MoveOnly{5})); in TEST()
518 MoveOnly result{0}; in TEST()
519 const Action<void(bool, MoveOnly)> a1 = SaveArgByMove<1>(&result); in TEST()
520 a1.Perform(std::make_tuple(true, MoveOnly{7})); in TEST()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dunique_function_test.cpp101 TEST(UniqueFunctionTest, MoveOnly) { in TEST() argument