|
proxygen
|
#include <wangle/channel/StaticPipeline.h>#include <wangle/channel/OutputBufferingHandler.h>#include <wangle/channel/test/MockHandler.h>#include <folly/io/async/AsyncSocket.h>#include <gmock/gmock.h>#include <gtest/gtest.h>Go to the source code of this file.
Typedefs | |
| typedef StrictMock< MockHandlerAdapter< IOBufQueue &, std::unique_ptr< IOBuf > > > | MockBytesHandler |
Functions | |
| MATCHER_P (IOBufContains, str,"") | |
| TEST (OutputBufferingHandlerTest, Basic) | |
| typedef StrictMock<MockHandlerAdapter< IOBufQueue&, std::unique_ptr<IOBuf> > > MockBytesHandler |
Definition at line 31 of file OutputBufferingHandlerTest.cpp.
| MATCHER_P | ( | IOBufContains | , |
| str | , | ||
| "" | |||
| ) |
Definition at line 33 of file OutputBufferingHandlerTest.cpp.
| TEST | ( | OutputBufferingHandlerTest | , |
| Basic | |||
| ) |
Definition at line 35 of file OutputBufferingHandlerTest.cpp.
References testing::_, folly::IOBuf::copyBuffer(), EXPECT_CALL, EXPECT_FALSE, EXPECT_TRUE, f, folly::EventBase::loopOnce(), folly::AsyncSocket::newSocket(), and folly::netops::socket().