Lines Matching refs:Test2
429 class Test2 { in TEST() class
431 Test2(const Test2&) = delete; in TEST()
432 explicit Test2(Test1&& other) : bar_(other.foo()) {} in TEST() function in perfetto::base::TEST::Test2
441 Optional<Test2> second(std::move(first)); in TEST()
840 struct Test2 { in TEST() struct
849 Test2() = default; in TEST()
850 explicit Test2(const Test1&) : state(State::COPY_CONSTRUCTED_FROM_TEST1) {} in TEST() argument
851 explicit Test2(Test1&& test1) : state(State::MOVE_CONSTRUCTED_FROM_TEST1) { in TEST() function
854 Test2& operator=(const Test1&) { in TEST() argument
858 Test2& operator=(Test1&& test1) { in TEST() argument
869 Optional<Test2> b; in TEST()
875 EXPECT_EQ(Test2::State::COPY_CONSTRUCTED_FROM_TEST1, b->state); in TEST()
880 Optional<Test2> b(in_place); in TEST()
886 EXPECT_EQ(Test2::State::COPY_ASSIGNED_FROM_TEST1, b->state); in TEST()
891 Optional<Test2> b; in TEST()
897 EXPECT_EQ(Test2::State::MOVE_CONSTRUCTED_FROM_TEST1, b->state); in TEST()
902 Optional<Test2> b(in_place); in TEST()
908 EXPECT_EQ(Test2::State::MOVE_ASSIGNED_FROM_TEST1, b->state); in TEST()
2144 struct Test2 { in TEST() struct
2145 Test2(const Test2&) {} in TEST() argument
2146 Test2(Test2&&) = default; in TEST()
2147 Test2& operator=(Test2&&) { return *this; } in TEST() argument
2174 noexcept(Optional<Test2>(std::declval<Optional<Test2>>())), in TEST()
2199 !noexcept(std::declval<Optional<Test2>>() = in TEST()
2200 std::declval<Optional<Test2>>()), in TEST()