proxygen
|
Go to the source code of this file.
Classes | |
class | PropagateConstTest |
Typedefs | |
template<typename T > | |
using | pc = propagate_const< T > |
Functions | |
template<typename T > | |
static bool | is_const (T &&) |
TEST_F (PropagateConstTest, construct_assign) | |
TEST_F (PropagateConstTest, op_assign_move) | |
TEST_F (PropagateConstTest, get) | |
TEST_F (PropagateConstTest, op_indirect) | |
TEST_F (PropagateConstTest, op_element_type_ptr) | |
TEST_F (PropagateConstTest, op_bool) | |
TEST_F (PropagateConstTest, get_underlying) | |
TEST_F (PropagateConstTest, swap) | |
TEST_F (PropagateConstTest, op_equal_to) | |
TEST_F (PropagateConstTest, op_not_equal_to) | |
TEST_F (PropagateConstTest, op_less) | |
TEST_F (PropagateConstTest, op_greater) | |
TEST_F (PropagateConstTest, op_less_equal) | |
TEST_F (PropagateConstTest, op_greater_equal) | |
TEST_F (PropagateConstTest, hash) | |
TEST_F (PropagateConstTest, equal_to) | |
TEST_F (PropagateConstTest, not_equal_to) | |
TEST_F (PropagateConstTest, less) | |
TEST_F (PropagateConstTest, greater) | |
TEST_F (PropagateConstTest, less_equal) | |
TEST_F (PropagateConstTest, greater_equal) | |
using pc = propagate_const<T> |
Definition at line 38 of file PropagateConstTest.cpp.
|
static |
Definition at line 33 of file PropagateConstTest.cpp.
References folly::value().
Referenced by TEST_F().
TEST_F | ( | PropagateConstTest | , |
construct_assign | |||
) |
Definition at line 40 of file PropagateConstTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, and folly::value().
TEST_F | ( | PropagateConstTest | , |
op_assign_move | |||
) |
Definition at line 71 of file PropagateConstTest.cpp.
References EXPECT_EQ, and ptr.
TEST_F | ( | PropagateConstTest | , |
get | |||
) |
Definition at line 79 of file PropagateConstTest.cpp.
References a, folly::as_const(), folly::data(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, and is_const().
TEST_F | ( | PropagateConstTest | , |
op_indirect | |||
) |
Definition at line 90 of file PropagateConstTest.cpp.
References a, folly::as_const(), folly::data(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, and is_const().
TEST_F | ( | PropagateConstTest | , |
op_element_type_ptr | |||
) |
Definition at line 101 of file PropagateConstTest.cpp.
References a, folly::as_const(), folly::data(), and EXPECT_EQ.
TEST_F | ( | PropagateConstTest | , |
op_bool | |||
) |
Definition at line 110 of file PropagateConstTest.cpp.
References a, folly::data(), EXPECT_FALSE, and EXPECT_TRUE.
TEST_F | ( | PropagateConstTest | , |
get_underlying | |||
) |
Definition at line 120 of file PropagateConstTest.cpp.
References a, folly::as_const(), folly::data(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::get_underlying(), and is_const().
TEST_F | ( | PropagateConstTest | , |
swap | |||
) |
Definition at line 132 of file PropagateConstTest.cpp.
References a, b, folly::data(), EXPECT_EQ, and folly::swap().
TEST_F | ( | PropagateConstTest | , |
op_equal_to | |||
) |
Definition at line 148 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, EXPECT_TRUE, and x.
TEST_F | ( | PropagateConstTest | , |
op_not_equal_to | |||
) |
Definition at line 165 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, EXPECT_TRUE, and x.
TEST_F | ( | PropagateConstTest | , |
op_less | |||
) |
Definition at line 182 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, EXPECT_TRUE, and x.
TEST_F | ( | PropagateConstTest | , |
op_greater | |||
) |
Definition at line 204 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, EXPECT_TRUE, and x.
TEST_F | ( | PropagateConstTest | , |
op_less_equal | |||
) |
Definition at line 226 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, EXPECT_TRUE, and x.
TEST_F | ( | PropagateConstTest | , |
op_greater_equal | |||
) |
Definition at line 248 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, EXPECT_TRUE, and x.
TEST_F | ( | PropagateConstTest | , |
hash | |||
) |
Definition at line 270 of file PropagateConstTest.cpp.
References a, folly::data(), and EXPECT_EQ.
TEST_F | ( | PropagateConstTest | , |
equal_to | |||
) |
Definition at line 278 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, and EXPECT_TRUE.
TEST_F | ( | PropagateConstTest | , |
not_equal_to | |||
) |
Definition at line 290 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, and EXPECT_TRUE.
TEST_F | ( | PropagateConstTest | , |
less | |||
) |
Definition at line 302 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, and EXPECT_TRUE.
TEST_F | ( | PropagateConstTest | , |
greater | |||
) |
Definition at line 316 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, and EXPECT_TRUE.
TEST_F | ( | PropagateConstTest | , |
less_equal | |||
) |
Definition at line 330 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, and EXPECT_TRUE.
TEST_F | ( | PropagateConstTest | , |
greater_equal | |||
) |
Definition at line 344 of file PropagateConstTest.cpp.
References testing::_, a, b, folly::data(), EXPECT_FALSE, and EXPECT_TRUE.