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:
Inheritance graph
[legend]

Public Member Functions

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

Protected Member Functions

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

Static Protected Member Functions

static FILE * Open (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 &)
 

Detailed Description

Definition at line 25 of file encodedstreamtest.cpp.

Constructor & Destructor Documentation

EncodedStreamTest::EncodedStreamTest ( )
inline

Definition at line 27 of file encodedstreamtest.cpp.

EncodedStreamTest::~EncodedStreamTest ( )
virtual

Definition at line 252 of file encodedstreamtest.cpp.

EncodedStreamTest::EncodedStreamTest ( const EncodedStreamTest )
private

Member Function Documentation

bool EncodedStreamTest::CompareBufferFile ( const char *  actualBuffer,
size_t  actualLength,
const char *  expectedFilename 
)
inlineprotected

Definition at line 240 of file encodedstreamtest.cpp.

bool EncodedStreamTest::CompareFile ( const char *  filename,
const char *  expectedFilename 
)
inlineprotected

Definition at line 230 of file encodedstreamtest.cpp.

static FILE* EncodedStreamTest::Open ( const char *  filename)
inlinestaticprotected

Definition at line 44 of file encodedstreamtest.cpp.

EncodedStreamTest& EncodedStreamTest::operator= ( const EncodedStreamTest )
private
static char* EncodedStreamTest::ReadFile ( const char *  filename,
bool  appendPath,
size_t *  outLength 
)
inlinestaticprotected

Definition at line 62 of file encodedstreamtest.cpp.

virtual void EncodedStreamTest::SetUp ( )
inlinevirtual

Definition at line 30 of file encodedstreamtest.cpp.

virtual void EncodedStreamTest::TearDown ( )
inlinevirtual

Definition at line 34 of file encodedstreamtest.cpp.

void EncodedStreamTest::TestAutoUTFInputStream ( const char *  filename,
bool  expectHasBOM 
)
inlineprotected

Definition at line 121 of file encodedstreamtest.cpp.

void EncodedStreamTest::TestAutoUTFOutputStream ( UTFType  type,
bool  putBOM,
const char *  expectedFilename 
)
inlineprotected

Definition at line 196 of file encodedstreamtest.cpp.

template<typename FileEncoding , typename MemoryEncoding >
void EncodedStreamTest::TestEncodedInputStream ( const char *  filename)
inlineprotected

Definition at line 81 of file encodedstreamtest.cpp.

template<typename FileEncoding , typename MemoryEncoding >
void EncodedStreamTest::TestEncodedOutputStream ( const char *  expectedFilename,
bool  putBOM 
)
inlineprotected

Definition at line 163 of file encodedstreamtest.cpp.

Member Data Documentation

char* EncodedStreamTest::json_
protected

Definition at line 248 of file encodedstreamtest.cpp.

size_t EncodedStreamTest::length_
protected

Definition at line 249 of file encodedstreamtest.cpp.


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


choreo_rapidjson
Author(s):
autogenerated on Thu Jul 18 2019 03:59:10