|
proxygen
|
#include <proxygen/lib/http/session/HTTPSessionAcceptor.h>#include <proxygen/lib/http/session/test/HTTPSessionMocks.h>#include <proxygen/lib/utils/TestUtils.h>#include <folly/io/async/AsyncSSLSocket.h>#include <folly/io/async/test/MockAsyncServerSocket.h>#include <folly/io/async/test/MockAsyncSocket.h>Go to the source code of this file.
Classes | |
| class | HTTPTargetSessionAcceptor |
| class | HTTPSessionAcceptorTestBase |
| class | HTTPSessionAcceptorTestNPN |
| class | HTTPSessionAcceptorTestNPNPlaintext |
| class | HTTPSessionAcceptorTestNPNJunk |
Functions | |
| TEST_P (HTTPSessionAcceptorTestNPN, Npn) | |
| INSTANTIATE_TEST_CASE_P (NPNPositive, HTTPSessionAcceptorTestNPN,::testing::ValuesIn(protos1)) | |
| TEST_P (HTTPSessionAcceptorTestNPNPlaintext, PlaintextProtocols) | |
| INSTANTIATE_TEST_CASE_P (NPNPlaintext, HTTPSessionAcceptorTestNPNPlaintext,::testing::ValuesIn(protos2)) | |
| TEST_F (HTTPSessionAcceptorTestNPNJunk, Npn) | |
| TEST_F (HTTPSessionAcceptorTestNPN, AcceptorConfigCapture) | |
Variables | |
| char const * | protos1 [] |
| char const * | protos2 [] = { "spdy/3", "h2c" } |
| INSTANTIATE_TEST_CASE_P | ( | NPNPositive | , |
| HTTPSessionAcceptorTestNPN | , | ||
| ::testing::ValuesIn(protos1) | |||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | NPNPlaintext | , |
| HTTPSessionAcceptorTestNPNPlaintext | , | ||
| ::testing::ValuesIn(protos2) | |||
| ) |
| TEST_F | ( | HTTPSessionAcceptorTestNPNJunk | , |
| Npn | |||
| ) |
Definition at line 173 of file HTTPSessionAcceptorTest.cpp.
References acceptor_, EXPECT_CALL, EXPECT_EQ, folly::gen::move, proxygen::NONE, and string.
| TEST_F | ( | HTTPSessionAcceptorTestNPN | , |
| AcceptorConfigCapture | |||
| ) |
Definition at line 189 of file HTTPSessionAcceptorTest.cpp.
References acceptor_, config_, folly::gen::move, and proxygen::NONE.
| TEST_P | ( | HTTPSessionAcceptorTestNPN | , |
| Npn | |||
| ) |
Definition at line 114 of file HTTPSessionAcceptorTest.cpp.
References acceptor_, EXPECT_EQ, folly::gen::move, and string.
| TEST_P | ( | HTTPSessionAcceptorTestNPNPlaintext | , |
| PlaintextProtocols | |||
| ) |
Definition at line 145 of file HTTPSessionAcceptorTest.cpp.
References acceptor_, config_, EXPECT_EQ, folly::gen::move, proxygen::NONE, and string.
| char const* protos1[] |
Definition at line 138 of file HTTPSessionAcceptorTest.cpp.
| char const* protos2[] = { "spdy/3", "h2c" } |
Definition at line 167 of file HTTPSessionAcceptorTest.cpp.