RetroArch
Classes | Functions
documenttest.cpp File Reference
#include "unittest.h"
#include "rapidjson/document.h"
#include "rapidjson/writer.h"
#include "rapidjson/filereadstream.h"
#include "rapidjson/encodedstream.h"
#include "rapidjson/stringbuffer.h"
#include <sstream>
#include <algorithm>
Include dependency graph for documenttest.cpp:

Classes

struct  OutputStringStream
 

Functions

template<typename DocumentType >
void ParseCheck (DocumentType &doc)
 
template<typename Allocator , typename StackAllocator >
void ParseTest ()
 
 TEST (Document, Parse)
 
 TEST (Document, UnchangedOnParseError)
 
static FILEOpenEncodedFile (const char *filename)
 
 TEST (Document, Parse_Encoding)
 
 TEST (Document, ParseStream_EncodedInputStream)
 
 TEST (Document, ParseStream_AutoUTFInputStream)
 
 TEST (Document, Swap)
 
 TEST (Document, AcceptWriter)
 
 TEST (Document, UserBuffer)
 
 TEST (Document, AssertAcceptInvalidNameType)
 
 TEST (Document, UTF16_Document)
 

Function Documentation

◆ OpenEncodedFile()

static FILE* OpenEncodedFile ( const char *  filename)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParseCheck()

template<typename DocumentType >
void ParseCheck ( DocumentType &  doc)
Here is the caller graph for this function:

◆ ParseTest()

template<typename Allocator , typename StackAllocator >
void ParseTest ( )
Here is the call graph for this function:

◆ TEST() [1/10]

TEST ( Document  ,
Parse   
)

◆ TEST() [2/10]

TEST ( Document  ,
UnchangedOnParseError   
)
Here is the call graph for this function:

◆ TEST() [3/10]

TEST ( Document  ,
Parse_Encoding   
)
Here is the call graph for this function:

◆ TEST() [4/10]

TEST ( Document  ,
ParseStream_EncodedInputStream   
)
Here is the call graph for this function:

◆ TEST() [5/10]

TEST ( Document  ,
ParseStream_AutoUTFInputStream   
)
Here is the call graph for this function:

◆ TEST() [6/10]

TEST ( Document  ,
Swap   
)
Here is the call graph for this function:

◆ TEST() [7/10]

TEST ( Document  ,
AcceptWriter   
)
Here is the call graph for this function:

◆ TEST() [8/10]

TEST ( Document  ,
UserBuffer   
)
Here is the call graph for this function:

◆ TEST() [9/10]

TEST ( Document  ,
AssertAcceptInvalidNameType   
)
Here is the call graph for this function:

◆ TEST() [10/10]

TEST ( Document  ,
UTF16_Document   
)
Here is the call graph for this function: