proxygen
|
#include <array>
#include <string>
#include <vector>
#include <folly/Range.h>
#include <folly/container/Enumerate.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Classes | |
class | CStringRange |
struct | CStringRange::Sentinel |
Macros | |
#define | ENUMERATE_TEST_BASIC(DECL, NAME) |
#define | ENUMERATE_TEST_BASIC_CONST(DECL, NAME) |
Functions | |
TEST (Enumerate, Basic) | |
TEST (Enumerate, BasicRRef) | |
TEST (Enumerate, BasicConst) | |
TEST (Enumerate, BasicConstRef) | |
TEST (Enumerate, BasicConstRRef) | |
TEST (Enumerate, Temporary) | |
TEST (Enumerate, BasicConstArg) | |
TEST (Enumerate, TemporaryConstEnumerate) | |
TEST (Enumerate, RangeSupport) | |
TEST (Enumerate, EmptyRange) | |
bool | operator== (const char *c, CStringRange::Sentinel) |
TEST (Enumerate, Cpp17Support) | |
#define ENUMERATE_TEST_BASIC | ( | DECL, | |
NAME | |||
) |
Definition at line 38 of file EnumerateTest.cpp.
#define ENUMERATE_TEST_BASIC_CONST | ( | DECL, | |
NAME | |||
) |
Definition at line 63 of file EnumerateTest.cpp.
bool operator== | ( | const char * | c, |
CStringRange::Sentinel | |||
) |
Definition at line 164 of file EnumerateTest.cpp.
Referenced by folly::operator!=(), and TEST().
TEST | ( | Enumerate | , |
Basic | |||
) |
Definition at line 58 of file EnumerateTest.cpp.
TEST | ( | Enumerate | , |
BasicRRef | |||
) |
Definition at line 59 of file EnumerateTest.cpp.
TEST | ( | Enumerate | , |
BasicConst | |||
) |
Definition at line 79 of file EnumerateTest.cpp.
TEST | ( | Enumerate | , |
BasicConstRef | |||
) |
Definition at line 80 of file EnumerateTest.cpp.
TEST | ( | Enumerate | , |
BasicConstRRef | |||
) |
Definition at line 81 of file EnumerateTest.cpp.
TEST | ( | Enumerate | , |
Temporary | |||
) |
Definition at line 85 of file EnumerateTest.cpp.
References folly::enumerate(), EXPECT_EQ, and i.
TEST | ( | Enumerate | , |
BasicConstArg | |||
) |
Definition at line 98 of file EnumerateTest.cpp.
References folly::enumerate(), EXPECT_EQ, i, and value.
TEST | ( | Enumerate | , |
TemporaryConstEnumerate | |||
) |
Definition at line 113 of file EnumerateTest.cpp.
References folly::enumerate(), EXPECT_EQ, i, and value.
TEST | ( | Enumerate | , |
RangeSupport | |||
) |
Definition at line 127 of file EnumerateTest.cpp.
References folly::enumerate(), EXPECT_EQ, i, and folly::range().
TEST | ( | Enumerate | , |
EmptyRange | |||
) |
Definition at line 140 of file EnumerateTest.cpp.
References ADD_FAILURE, folly::enumerate(), and v.
TEST | ( | Enumerate | , |
Cpp17Support | |||
) |
Definition at line 168 of file EnumerateTest.cpp.
References ASSERT_LT, folly::test::begin(), folly::test::end(), folly::enumerate(), and EXPECT_EQ.