proxygen
|
#include <folly/MapUtil.h>
#include <cstddef>
#include <map>
#include <unordered_map>
#include <folly/Traits.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Functions | |
TEST (MapUtil, get_default) | |
TEST (MapUtil, get_default_function) | |
TEST (MapUtil, get_or_throw) | |
TEST (MapUtil, get_or_throw_specified) | |
TEST (MapUtil, get_optional) | |
TEST (MapUtil, get_optional_path_simple) | |
TEST (MapUtil, get_optional_path_mixed) | |
TEST (MapUtil, get_ref_default) | |
TEST (MapUtil, get_ref_default_function) | |
TEST (MapUtil, get_ptr) | |
TEST (MapUtil, get_ptr_path_simple) | |
TEST (MapUtil, get_ptr_path_mixed) | |
TEST (MapUtil, get_default_temporary) | |
TEST (MapUtil, get_default_path) | |
TEST (MapUtil, get_default_path_mixed) | |
TEST (MapUtil, get_ref_default_path) | |
TEST (MapUtil, get_ref_default_path_mixed) | |
TEST (MapUtil, get_ref_default_path_temporary) | |
TEST (MapUtil, test_get_default_deferred_construction) | |
TEST | ( | MapUtil | , |
get_default | |||
) |
Definition at line 28 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_default(), and m.
TEST | ( | MapUtil | , |
get_default_function | |||
) |
Definition at line 36 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_default(), and m.
TEST | ( | MapUtil | , |
get_or_throw | |||
) |
Definition at line 44 of file MapUtilTest.cpp.
References EXPECT_EQ, EXPECT_THROW, folly::get_or_throw(), and m.
TEST | ( | MapUtil | , |
get_or_throw_specified | |||
) |
TEST | ( | MapUtil | , |
get_optional | |||
) |
Definition at line 65 of file MapUtilTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::get_optional(), m, and folly::value().
TEST | ( | MapUtil | , |
get_optional_path_simple | |||
) |
Definition at line 73 of file MapUtilTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::get_optional(), m, and map().
TEST | ( | MapUtil | , |
get_optional_path_mixed | |||
) |
Definition at line 87 of file MapUtilTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::get_optional(), m, map(), and string.
TEST | ( | MapUtil | , |
get_ref_default | |||
) |
Definition at line 101 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_ref_default(), i, and m.
TEST | ( | MapUtil | , |
get_ref_default_function | |||
) |
Definition at line 110 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_ref_default(), i, and m.
TEST | ( | MapUtil | , |
get_ptr | |||
) |
Definition at line 124 of file MapUtilTest.cpp.
References EXPECT_EQ, EXPECT_TRUE, folly::get_ptr(), and m.
TEST | ( | MapUtil | , |
get_ptr_path_simple | |||
) |
Definition at line 133 of file MapUtilTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::get_ptr(), m, and map().
TEST | ( | MapUtil | , |
get_ptr_path_mixed | |||
) |
Definition at line 152 of file MapUtilTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::get_ptr(), m, map(), string, folly::T, and type.
TEST | ( | MapUtil | , |
get_default_temporary | |||
) |
Definition at line 197 of file MapUtilTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, value, and folly::value().
TEST | ( | MapUtil | , |
get_default_path | |||
) |
Definition at line 208 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_default(), m, and map().
TEST | ( | MapUtil | , |
get_default_path_mixed | |||
) |
Definition at line 216 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_default(), m, map(), string, and folly::value().
TEST | ( | MapUtil | , |
get_ref_default_path | |||
) |
Definition at line 232 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_ref_default(), m, and map().
TEST | ( | MapUtil | , |
get_ref_default_path_mixed | |||
) |
Definition at line 241 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_ref_default(), m, map(), string, and folly::value().
TEST | ( | MapUtil | , |
get_ref_default_path_temporary | |||
) |
Definition at line 271 of file MapUtilTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, integer_, folly::gen::move, string, and value.
TEST | ( | MapUtil | , |
test_get_default_deferred_construction | |||
) |
Definition at line 305 of file MapUtilTest.cpp.
References EXPECT_EQ, folly::get_default(), and val.