|
proxygen
|
#include <folly/ProducerConsumerQueue.h>#include <atomic>#include <chrono>#include <memory>#include <thread>#include <vector>#include <glog/logging.h>#include <folly/portability/GTest.h>Go to the source code of this file.
Functions | |
| TEST (PCQ, QueueCorrectness) | |
| TEST (PCQ, PerfTest) | |
| TEST (PCQ, Destructor) | |
| TEST (PCQ, EmptyFull) | |
| TEST (PCQ, Capacity) | |
| TEST | ( | PCQ | , |
| QueueCorrectness | |||
| ) |
Definition at line 234 of file ProducerConsumerQueueTest.cpp.
| TEST | ( | PCQ | , |
| PerfTest | |||
| ) |
Definition at line 241 of file ProducerConsumerQueueTest.cpp.
| TEST | ( | PCQ | , |
| Destructor | |||
| ) |
Definition at line 248 of file ProducerConsumerQueueTest.cpp.
References EXPECT_EQ, EXPECT_TRUE, i, folly::ProducerConsumerQueue< T >::read(), and folly::ProducerConsumerQueue< T >::write().
| TEST | ( | PCQ | , |
| EmptyFull | |||
| ) |
| TEST | ( | PCQ | , |
| Capacity | |||
| ) |
Definition at line 306 of file ProducerConsumerQueueTest.cpp.
References folly::ProducerConsumerQueue< T >::capacity(), and EXPECT_EQ.