proxygen
|
#include <folly/DynamicConverter.h>
#include <folly/portability/GTest.h>
#include <algorithm>
#include <map>
#include <vector>
Go to the source code of this file.
Classes | |
class | A |
struct | folly::DynamicConverter< A > |
struct | Token |
struct | folly::DynamicConverter< Token > |
struct | B |
struct | B::BException |
struct | folly::DynamicConverter< B > |
Namespaces | |
folly | |
—— Concurrent Priority Queue Implementation —— | |
Functions | |
TEST (DynamicConverter, template_metaprogramming) | |
TEST (DynamicConverter, arithmetic_types) | |
TEST (DynamicConverter, enums) | |
TEST (DynamicConverter, simple_builtins) | |
TEST (DynamicConverter, simple_fbvector) | |
TEST (DynamicConverter, simple_container) | |
TEST (DynamicConverter, simple_map) | |
TEST (DynamicConverter, map_keyed_by_string) | |
TEST (DynamicConverter, map_to_vector_of_pairs) | |
TEST (DynamicConverter, nested_containers) | |
TEST (DynamicConverter, custom_class) | |
TEST (DynamicConverter, crazy) | |
TEST (DynamicConverter, consts) | |
TEST (DynamicConverter, example) | |
TEST (DynamicConverter, construct) | |
TEST (DynamicConverter, errors) | |
TEST (DynamicConverter, partial_dynamics) | |
TEST (DynamicConverter, asan_exception_case_umap) | |
TEST (DynamicConverter, asan_exception_case_uset) | |
TEST (DynamicConverter, double_destroy) | |
TEST (DynamicConverter, simple_vector_bool) | |
Variables | |
static int | constructB = 0 |
static int | destroyB = 0 |
static int | ticker = 0 |
TEST | ( | DynamicConverter | , |
template_metaprogramming | |||
) |
Definition at line 30 of file DynamicConverterTest.cpp.
References EXPECT_EQ, and folly::value().
TEST | ( | DynamicConverter | , |
arithmetic_types | |||
) |
Definition at line 71 of file DynamicConverterTest.cpp.
References d4(), d5(), d6(), and EXPECT_EQ.
TEST | ( | DynamicConverter | , |
enums | |||
) |
Definition at line 101 of file DynamicConverterTest.cpp.
References d3(), d4(), and EXPECT_EQ.
TEST | ( | DynamicConverter | , |
simple_builtins | |||
) |
Definition at line 123 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), d3(), d4(), EXPECT_EQ, and folly::dynamic::object().
TEST | ( | DynamicConverter | , |
simple_fbvector | |||
) |
Definition at line 143 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), and EXPECT_EQ.
TEST | ( | DynamicConverter | , |
simple_container | |||
) |
Definition at line 150 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), and EXPECT_EQ.
TEST | ( | DynamicConverter | , |
simple_map | |||
) |
Definition at line 162 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), EXPECT_EQ, and folly::dynamic::object().
TEST | ( | DynamicConverter | , |
map_keyed_by_string | |||
) |
Definition at line 175 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), EXPECT_EQ, and folly::dynamic::object().
TEST | ( | DynamicConverter | , |
map_to_vector_of_pairs | |||
) |
Definition at line 188 of file DynamicConverterTest.cpp.
References EXPECT_EQ, and folly::dynamic::object().
TEST | ( | DynamicConverter | , |
nested_containers | |||
) |
Definition at line 196 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), EXPECT_EQ, and folly::dynamic::object().
TEST | ( | DynamicConverter | , |
custom_class | |||
) |
Definition at line 228 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), EXPECT_EQ, and folly::dynamic::object().
TEST | ( | DynamicConverter | , |
crazy | |||
) |
Definition at line 240 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), folly::convertTo(), EXPECT_EQ, i, and folly::dynamic::object().
TEST | ( | DynamicConverter | , |
consts | |||
) |
Definition at line 282 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), d3(), d4(), d5(), EXPECT_EQ, and EXPECT_TRUE.
TEST | ( | DynamicConverter | , |
example | |||
) |
Definition at line 325 of file DynamicConverterTest.cpp.
References EXPECT_EQ, and folly::dynamic::object().
TEST | ( | DynamicConverter | , |
construct | |||
) |
Definition at line 332 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), c, EXPECT_EQ, map(), folly::dynamic::object(), folly::range(), string, and folly::toDynamic().
TEST | ( | DynamicConverter | , |
errors | |||
) |
Definition at line 390 of file DynamicConverterTest.cpp.
References EXPECT_THROW, int64_t, and max.
TEST | ( | DynamicConverter | , |
partial_dynamics | |||
) |
Definition at line 403 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), c, EXPECT_EQ, m, folly::dynamic::object(), and folly::toDynamic().
TEST | ( | DynamicConverter | , |
asan_exception_case_umap | |||
) |
Definition at line 416 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), folly::convertTo(), and EXPECT_THROW.
TEST | ( | DynamicConverter | , |
asan_exception_case_uset | |||
) |
Definition at line 421 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), folly::convertTo(), and EXPECT_THROW.
TEST | ( | DynamicConverter | , |
double_destroy | |||
) |
Definition at line 457 of file DynamicConverterTest.cpp.
References folly::dynamic::array(), constructB, folly::convertTo(), destroyB, EXPECT_EQ, EXPECT_THROW, and ticker.
TEST | ( | DynamicConverter | , |
simple_vector_bool | |||
) |
Definition at line 465 of file DynamicConverterTest.cpp.
References EXPECT_EQ, and folly::toDynamic().
|
static |
Definition at line 428 of file DynamicConverterTest.cpp.
|
static |
Definition at line 429 of file DynamicConverterTest.cpp.
|
static |
Definition at line 430 of file DynamicConverterTest.cpp.