|
proxygen
|
#include <folly/dynamic.h>#include <folly/gen/Base.h>#include <folly/json.h>#include <folly/portability/GFlags.h>#include <folly/portability/GTest.h>#include <iostream>Go to the source code of this file.
Functions | |
| TEST (Dynamic, ArrayGenerator) | |
| TEST (Dynamic, StringPtrs) | |
| TEST (Dynamic, Getters) | |
| TEST (Dynamic, FormattedIO) | |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 120 of file DynamicOtherTest.cpp.
References testing::InitGoogleTest(), and RUN_ALL_TESTS().
| TEST | ( | Dynamic | , |
| ArrayGenerator | |||
| ) |
Definition at line 29 of file DynamicOtherTest.cpp.
References folly::dynamic::array(), folly::dynamic::asInt(), EXPECT_EQ, folly::gen::from(), folly::gen::member(), folly::gen::sum, and folly::gen::take().
| TEST | ( | Dynamic | , |
| StringPtrs | |||
| ) |
Definition at line 36 of file DynamicOtherTest.cpp.
References folly::dynamic::asString(), folly::dynamic::c_str(), folly::dynamic::data(), EXPECT_EQ, EXPECT_THROW, folly::dynamic::getString(), folly::parseJson(), and folly::dynamic::stringPiece().
| TEST | ( | Dynamic | , |
| Getters | |||
| ) |
Definition at line 55 of file DynamicOtherTest.cpp.
References EXPECT_EQ, EXPECT_THROW, folly::dynamic::getBool(), folly::dynamic::getDouble(), folly::dynamic::getInt(), folly::dynamic::getString(), folly::parseJson(), and string.
| TEST | ( | Dynamic | , |
| FormattedIO | |||
| ) |
Definition at line 95 of file DynamicOtherTest.cpp.
References folly::dynamic::array(), EXPECT_EQ, and folly::dynamic::object().