proxygen
|
#include <folly/experimental/io/AsyncIO.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <random>
#include <thread>
#include <vector>
#include <glog/logging.h>
#include <folly/ScopeGuard.h>
#include <folly/String.h>
#include <folly/experimental/io/FsUtil.h>
#include <folly/portability/GTest.h>
#include <folly/portability/Sockets.h>
Go to the source code of this file.
Functions | |
TEST (AsyncIO, ZeroAsyncDataNotPollable) | |
TEST (AsyncIO, ZeroAsyncDataPollable) | |
TEST (AsyncIO, SingleAsyncDataNotPollable) | |
TEST (AsyncIO, SingleAsyncDataPollable) | |
TEST (AsyncIO, MultipleAsyncDataNotPollable) | |
TEST (AsyncIO, MultipleAsyncDataPollable) | |
TEST (AsyncIO, ManyAsyncDataNotPollable) | |
TEST (AsyncIO, ManyAsyncDataPollable) | |
TEST (AsyncIO, NonBlockingWait) | |
TEST (AsyncIO, Cancel) | |
TEST | ( | AsyncIO | , |
ZeroAsyncDataNotPollable | |||
) |
Definition at line 290 of file AsyncIOTest.cpp.
TEST | ( | AsyncIO | , |
ZeroAsyncDataPollable | |||
) |
Definition at line 294 of file AsyncIOTest.cpp.
TEST | ( | AsyncIO | , |
SingleAsyncDataNotPollable | |||
) |
Definition at line 298 of file AsyncIOTest.cpp.
TEST | ( | AsyncIO | , |
SingleAsyncDataPollable | |||
) |
Definition at line 303 of file AsyncIOTest.cpp.
TEST | ( | AsyncIO | , |
MultipleAsyncDataNotPollable | |||
) |
Definition at line 308 of file AsyncIOTest.cpp.
TEST | ( | AsyncIO | , |
MultipleAsyncDataPollable | |||
) |
Definition at line 330 of file AsyncIOTest.cpp.
TEST | ( | AsyncIO | , |
ManyAsyncDataNotPollable | |||
) |
Definition at line 352 of file AsyncIOTest.cpp.
TEST | ( | AsyncIO | , |
ManyAsyncDataPollable | |||
) |
Definition at line 362 of file AsyncIOTest.cpp.
TEST | ( | AsyncIO | , |
NonBlockingWait | |||
) |
Definition at line 372 of file AsyncIOTest.cpp.
References folly::netops::close(), folly::errnoStr(), EXPECT_EQ, EXPECT_LE, EXPECT_TRUE, folly::AsyncIO::pending(), SCOPE_EXIT, folly::size(), folly::AsyncIO::submit(), and folly::AsyncIO::wait().
TEST | ( | AsyncIO | , |
Cancel | |||
) |
Definition at line 400 of file AsyncIOTest.cpp.
References folly::AsyncIO::cancel(), folly::netops::close(), EXPECT_EQ, EXPECT_GE, EXPECT_TRUE, i, ops, folly::AsyncIO::pending(), SCOPE_EXIT, folly::size(), folly::AsyncIO::submit(), and folly::AsyncIO::wait().