proxygen
CookieCipherTest.cpp File Reference
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <fizz/server/CookieCipher.h>
#include <fizz/protocol/test/Mocks.h>
#include <fizz/protocol/test/TestMessages.h>

Go to the source code of this file.

Classes

class  fizz::server::test::GetCookieStateTest
 

Namespaces

 fizz
 
 fizz::server
 
 fizz::server::test
 

Functions

 fizz::server::test::TEST (GetStatelessHrrTest, NoGroup)
 
 fizz::server::test::TEST (GetStatelessHrrTest, Group)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestBasic)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestNoVersion)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestVersionMismatch)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestCipherNegotiate)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestCipherNegotiateTie)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestCipherMismatch)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestGroupNotSent)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestNoGroups)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestNoKeyShare)
 
 fizz::server::test::TEST_F (GetCookieStateTest, TestGroupMismatch)
 

Variables

static constexpr StringPiece statelessHrr
 
static constexpr StringPiece statelessHrrGroup
 

Variable Documentation

constexpr StringPiece statelessHrr
static
Initial value:
{
"020000380303cf21ad74e59a6111be1d8c021e65b891c2a211167abb8c5e079e09e2c8a8339c001301000010002b00020304002c0006000474657374"}

Definition at line 21 of file CookieCipherTest.cpp.

Referenced by fizz::server::test::TEST().

constexpr StringPiece statelessHrrGroup
static
Initial value:
{
"0200003e0303cf21ad74e59a6111be1d8c021e65b891c2a211167abb8c5e079e09e2c8a8339c001301000016002b0002030400330002001d002c0006000474657374"}

Definition at line 24 of file CookieCipherTest.cpp.

Referenced by fizz::server::test::TEST().