|
proxygen
|
#include <proxygen/lib/http/session/SecondaryAuthManager.h>#include <fizz/crypto/test/TestUtil.h>#include <fizz/protocol/test/Mocks.h>#include <fizz/record/Extensions.h>#include <fizz/record/Types.h>#include <folly/Conv.h>#include <folly/String.h>#include <folly/ssl/Init.h>#include <folly/portability/GMock.h>#include <folly/portability/GTest.h>Go to the source code of this file.
Functions | |
| TEST (SecondaryAuthManagerTest, AuthenticatorRequest) | |
| TEST (SecondaryAuthManagerTest, Authenticator) | |
Variables | |
| StringPiece | expected_auth_request |
| StringPiece | expected_cert |
| TEST | ( | SecondaryAuthManagerTest | , |
| AuthenticatorRequest | |||
| ) |
Definition at line 49 of file SecondaryAuthManagerTest.cpp.
References folly::IOBuf::copyBuffer(), proxygen::SecondaryAuthManager::createAuthRequest(), fizz::encodeExtension(), EXPECT_EQ, folly::hexlify(), folly::gen::move, and fizz::SignatureAlgorithms::supported_signature_algorithms.
| TEST | ( | SecondaryAuthManagerTest | , |
| Authenticator | |||
| ) |
Definition at line 66 of file SecondaryAuthManagerTest.cpp.
References testing::_, cipher, folly::IOBuf::copyBuffer(), proxygen::SecondaryAuthManager::createAuthRequest(), fizz::encodeExtension(), EXPECT_CALL, EXPECT_EQ, EXPECT_NE, EXPECT_TRUE, proxygen::SecondaryAuthManager::getAuthenticator(), fizz::test::getCert(), proxygen::SecondaryAuthManager::getCertId(), fizz::test::getCipher(), proxygen::SecondaryAuthManager::getPeerCert(), fizz::test::getPrivateKey(), folly::hexlify(), folly::ssl::init(), testing::InvokeWithoutArgs(), fizz::test::kP256Certificate, fizz::test::kP256Key, folly::gen::move, fizz::SignatureAlgorithms::supported_signature_algorithms, proxygen::UPSTREAM, and proxygen::SecondaryAuthManager::validateAuthenticator().
| StringPiece expected_auth_request |
Definition at line 30 of file SecondaryAuthManagerTest.cpp.
| StringPiece expected_cert |
Definition at line 33 of file SecondaryAuthManagerTest.cpp.