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:

Go to the source code of this file.

Classes

struct  OutputStringStream
 

Functions

static FILE * OpenEncodedFile (const char *filename)
 
template<typename DocumentType >
void ParseCheck (DocumentType &doc)
 
template<typename Allocator , typename StackAllocator >
void ParseTest ()
 
 TEST (Document, Parse)
 
 TEST (Document, UnchangedOnParseError)
 
 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

static FILE* OpenEncodedFile ( const char *  filename)
static

Definition at line 156 of file documenttest.cpp.

template<typename DocumentType >
void ParseCheck ( DocumentType &  doc)

Definition at line 33 of file documenttest.cpp.

template<typename Allocator , typename StackAllocator >
void ParseTest ( )

Definition at line 79 of file documenttest.cpp.

TEST ( Document  ,
Parse   
)

Definition at line 120 of file documenttest.cpp.

TEST ( Document  ,
UnchangedOnParseError   
)

Definition at line 127 of file documenttest.cpp.

TEST ( Document  ,
Parse_Encoding   
)

Definition at line 174 of file documenttest.cpp.

TEST ( Document  ,
ParseStream_EncodedInputStream   
)

Definition at line 215 of file documenttest.cpp.

TEST ( Document  ,
ParseStream_AutoUTFInputStream   
)

Definition at line 256 of file documenttest.cpp.

TEST ( Document  ,
Swap   
)

Definition at line 293 of file documenttest.cpp.

TEST ( Document  ,
AcceptWriter   
)

Definition at line 359 of file documenttest.cpp.

TEST ( Document  ,
UserBuffer   
)

Definition at line 370 of file documenttest.cpp.

TEST ( Document  ,
AssertAcceptInvalidNameType   
)

Definition at line 388 of file documenttest.cpp.

TEST ( Document  ,
UTF16_Document   
)

Definition at line 400 of file documenttest.cpp.



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