|
proxygen
|
#include "Mocks.h"Go to the source code of this file.
Classes | |
| class | TestClientPipelineFactory |
| class | AcceptRoutingHandlerTest |
Typedefs | |
| using | TestServer = ServerBootstrap< DefaultPipeline > |
| using | TestClient = ClientBootstrap< DefaultPipeline > |
Functions | |
| TEST_F (AcceptRoutingHandlerTest, ParseRoutingDataSuccess) | |
| TEST_F (AcceptRoutingHandlerTest, SocketErrorInRoutingPipeline) | |
| TEST_F (AcceptRoutingHandlerTest, OnNewConnectionWithBadSocket) | |
| TEST_F (AcceptRoutingHandlerTest, RoutingPipelineErasedOnlyOnce) | |
| using TestClient = ClientBootstrap<DefaultPipeline> |
Definition at line 23 of file AcceptRoutingHandlerTest.cpp.
| using TestServer = ServerBootstrap<DefaultPipeline> |
Definition at line 22 of file AcceptRoutingHandlerTest.cpp.
| TEST_F | ( | AcceptRoutingHandlerTest | , |
| ParseRoutingDataSuccess | |||
| ) |
Definition at line 170 of file AcceptRoutingHandlerTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_EQ, testing::Invoke(), and fizz::detail::read().
| TEST_F | ( | AcceptRoutingHandlerTest | , |
| SocketErrorInRoutingPipeline | |||
| ) |
Definition at line 206 of file AcceptRoutingHandlerTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_EQ, wangle::PipelineBase::getTransport(), testing::Invoke(), folly::gen::move, and wangle::Pipeline< R, W >::writeException().
| TEST_F | ( | AcceptRoutingHandlerTest | , |
| OnNewConnectionWithBadSocket | |||
| ) |
Definition at line 249 of file AcceptRoutingHandlerTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_EQ, and testing::Invoke().
| TEST_F | ( | AcceptRoutingHandlerTest | , |
| RoutingPipelineErasedOnlyOnce | |||
| ) |
Definition at line 280 of file AcceptRoutingHandlerTest.cpp.