proxygen
|
#include <folly/Poly.h>
#include <folly/Conv.h>
#include <folly/poly/Nullable.h>
#include <folly/poly/Regular.h>
#include <folly/portability/GTest.h>
#include <array>
Go to the source code of this file.
Functions | |
TEST (Poly, SemiRegular) | |
TEST (Poly, EqualityComparable) | |
TEST (Poly, StrictlyOrderable) | |
TEST (Poly, SemiRegularReference) | |
TEST (Poly, Conversions) | |
TEST (Poly, EqualityComparableReference) | |
TEST (Poly, Singular) | |
TEST (Poly, SingleInheritance) | |
TEST (Poly, MultipleInheritance) | |
TEST (Poly, OverloadedMembers) | |
TEST (Poly, NullablePointer) | |
TEST (Poly, Move) | |
TEST (Poly, RValueRef) | |
TEST (Poly, Function) | |
TEST (Poly, DiamondInheritance) | |
TEST (Poly, Sig) | |
TEST (Poly, Addable) | |
TEST (Poly, PolyRefAsArg) | |
TEST | ( | Poly | , |
SemiRegular | |||
) |
Definition at line 73 of file PolyTest.cpp.
References EXPECT_EQ, EXPECT_THROW, folly::poly_type(), folly::f14::swap(), folly::swap(), and folly::value().
TEST | ( | Poly | , |
EqualityComparable | |||
) |
Definition at line 238 of file PolyTest.cpp.
References EXPECT_FALSE, EXPECT_THROW, and EXPECT_TRUE.
TEST | ( | Poly | , |
StrictlyOrderable | |||
) |
Definition at line 274 of file PolyTest.cpp.
References EXPECT_FALSE, EXPECT_THROW, and EXPECT_TRUE.
TEST | ( | Poly | , |
SemiRegularReference | |||
) |
Definition at line 323 of file PolyTest.cpp.
References EXPECT_EQ, EXPECT_THROW, i, folly::poly_type(), folly::f14::swap(), folly::swap(), and folly::value().
TEST | ( | Poly | , |
Conversions | |||
) |
Definition at line 351 of file PolyTest.cpp.
References EXPECT_EQ, i, and folly::value().
TEST | ( | Poly | , |
EqualityComparableReference | |||
) |
Definition at line 370 of file PolyTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, FOLLY_POLY_MEMBERS, folly::foo, testing::gmock_matchers_test::foo, and i.
TEST | ( | Poly | , |
Singular | |||
) |
Definition at line 411 of file PolyTest.cpp.
References bar, EXPECT_EQ, FOLLY_POLY_MEMBERS, folly::foo, i, folly::poly_type(), and string.
TEST | ( | Poly | , |
SingleInheritance | |||
) |
Definition at line 448 of file PolyTest.cpp.
References bar, baz(), upload::const, EXPECT_EQ, fizz, FOLLY_POLY_MEMBERS, folly::foo, i, folly::poly_type(), and string.
TEST | ( | Poly | , |
MultipleInheritance | |||
) |
Definition at line 517 of file PolyTest.cpp.
References EXPECT_EQ, FOLLY_POLY_MEMBER, FOLLY_POLY_MEMBERS, i, folly::poly_type(), and testing::Property().
TEST | ( | Poly | , |
OverloadedMembers | |||
) |
Definition at line 561 of file PolyTest.cpp.
References EXPECT_EQ, and folly::poly_type().
TEST | ( | Poly | , |
NullablePointer | |||
) |
Definition at line 569 of file PolyTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_THROW, EXPECT_TRUE, folly::poly_empty(), folly::poly_type(), and s.
TEST | ( | Poly | , |
Move | |||
) |
Definition at line 598 of file PolyTest.cpp.
References EXPECT_EQ, i, folly::poly_move(), and folly::value().
TEST | ( | Poly | , |
RValueRef | |||
) |
Definition at line 624 of file PolyTest.cpp.
References folly::gen::as(), EXPECT_EQ, FOLLY_POLY_MEMBER, FOLLY_POLY_MEMBERS, i, folly::gen::move, and folly::value().
Definition at line 654 of file PolyTest.cpp.
References EXPECT_EQ, and fun().
TEST | ( | Poly | , |
DiamondInheritance | |||
) |
Definition at line 666 of file PolyTest.cpp.
References folly::eq, EXPECT_EQ, EXPECT_THROW, folly::poly_type(), and folly::value().
TEST | ( | Poly | , |
Sig | |||
) |
Definition at line 737 of file PolyTest.cpp.
References a, b, upload::const, EXPECT_EQ, FOLLY_POLY_MEMBERS, folly::operator+(), and folly::T.
TEST | ( | Poly | , |
Addable | |||
) |
Definition at line 793 of file PolyTest.cpp.
References a, b, c, cc, EXPECT_EQ, FOLLY_POLY_MEMBERS, folly::poly_type(), folly::value(), and x.
TEST | ( | Poly | , |
PolyRefAsArg | |||
) |
Definition at line 830 of file PolyTest.cpp.