RetroArch
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
EncodedStreamTest Class Reference
Inheritance diagram for EncodedStreamTest:
[legend]
Collaboration diagram for EncodedStreamTest:
[legend]

Public Member Functions

 EncodedStreamTest ()
 
virtual ~EncodedStreamTest ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Protected Member Functions

template<typename FileEncoding , typename MemoryEncoding >
void TestEncodedInputStream (const char *filename)
 
void TestAutoUTFInputStream (const char *filename, bool expectHasBOM)
 
template<typename FileEncoding , typename MemoryEncoding >
void TestEncodedOutputStream (const char *expectedFilename, bool putBOM)
 
void TestAutoUTFOutputStream (UTFType type, bool putBOM, const char *expectedFilename)
 
bool CompareFile (const char *filename, const char *expectedFilename)
 
bool CompareBufferFile (const char *actualBuffer, size_t actualLength, const char *expectedFilename)
 

Static Protected Member Functions

static FILEOpen (const char *filename)
 
static char * ReadFile (const char *filename, bool appendPath, size_t *outLength)
 

Protected Attributes

char * json_
 
size_t length_
 

Private Member Functions

 EncodedStreamTest (const EncodedStreamTest &)
 
EncodedStreamTestoperator= (const EncodedStreamTest &)
 

Constructor & Destructor Documentation

◆ EncodedStreamTest() [1/2]

EncodedStreamTest::EncodedStreamTest ( )
inline

◆ ~EncodedStreamTest()

EncodedStreamTest::~EncodedStreamTest ( )
virtual

◆ EncodedStreamTest() [2/2]

EncodedStreamTest::EncodedStreamTest ( const EncodedStreamTest )
private

Member Function Documentation

◆ CompareBufferFile()

bool EncodedStreamTest::CompareBufferFile ( const char *  actualBuffer,
size_t  actualLength,
const char *  expectedFilename 
)
inlineprotected
Here is the call graph for this function:

◆ CompareFile()

bool EncodedStreamTest::CompareFile ( const char *  filename,
const char *  expectedFilename 
)
inlineprotected
Here is the call graph for this function:

◆ Open()

static FILE* EncodedStreamTest::Open ( const char *  filename)
inlinestaticprotected
Here is the call graph for this function:

◆ operator=()

EncodedStreamTest& EncodedStreamTest::operator= ( const EncodedStreamTest )
private

◆ ReadFile()

static char* EncodedStreamTest::ReadFile ( const char *  filename,
bool  appendPath,
size_t *  outLength 
)
inlinestaticprotected
Here is the call graph for this function:

◆ SetUp()

virtual void EncodedStreamTest::SetUp ( )
inlinevirtual
Here is the call graph for this function:

◆ TearDown()

virtual void EncodedStreamTest::TearDown ( )
inlinevirtual
Here is the call graph for this function:

◆ TestAutoUTFInputStream()

void EncodedStreamTest::TestAutoUTFInputStream ( const char *  filename,
bool  expectHasBOM 
)
inlineprotected
Here is the call graph for this function:

◆ TestAutoUTFOutputStream()

void EncodedStreamTest::TestAutoUTFOutputStream ( UTFType  type,
bool  putBOM,
const char *  expectedFilename 
)
inlineprotected
Here is the call graph for this function:

◆ TestEncodedInputStream()

template<typename FileEncoding , typename MemoryEncoding >
void EncodedStreamTest::TestEncodedInputStream ( const char *  filename)
inlineprotected
Here is the call graph for this function:

◆ TestEncodedOutputStream()

template<typename FileEncoding , typename MemoryEncoding >
void EncodedStreamTest::TestEncodedOutputStream ( const char *  expectedFilename,
bool  putBOM 
)
inlineprotected
Here is the call graph for this function:

Member Data Documentation

◆ json_

char* EncodedStreamTest::json_
protected

◆ length_

size_t EncodedStreamTest::length_
protected

The documentation for this class was generated from the following file: