proxygen
|
#include <folly/container/Foreach.h>
#include <array>
#include <initializer_list>
#include <iterator>
#include <list>
#include <map>
#include <string>
#include <tuple>
#include <vector>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Classes | |
class | folly::test::TestRValueConstruct |
class | folly::test::TestAdlIterable |
class | folly::test::TestBothIndexingAndIter |
class | folly::test::TestBothIndexingAndIter::Iterator |
Namespaces | |
folly | |
—— Concurrent Priority Queue Implementation —— | |
folly::test | |
Functions | |
auto | folly::test::begin (TestAdlIterable &instance) |
auto | folly::test::begin (const TestAdlIterable &instance) |
auto | folly::test::end (TestAdlIterable &instance) |
auto | folly::test::end (const TestAdlIterable &instance) |
TEST (Foreach, ForEachFunctionBasic) | |
TEST (Foreach, ForEachFunctionBasicRuntimeOneArg) | |
TEST (Foreach, ForEachFunctionBasicRuntimeTwoArg) | |
TEST (Foreach, ForEachFunctionBasicRuntimeThreeArg) | |
TEST (Foreach, ForEachFunctionBasicTupleOneArg) | |
TEST (Foreach, ForEachFunctionBasicTupleTwoArg) | |
TEST (Foreach, ForEachFunctionBreakRuntimeOneArg) | |
TEST (Foreach, ForEachFunctionBreakRuntimeTwoArg) | |
TEST (Foreach, ForEachFunctionBreakRuntimeThreeArg) | |
TEST (Foreach, ForEachFunctionBreakTupleOneArg) | |
TEST (Foreach, ForEachFunctionBreakTupleTwoArg) | |
TEST (Foreach, ForEachFunctionArray) | |
TEST (Foreach, ForEachFunctionInitializerListBasic) | |
TEST (Foreach, ForEachFunctionTestForward) | |
TEST (Foreach, ForEachFunctionAdlIterable) | |
TEST (ForEach, FetchRandomAccessIterator) | |
TEST (ForEach, FetchIndexing) | |
TEST (ForEach, FetchTuple) | |
TEST (ForEach, FetchTestPreferIterator) | |
TEST (Foreach, ForEachRvalue) | |
TEST (Foreach, ForEachNested) | |
TEST (Foreach, ForEachKV) | |
TEST (Foreach, ForEachKVBreak) | |
TEST (Foreach, ForEachKvWithMultiMap) | |
TEST (Foreach, ForEachEnumerate) | |
TEST (Foreach, ForEachEnumerateBreak) | |
TEST (Foreach, ForEachRangeR) | |
TEST | ( | Foreach | , |
ForEachFunctionBasic | |||
) |
Definition at line 104 of file ForeachTest.cpp.
References EXPECT_TRUE, folly::for_each(), std::tr1::make_tuple(), and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBasicRuntimeOneArg | |||
) |
Definition at line 115 of file ForeachTest.cpp.
References current, EXPECT_EQ, folly::for_each(), and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBasicRuntimeTwoArg | |||
) |
Definition at line 130 of file ForeachTest.cpp.
References EXPECT_EQ, EXPECT_TRUE, folly::for_each(), and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBasicRuntimeThreeArg | |||
) |
Definition at line 144 of file ForeachTest.cpp.
References EXPECT_TRUE, folly::for_each(), and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBasicTupleOneArg | |||
) |
Definition at line 155 of file ForeachTest.cpp.
References current, EXPECT_EQ, folly::for_each(), std::tr1::make_tuple(), and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBasicTupleTwoArg | |||
) |
Definition at line 170 of file ForeachTest.cpp.
References EXPECT_EQ, EXPECT_TRUE, folly::for_each(), std::tr1::make_tuple(), and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBreakRuntimeOneArg | |||
) |
Definition at line 184 of file ForeachTest.cpp.
References EXPECT_EQ, folly::for_each(), folly::loop_break, folly::loop_continue, and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBreakRuntimeTwoArg | |||
) |
Definition at line 197 of file ForeachTest.cpp.
References EXPECT_EQ, folly::for_each(), folly::loop_break, folly::loop_continue, and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBreakRuntimeThreeArg | |||
) |
Definition at line 210 of file ForeachTest.cpp.
References EXPECT_EQ, folly::for_each(), folly::loop_break, folly::loop_continue, and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBreakTupleOneArg | |||
) |
Definition at line 223 of file ForeachTest.cpp.
References EXPECT_EQ, folly::for_each(), folly::loop_break, folly::loop_continue, and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionBreakTupleTwoArg | |||
) |
Definition at line 236 of file ForeachTest.cpp.
References EXPECT_EQ, folly::for_each(), folly::loop_break, folly::loop_continue, and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionArray | |||
) |
Definition at line 249 of file ForeachTest.cpp.
References EXPECT_EQ, folly::for_each(), folly::loop_break, folly::loop_continue, and folly::range().
TEST | ( | Foreach | , |
ForEachFunctionInitializerListBasic | |||
) |
Definition at line 262 of file ForeachTest.cpp.
References folly::for_each().
TEST | ( | Foreach | , |
ForEachFunctionTestForward | |||
) |
Definition at line 266 of file ForeachTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, folly::for_each(), std::tr1::make_tuple(), and folly::gen::move.
TEST | ( | Foreach | , |
ForEachFunctionAdlIterable | |||
) |
Definition at line 280 of file ForeachTest.cpp.
References EXPECT_EQ, folly::for_each(), and folly::range().
TEST | ( | ForEach | , |
FetchRandomAccessIterator | |||
) |
Definition at line 290 of file ForeachTest.cpp.
References EXPECT_EQ, and folly::fetch().
TEST | ( | ForEach | , |
FetchIndexing | |||
) |
Definition at line 298 of file ForeachTest.cpp.
References EXPECT_EQ, and folly::fetch().
TEST | ( | ForEach | , |
FetchTuple | |||
) |
Definition at line 306 of file ForeachTest.cpp.
References EXPECT_EQ, folly::fetch(), and std::tr1::make_tuple().
TEST | ( | ForEach | , |
FetchTestPreferIterator | |||
) |
Definition at line 314 of file ForeachTest.cpp.
References EXPECT_EQ, EXPECT_TRUE, folly::fetch(), and folly::range().
TEST | ( | Foreach | , |
ForEachRvalue | |||
) |
Definition at line 323 of file ForeachTest.cpp.
References EXPECT_EQ, FOR_EACH, FOR_EACH_R, and string.
TEST | ( | Foreach | , |
ForEachNested | |||
) |
TEST | ( | Foreach | , |
ForEachKV | |||
) |
Definition at line 345 of file ForeachTest.cpp.
References EXPECT_EQ, FOR_EACH_KV, string, testMap(), folly::value(), and values().
TEST | ( | Foreach | , |
ForEachKVBreak | |||
) |
Definition at line 362 of file ForeachTest.cpp.
References EXPECT_EQ, FOR_EACH_KV, string, testMap(), folly::value(), and values().
TEST | ( | Foreach | , |
ForEachKvWithMultiMap | |||
) |
Definition at line 380 of file ForeachTest.cpp.
References EXPECT_EQ, FOR_EACH_KV, string, testMap(), folly::value(), and values().
TEST | ( | Foreach | , |
ForEachEnumerate | |||
) |
TEST | ( | Foreach | , |
ForEachEnumerateBreak | |||
) |
TEST | ( | Foreach | , |
ForEachRangeR | |||
) |
Definition at line 447 of file ForeachTest.cpp.
References EXPECT_EQ, FOR_EACH_RANGE_R, i, and sum().