proxygen
|
#include <memory>
#include <folly/Function.h>
#include <folly/functional/Partial.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Classes | |
class | Foo |
struct | RefQualifiers |
struct | RefQualifiers2 |
Functions | |
int | add3 (int x, int y, int z) |
TEST (Partial, Simple) | |
TEST (Partial, ReferenceArguments) | |
TEST (Partial, RefQualifiers) | |
TEST (Partial, RefQualifiers2) | |
std::unique_ptr< int > | calc_uptr (std::unique_ptr< int > x, std::unique_ptr< int > y) |
TEST (Partial, MoveOnly) | |
TEST (Partial, WrapInStdFunction) | |
TEST (Partial, WrapInFollyFunction) | |
int add3 | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 26 of file PartialTest.cpp.
Referenced by TEST().
std::unique_ptr<int> calc_uptr | ( | std::unique_ptr< int > | x, |
std::unique_ptr< int > | y | ||
) |
TEST | ( | Partial | , |
Simple | |||
) |
Definition at line 30 of file PartialTest.cpp.
References add3(), EXPECT_EQ, and folly::partial().
TEST | ( | Partial | , |
ReferenceArguments | |||
) |
Definition at line 56 of file PartialTest.cpp.
References EXPECT_EQ, folly::gen::move, and folly::partial().
TEST | ( | Partial | , |
RefQualifiers | |||
) |
Definition at line 80 of file PartialTest.cpp.
References EXPECT_EQ, folly::gen::move, and folly::partial().
TEST | ( | Partial | , |
RefQualifiers2 | |||
) |
Definition at line 101 of file PartialTest.cpp.
References EXPECT_EQ, folly::gen::move, and folly::partial().
TEST | ( | Partial | , |
MoveOnly | |||
) |
Definition at line 115 of file PartialTest.cpp.
References calc_uptr(), EXPECT_EQ, EXPECT_FALSE, folly::gen::move, and folly::partial().
TEST | ( | Partial | , |
WrapInStdFunction | |||
) |
Definition at line 137 of file PartialTest.cpp.
References add3(), EXPECT_EQ, and folly::partial().
TEST | ( | Partial | , |
WrapInFollyFunction | |||
) |
Definition at line 143 of file PartialTest.cpp.
References add3(), EXPECT_EQ, and folly::partial().