proxygen
|
#include <folly/experimental/flat_combining/test/FlatCombiningTestHelpers.h>
#include <folly/portability/GTest.h>
#include <glog/logging.h>
#include <mutex>
Go to the source code of this file.
Classes | |
struct | Params |
class | FlatCombiningTest |
Functions | |
TEST (FlatCombiningTest, lock_holder) | |
TEST_P (FlatCombiningTest, combining) | |
TEST_P (FlatCombiningTest, more_threads_than_records) | |
INSTANTIATE_TEST_CASE_P (Foo, FlatCombiningTest,::testing::ValuesIn(params)) | |
Variables | |
constexpr int | LINES = 5 |
constexpr int | NUM_RECS = 20 |
constexpr int | WORK = 0 |
constexpr int | ITERS = 100 |
static std::vector< int > | nthr = {1, 10, 20} |
constexpr Params | params [] |
INSTANTIATE_TEST_CASE_P | ( | Foo | , |
FlatCombiningTest | , | ||
::testing::ValuesIn(params) | |||
) |
TEST | ( | FlatCombiningTest | , |
lock_holder | |||
) |
Definition at line 39 of file FlatCombiningTest.cpp.
References folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::holdLock(), folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::releaseExclusive(), and folly::FlatCombining< FcSimpleExample< Mutex, Atom >, Mutex, Atom >::tryExclusive().
TEST_P | ( | FlatCombiningTest | , |
combining | |||
) |
Definition at line 55 of file FlatCombiningTest.cpp.
References Params::combining, Params::dedicated, ITERS, LINES, NUM_RECS, folly::test::run_test(), Params::simple, Params::syncop, Params::tc, and WORK.
TEST_P | ( | FlatCombiningTest | , |
more_threads_than_records | |||
) |
Definition at line 74 of file FlatCombiningTest.cpp.
References Params::combining, Params::dedicated, ITERS, LINES, folly::test::run_test(), Params::simple, Params::syncop, Params::tc, and WORK.
constexpr int ITERS = 100 |
Definition at line 29 of file FlatCombiningTest.cpp.
Referenced by TEST_P().
constexpr int LINES = 5 |
Definition at line 26 of file FlatCombiningTest.cpp.
Referenced by TEST_P().
|
static |
Definition at line 31 of file FlatCombiningTest.cpp.
constexpr int NUM_RECS = 20 |
Definition at line 27 of file FlatCombiningTest.cpp.
Referenced by TEST_P().
constexpr Params params[] |
Definition at line 94 of file FlatCombiningTest.cpp.
Referenced by fizz::client::test::AsyncFizzClientTest::completeEarlyHandshake(), fizz::detail::generateECKeyPair(), fizz::client::test::ClientProtocolTest::getEarlyDataParams(), fizz::client::test::AsyncFizzClientTest::getEarlyDataParams(), fizz::sm::getEarlyDataParams(), fizz::getExtension(), fizz::extensions::TokenBindingServerExtension::getExtensions(), proxygen::HTTPMessage::isResponse(), fizz::extensions::test::TokenBindingClientExtensionTest::setUpServerHelloExtensions(), fizz::extensions::test::ValidatorTest::setUpWithKeyParameters(), TEST(), testing::gmock_matchers_test::TEST(), fizz::client::test::TEST_F(), TEST_P(), fizz::test::TEST_P(), and fizz::sm::validateAcceptedEarly().
constexpr int WORK = 0 |
Definition at line 28 of file FlatCombiningTest.cpp.
Referenced by TEST_P().