proxygen
FizzBaseTest.cpp File Reference
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <fizz/protocol/FizzBase.h>
#include <folly/futures/Future.h>
#include <folly/io/async/AsyncSocketException.h>
#include <folly/io/async/test/MockAsyncTransport.h>

Go to the source code of this file.

Classes

struct  fizz::test::State
 
struct  fizz::test::A1
 
struct  fizz::test::A2
 
class  fizz::test::TestStateMachine
 
class  fizz::test::ActionMoveVisitor
 
class  fizz::test::TestFizzBase
 
class  fizz::test::FizzBaseTest
 

Namespaces

 fizz
 
 fizz::test
 

Typedefs

using fizz::test::Action = boost::variant< A1, A2 >
 
using fizz::test::Actions = std::vector< Action >
 

Enumerations

enum  fizz::test::StateEnum { fizz::test::StateEnum::NotError, fizz::test::StateEnum::Error }
 

Functions

static WriteNewSessionTicket fizz::test::writeNewSessionTicket (const std::string &str)
 
static AppWrite fizz::test::appWrite (const std::string &str)
 
 fizz::test::MATCHER_P (WriteNewSessionTicketMatches, expected,"")
 
 fizz::test::MATCHER_P (WriteMatches, expected,"")
 
 fizz::test::TEST_F (FizzBaseTest, TestReadSingle)
 
 fizz::test::TEST_F (FizzBaseTest, TestReadMulti)
 
 fizz::test::TEST_F (FizzBaseTest, TestReadNoActions)
 
 fizz::test::TEST_F (FizzBaseTest, TestWriteNewSessionTicket)
 
 fizz::test::TEST_F (FizzBaseTest, TestWrite)
 
 fizz::test::TEST_F (FizzBaseTest, TestEarlyWrite)
 
 fizz::test::TEST_F (FizzBaseTest, TestWriteMulti)
 
 fizz::test::TEST_F (FizzBaseTest, TestAppClose)
 
 fizz::test::TEST_F (FizzBaseTest, TestWriteNewSessionTicketInCallback)
 
 fizz::test::TEST_F (FizzBaseTest, TestWriteInCallback)
 
 fizz::test::TEST_F (FizzBaseTest, TestAppCloseInCallback)
 
 fizz::test::TEST_F (FizzBaseTest, TestWriteThenCloseInCallback)
 
 fizz::test::TEST_F (FizzBaseTest, TestDeleteInCallback)
 
 fizz::test::TEST_F (FizzBaseTest, TestStopOnError)
 
 fizz::test::TEST_F (FizzBaseTest, TestAsyncAction)
 
 fizz::test::TEST_F (FizzBaseTest, TestAsyncActionDelete)
 
 fizz::test::TEST_F (FizzBaseTest, TestActionProcessing)
 
 fizz::test::TEST_F (FizzBaseTest, TestActionProcessingAsync)
 
 fizz::test::TEST_F (FizzBaseTest, TestErrorPendingEvents)
 
 fizz::test::TEST_F (FizzBaseTest, EventAfterErrorState)
 
 fizz::test::TEST_F (FizzBaseTest, TestManyActions)