proxygen
|
#include <folly/portability/GTest.h>
#include <proxygen/lib/http/HTTPCommonHeaders.h>
#include <proxygen/lib/utils/PerfectIndexMap.h>
#include <string>
Go to the source code of this file.
Classes | |
struct | PerfectIndexMapTestsTemplateParams< Key, OtherKey, NoneKey, PerfectHashStrToKey, AllowDuplicates, CaseInsensitive, KeyCommonOffset, NumKeys > |
class | PerfectIndexMapTests< T > |
Typedefs | |
typedef testing::Types< PerfectIndexMapTestsTemplateParams< HTTPHeaderCode, HTTP_HEADER_OTHER, HTTP_HEADER_NONE, HTTPCommonHeaders::hash, false, true, HTTPHeaderCodeCommonOffset, HTTPCommonHeaders::num_header_codes >, PerfectIndexMapTestsTemplateParams< HTTPHeaderCode, HTTP_HEADER_OTHER, HTTP_HEADER_NONE, HTTPCommonHeaders::hash, true, true, HTTPHeaderCodeCommonOffset, HTTPCommonHeaders::num_header_codes >, PerfectIndexMapTestsTemplateParams< HTTPHeaderCode, HTTP_HEADER_OTHER, HTTP_HEADER_NONE, HTTPCommonHeaders::hash, true, false, HTTPHeaderCodeCommonOffset, HTTPCommonHeaders::num_header_codes >, PerfectIndexMapTestsTemplateParams< HTTPHeaderCode, HTTP_HEADER_OTHER, HTTP_HEADER_NONE, HTTPCommonHeaders::hash, false, false, HTTPHeaderCodeCommonOffset, HTTPCommonHeaders::num_header_codes > > | TestTypes |
Functions | |
TYPED_TEST_CASE (PerfectIndexMapTests, TestTypes) | |
TYPED_TEST (PerfectIndexMapTests, BasicKeySetAddRemoveGetSingleOrNone) | |
TYPED_TEST (PerfectIndexMapTests, BasicOtherKeySetAddRemoveGetSingleOrNone) | |
TYPED_TEST (PerfectIndexMapTests, OtherStringCaseSensitivity) | |
typedef testing::Types< PerfectIndexMapTestsTemplateParams< HTTPHeaderCode, HTTP_HEADER_OTHER, HTTP_HEADER_NONE, HTTPCommonHeaders::hash, false, true, HTTPHeaderCodeCommonOffset, HTTPCommonHeaders::num_header_codes>, PerfectIndexMapTestsTemplateParams< HTTPHeaderCode, HTTP_HEADER_OTHER, HTTP_HEADER_NONE, HTTPCommonHeaders::hash, true, true, HTTPHeaderCodeCommonOffset, HTTPCommonHeaders::num_header_codes>, PerfectIndexMapTestsTemplateParams< HTTPHeaderCode, HTTP_HEADER_OTHER, HTTP_HEADER_NONE, HTTPCommonHeaders::hash, true, false, HTTPHeaderCodeCommonOffset, HTTPCommonHeaders::num_header_codes>, PerfectIndexMapTestsTemplateParams< HTTPHeaderCode, HTTP_HEADER_OTHER, HTTP_HEADER_NONE, HTTPCommonHeaders::hash, false, false, HTTPHeaderCodeCommonOffset, HTTPCommonHeaders::num_header_codes> > TestTypes |
Definition at line 102 of file PerfectIndexMapTest.cpp.
TYPED_TEST | ( | PerfectIndexMapTests | , |
BasicKeySetAddRemoveGetSingleOrNone | |||
) |
Definition at line 105 of file PerfectIndexMapTest.cpp.
References ASSERT_EQ, ASSERT_TRUE, EXPECT_EQ, testing::Key(), and uint64_t.
TYPED_TEST | ( | PerfectIndexMapTests | , |
BasicOtherKeySetAddRemoveGetSingleOrNone | |||
) |
Definition at line 145 of file PerfectIndexMapTest.cpp.
References ASSERT_EQ, ASSERT_TRUE, EXPECT_EQ, string, and val.
TYPED_TEST | ( | PerfectIndexMapTests | , |
OtherStringCaseSensitivity | |||
) |
Definition at line 188 of file PerfectIndexMapTest.cpp.
References ASSERT_EQ, ASSERT_TRUE, EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::Optional< Value >::has_value(), folly::Optional< Value >::hasValue(), string, and folly::Optional< Value >::value().
TYPED_TEST_CASE | ( | PerfectIndexMapTests | , |
TestTypes | |||
) |