proxygen
|
#include <wangle/channel/broadcast/test/Mocks.h>
#include <wangle/channel/test/MockHandler.h>
#include <wangle/codec/MessageToByteEncoder.h>
Go to the source code of this file.
Classes | |
class | ObservingHandlerTest |
class | ObservingHandlerTest::MockIntToByteEncoder |
Functions | |
TEST_F (ObservingHandlerTest, Success) | |
TEST_F (ObservingHandlerTest, ConnectError) | |
TEST_F (ObservingHandlerTest, ConnectHandlerDeletion) | |
TEST_F (ObservingHandlerTest, ConnectErrorHandlerDeletion) | |
TEST_F (ObservingHandlerTest, BroadcastError) | |
TEST_F (ObservingHandlerTest, ReadEOF) | |
TEST_F (ObservingHandlerTest, ReadError) | |
TEST_F (ObservingHandlerTest, WriteError) | |
TEST_F (ObservingHandlerTest, WriteErrorHandlerDeletion) | |
TEST_F | ( | ObservingHandlerTest | , |
Success | |||
) |
Definition at line 64 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, testing::Invoke(), folly::makeFuture(), folly::makeMoveWrapper(), testing::Return(), and subscribe().
TEST_F | ( | ObservingHandlerTest | , |
ConnectError | |||
) |
Definition at line 102 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, testing::Invoke(), folly::makeFuture(), folly::makeMoveWrapper(), and testing::Return().
TEST_F | ( | ObservingHandlerTest | , |
ConnectHandlerDeletion | |||
) |
Definition at line 123 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, folly::Promise< T >::getFuture(), testing::Invoke(), folly::makeMoveWrapper(), testing::Return(), folly::Promise< T >::setValue(), and subscribe().
TEST_F | ( | ObservingHandlerTest | , |
ConnectErrorHandlerDeletion | |||
) |
Definition at line 147 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, folly::Promise< T >::getFuture(), testing::Invoke(), folly::makeMoveWrapper(), testing::Return(), and folly::Promise< T >::setException().
TEST_F | ( | ObservingHandlerTest | , |
BroadcastError | |||
) |
Definition at line 170 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, testing::Invoke(), folly::makeFuture(), folly::makeMoveWrapper(), testing::Return(), and subscribe().
TEST_F | ( | ObservingHandlerTest | , |
ReadEOF | |||
) |
Definition at line 205 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, testing::Invoke(), testing::InvokeWithoutArgs(), folly::makeFuture(), folly::makeMoveWrapper(), testing::Return(), and subscribe().
TEST_F | ( | ObservingHandlerTest | , |
ReadError | |||
) |
Definition at line 245 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, testing::Invoke(), testing::InvokeWithoutArgs(), folly::makeFuture(), folly::makeMoveWrapper(), testing::Return(), and subscribe().
TEST_F | ( | ObservingHandlerTest | , |
WriteError | |||
) |
Definition at line 286 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, testing::Invoke(), testing::InvokeWithoutArgs(), folly::makeFuture(), folly::makeMoveWrapper(), testing::Return(), and subscribe().
TEST_F | ( | ObservingHandlerTest | , |
WriteErrorHandlerDeletion | |||
) |
Definition at line 324 of file ObservingHandlerTest.cpp.
References testing::_, dummy(), EXPECT_CALL, folly::Promise< T >::getFuture(), testing::Invoke(), folly::makeMoveWrapper(), testing::Return(), folly::Promise< T >::setException(), and subscribe().