proxygen
|
#include <wangle/channel/Handler.h>
#include <wangle/channel/Pipeline.h>
#include <wangle/channel/StaticPipeline.h>
#include <wangle/channel/AsyncSocketHandler.h>
#include <wangle/channel/OutputBufferingHandler.h>
#include <wangle/channel/test/MockHandler.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <boost/thread/barrier.hpp>
Go to the source code of this file.
Classes | |
class | IntHandler2 |
class | ConcreteHandler< Rin, Rout, Win, Wout > |
Typedefs | |
typedef StrictMock< MockHandlerAdapter< int, int > > | IntHandler |
typedef HandlerAdapter< std::string, std::string > | StringHandler |
typedef ConcreteHandler< int, std::string > | IntToStringHandler |
typedef ConcreteHandler< std::string, int > | StringToIntHandler |
Functions | |
ACTION (FireRead) | |
ACTION (FireReadEOF) | |
ACTION (FireReadException) | |
ACTION (FireWrite) | |
ACTION (FireClose) | |
TEST (PipelineTest, RealHandlersCompile) | |
TEST (PipelineTest, FireActions) | |
TEST (PipelineTest, ReachEndOfPipeline) | |
TEST (PipelineTest, TurnAround) | |
TEST (PipelineTest, DynamicFireActions) | |
TEST (PipelineTest, DynamicAttachDetachOrder) | |
TEST (PipelineTest, GetContext) | |
TEST (PipelineTest, HandlerInMultiplePipelines) | |
TEST (PipelineTest, HandlerInPipelineTwice) | |
TEST (PipelineTest, NoDetachOnOwner) | |
TEST (Pipeline, MissingInboundOrOutbound) | |
TEST (Pipeline, DynamicConstruction) | |
TEST (Pipeline, RemovePointer) | |
TEST (Pipeline, RemoveFront) | |
TEST (Pipeline, RemoveBack) | |
TEST (Pipeline, RemoveType) | |
TEST (Pipeline, Concurrent) | |
TEST (PipelineTest, NumHandler) | |
TEST (PipelineTest, HandlerReuse) | |
typedef StrictMock<MockHandlerAdapter<int, int> > IntHandler |
Definition at line 31 of file PipelineTest.cpp.
typedef ConcreteHandler<int, std::string> IntToStringHandler |
Definition at line 274 of file PipelineTest.cpp.
typedef HandlerAdapter<std::string, std::string> StringHandler |
Definition at line 273 of file PipelineTest.cpp.
typedef ConcreteHandler<std::string, int> StringToIntHandler |
Definition at line 275 of file PipelineTest.cpp.
ACTION | ( | FireRead | ) |
Definition at line 34 of file PipelineTest.cpp.
ACTION | ( | FireReadEOF | ) |
Definition at line 38 of file PipelineTest.cpp.
ACTION | ( | FireReadException | ) |
Definition at line 42 of file PipelineTest.cpp.
ACTION | ( | FireWrite | ) |
Definition at line 46 of file PipelineTest.cpp.
ACTION | ( | FireClose | ) |
Definition at line 50 of file PipelineTest.cpp.
TEST | ( | PipelineTest | , |
RealHandlersCompile | |||
) |
Definition at line 55 of file PipelineTest.cpp.
References EXPECT_TRUE, folly::AsyncSocket::newSocket(), and folly::netops::socket().
TEST | ( | PipelineTest | , |
FireActions | |||
) |
Definition at line 81 of file PipelineTest.cpp.
References testing::_, EXPECT_CALL, and EXPECT_NO_THROW.
TEST | ( | PipelineTest | , |
ReachEndOfPipeline | |||
) |
Definition at line 123 of file PipelineTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_NO_THROW, and handler().
TEST | ( | PipelineTest | , |
TurnAround | |||
) |
Definition at line 147 of file PipelineTest.cpp.
References testing::_, and EXPECT_CALL.
TEST | ( | PipelineTest | , |
DynamicFireActions | |||
) |
Definition at line 172 of file PipelineTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_NO_THROW, and EXPECT_TRUE.
TEST | ( | PipelineTest | , |
DynamicAttachDetachOrder | |||
) |
Definition at line 211 of file PipelineTest.cpp.
References testing::_, and EXPECT_CALL.
TEST | ( | PipelineTest | , |
GetContext | |||
) |
Definition at line 230 of file PipelineTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_TRUE, and handler().
TEST | ( | PipelineTest | , |
HandlerInMultiplePipelines | |||
) |
Definition at line 238 of file PipelineTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_FALSE, and handler().
TEST | ( | PipelineTest | , |
HandlerInPipelineTwice | |||
) |
Definition at line 247 of file PipelineTest.cpp.
References testing::_, EXPECT_CALL, EXPECT_FALSE, and handler().
TEST | ( | PipelineTest | , |
NoDetachOnOwner | |||
) |
Definition at line 258 of file PipelineTest.cpp.
References testing::_, EXPECT_CALL, and handler().
TEST | ( | Pipeline | , |
MissingInboundOrOutbound | |||
) |
Definition at line 277 of file PipelineTest.cpp.
References EXPECT_THROW.
TEST | ( | Pipeline | , |
DynamicConstruction | |||
) |
Definition at line 291 of file PipelineTest.cpp.
References EXPECT_NO_THROW.
TEST | ( | Pipeline | , |
RemovePointer | |||
) |
Definition at line 309 of file PipelineTest.cpp.
References testing::_, and EXPECT_CALL.
TEST | ( | Pipeline | , |
RemoveFront | |||
) |
Definition at line 330 of file PipelineTest.cpp.
References testing::_, and EXPECT_CALL.
TEST | ( | Pipeline | , |
RemoveBack | |||
) |
Definition at line 351 of file PipelineTest.cpp.
References testing::_, and EXPECT_CALL.
TEST | ( | Pipeline | , |
RemoveType | |||
) |
Definition at line 372 of file PipelineTest.cpp.
References testing::_, and EXPECT_CALL.
TEST | ( | Pipeline | , |
Concurrent | |||
) |
Definition at line 397 of file PipelineTest.cpp.
References b, i, and folly::pushmi::detail::t.
TEST | ( | PipelineTest | , |
NumHandler | |||
) |
TEST | ( | PipelineTest | , |
HandlerReuse | |||
) |
Definition at line 438 of file PipelineTest.cpp.
References ASSERT_EQ, and EXPECT_NE.