Classes | Macros | Functions
readertest.cpp File Reference
#include "unittest.h"
#include "rapidjson/reader.h"
#include "rapidjson/internal/dtoa.h"
#include "rapidjson/internal/itoa.h"
#include "rapidjson/memorystream.h"
#include <limits>
#include <sstream>
Include dependency graph for readertest.cpp:

Go to the source code of this file.

Classes

class  CustomStringStream< Encoding >
 
struct  HandlerTerminateAtEndArray
 
struct  HandlerTerminateAtEndObject
 
struct  HandlerTerminateAtStartArray
 
struct  HandlerTerminateAtStartObject
 
class  IStreamWrapper
 
struct  IterativeParsingReaderHandler< Encoding >
 
struct  NumbersAsStringsHandler
 
struct  ParseArrayHandler< count >
 
struct  ParseBoolHandler< expect >
 
struct  ParseDoubleHandler
 
struct  ParseEmptyObjectHandler
 
struct  ParseInt64Handler
 
struct  ParseIntHandler
 
struct  ParseMultipleRootHandler
 
struct  ParseObjectHandler
 
struct  ParseStringHandler< Encoding >
 
struct  ParseUint64Handler
 
struct  ParseUintHandler
 
struct  TerminateHandler< e >
 

Macros

#define ARRAY(...)   { __VA_ARGS__ }
 
#define ARRAY(...)   { __VA_ARGS__ }
 
#define TEST_ARRAY_ERROR(errorCode, str, errorOffset)
 
#define TEST_DOUBLE(fullPrecision, str, x)
 
#define TEST_ERROR(errorCode, str, errorOffset)
 
#define TEST_INTEGER(Handler, str, x)
 
#define TEST_NAN_INF(str, x)
 
#define TEST_NAN_INF_ERROR(errorCode, str, errorOffset)
 
#define TEST_NUMBER_ERROR(errorCode, str, errorOffset, streamPos)
 
#define TEST_STRING(Encoding, e, x)
 
#define TEST_STRING_ERROR(errorCode, str, errorOffset, streamPos)
 
#define TEST_STRINGARRAY(Encoding, utype, array, x)
 
#define TEST_STRINGARRAY2(Encoding, utype, earray, xarray)
 
#define TEST_STRINGENCODING_ERROR(Encoding, TargetEncoding, utype, array)
 
#define TEST_TERMINATION(e, json)
 
#define TESTERRORHANDLING(text, errorCode, offset)
 

Functions

 TEST (Reader, ParseTrue)
 
 TEST (Reader, ParseFalse)
 
 TEST (Reader, ParseNumber_Integer)
 
 TEST (Reader, ParseNumber_NormalPrecisionDouble)
 
 TEST (Reader, ParseNumber_FullPrecisionDouble)
 
 TEST (Reader, ParseNumber_NormalPrecisionError)
 
 TEST (Reader, ParseNumber_Error)
 
 TEST (Reader, ParseString)
 
 TEST (Reader, ParseString_Transcoding)
 
 TEST (Reader, ParseString_TranscodingWithValidation)
 
 TEST (Reader, ParseString_NonDestructive)
 
 TEST (Reader, ParseString_Error)
 
 TEST (Reader, ParseEmptyArray)
 
 TEST (Reader, ParseArray)
 
 TEST (Reader, ParseArray_Error)
 
 TEST (Reader, ParseObject)
 
 TEST (Reader, Parse_EmptyObject)
 
 TEST (Reader, Parse_MultipleRoot)
 
 TEST (Reader, ParseIterative_MultipleRoot)
 
 TEST (Reader, ParseInsitu_MultipleRoot)
 
 TEST (Reader, ParseInsituIterative_MultipleRoot)
 
 TEST (Reader, ParseDocument_Error)
 
 TEST (Reader, ParseValue_Error)
 
 TEST (Reader, ParseObject_Error)
 
 TEST (Reader, SkipWhitespace)
 
 TEST (Reader, CustomStringStream)
 
 TEST (Reader, Parse_IStreamWrapper_StringStream)
 
 TEST (Reader, IterativeParsing_ErrorHandling)
 
 TEST (Reader, IterativeParsing_General)
 
 TEST (Reader, IterativeParsing_Count)
 
 TEST (Reader, IterativePullParsing_General)
 
 TEST (Reader, IterativeParsing_ShortCircuit)
 
 TEST (Reader, BaseReaderHandler_Default)
 
 TEST (Reader, ParseTerminationByHandler)
 
 TEST (Reader, ParseComments)
 
 TEST (Reader, ParseEmptyInlineComment)
 
 TEST (Reader, ParseEmptyOnelineComment)
 
 TEST (Reader, ParseMultipleCommentsInARow)
 
 TEST (Reader, InlineCommentsAreDisabledByDefault)
 
 TEST (Reader, OnelineCommentsAreDisabledByDefault)
 
 TEST (Reader, EofAfterOneLineComment)
 
 TEST (Reader, IncompleteMultilineComment)
 
 TEST (Reader, IncompleteMultilineComment2)
 
 TEST (Reader, UnrecognizedComment)
 
 TEST (Reader, NumbersAsStrings)
 
 TEST (Reader, TrailingCommas)
 
 TEST (Reader, TrailingCommasIterative)
 
 TEST (Reader, MultipleTrailingCommaErrors)
 
 TEST (Reader, MultipleTrailingCommaErrorsIterative)
 
 TEST (Reader, EmptyExceptForCommaErrors)
 
 TEST (Reader, EmptyExceptForCommaErrorsIterative)
 
 TEST (Reader, TrailingCommaHandlerTermination)
 
 TEST (Reader, TrailingCommaHandlerTerminationIterative)
 
 TEST (Reader, ParseNanAndInfinity)
 
template<unsigned extraFlags>
void TestEmptyExceptForCommaErrors ()
 
template<unsigned parseFlags>
void TestInsituMultipleRoot ()
 
template<unsigned parseFlags>
void TestMultipleRoot ()
 
template<unsigned extraFlags>
void TestMultipleTrailingCommaErrors ()
 
template<bool fullPrecision>
static void TestParseDouble ()
 
template<typename Encoding >
ParseErrorCode TestString (const typename Encoding::Ch *str)
 
template<unsigned extraFlags>
void TestTrailingCommaHandlerTermination ()
 
template<unsigned extraFlags>
void TestTrailingCommas ()
 

Macro Definition Documentation

#define ARRAY (   ...)    { __VA_ARGS__ }
#define ARRAY (   ...)    { __VA_ARGS__ }
#define TEST_ARRAY_ERROR (   errorCode,
  str,
  errorOffset 
)
Value:
{ \
int streamPos = errorOffset; \
char buffer[1001]; \
strncpy(buffer, str, 1000); \
BaseReaderHandler<> h; \
GenericReader<UTF8<>, UTF8<>, CrtAllocator> reader; \
EXPECT_FALSE(reader.Parse(s, h)); \
EXPECT_EQ(errorCode, reader.GetParseErrorCode());\
EXPECT_EQ(errorOffset, reader.GetErrorOffset());\
EXPECT_EQ(streamPos, s.Tell());\
}
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition: fwd.h:52
XmlRpcServer s
UTF-8 encoding.
Definition: encodings.h:96
C-runtime library allocator.
Definition: allocators.h:62
#define TEST_DOUBLE (   fullPrecision,
  str,
 
)
Value:
{ \
ParseDoubleHandler h; \
Reader reader; \
ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code()); \
EXPECT_EQ(1u, h.step_); \
internal::Double e(x), a(h.actual_); \
if (fullPrecision) { \
EXPECT_EQ(e.Uint64Value(), a.Uint64Value()); \
if (e.Uint64Value() != a.Uint64Value()) \
printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", str, h.actual_, x); \
} \
else { \
EXPECT_EQ(e.Sign(), a.Sign()); /* for 0.0 != -0.0 */ \
EXPECT_DOUBLE_EQ(x, h.actual_); \
} \
}
No error.
Definition: error.h:65
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:88
XmlRpcServer s
Parse number in full precision (but slower).
Definition: reader.h:153
GenericStringStream< UTF8< char > > StringStream
Definition: fwd.h:47
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1121
#define TEST_ERROR (   errorCode,
  str,
  errorOffset 
)
Value:
{ \
int streamPos = errorOffset; \
char buffer[1001]; \
strncpy(buffer, str, 1000); \
BaseReaderHandler<> h; \
Reader reader; \
EXPECT_FALSE(reader.Parse(s, h)); \
EXPECT_EQ(errorCode, reader.GetParseErrorCode());\
EXPECT_EQ(errorOffset, reader.GetErrorOffset());\
EXPECT_EQ(streamPos, s.Tell());\
}
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:88
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition: fwd.h:52
XmlRpcServer s

Definition at line 936 of file readertest.cpp.

#define TEST_INTEGER (   Handler,
  str,
 
)
Value:
{ \
Handler h; \
Reader reader; \
reader.Parse(s, h); \
EXPECT_EQ(1u, h.step_); \
EXPECT_EQ(x, h.actual_); \
}
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:88
ParseResult Parse(InputStream &is, Handler &handler)
Parse JSON text.
Definition: reader.h:558
XmlRpcServer s
GenericStringStream< UTF8< char > > StringStream
Definition: fwd.h:47
#define TEST_NAN_INF (   str,
 
)
Value:
{ \
{ \
ParseDoubleHandler h; \
Reader reader; \
ASSERT_EQ(kParseErrorNone, reader.Parse<kParseNanAndInfFlag>(s, h).Code()); \
EXPECT_EQ(1u, h.step_); \
internal::Double e(x), a(h.actual_); \
EXPECT_EQ(e.IsNan(), a.IsNan()); \
EXPECT_EQ(e.IsInf(), a.IsInf()); \
if (!e.IsNan()) \
EXPECT_EQ(e.Sign(), a.Sign()); \
} \
{ \
const char* json = "{ \"naninfdouble\": " str " } "; \
StringStream s(json); \
NumbersAsStringsHandler h(str); \
Reader reader; \
EXPECT_TRUE(reader.Parse<kParseNumbersAsStringsFlag|kParseNanAndInfFlag>(s, h)); \
} \
{ \
char* json = StrDup("{ \"naninfdouble\": " str " } "); \
NumbersAsStringsHandler h(str); \
Reader reader; \
free(json); \
} \
}
No error.
Definition: error.h:65
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:88
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition: fwd.h:52
XmlRpcServer s
Allow parsing NaN, Inf, Infinity, -Inf and -Infinity as doubles.
Definition: reader.h:157
Parse all numbers (ints/doubles) as strings.
Definition: reader.h:155
static const char json[]
Ch * StrDup(const Ch *str)
Definition: unittest.h:73
GenericStringStream< UTF8< char > > StringStream
Definition: fwd.h:47
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1121
In-situ(destructive) parsing.
Definition: reader.h:149
#define TEST_NAN_INF_ERROR (   errorCode,
  str,
  errorOffset 
)
Value:
{ \
int streamPos = errorOffset; \
char buffer[1001]; \
strncpy(buffer, str, 1000); \
BaseReaderHandler<> h; \
Reader reader; \
EXPECT_FALSE(reader.Parse<kParseNanAndInfFlag>(s, h)); \
EXPECT_EQ(errorCode, reader.GetParseErrorCode());\
EXPECT_EQ(errorOffset, reader.GetErrorOffset());\
EXPECT_EQ(streamPos, s.Tell());\
}
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:88
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition: fwd.h:52
XmlRpcServer s
Allow parsing NaN, Inf, Infinity, -Inf and -Infinity as doubles.
Definition: reader.h:157
#define TEST_NUMBER_ERROR (   errorCode,
  str,
  errorOffset,
  streamPos 
)
Value:
{ \
char buffer[1001]; \
sprintf(buffer, "%s", str); \
BaseReaderHandler<> h; \
Reader reader; \
EXPECT_FALSE(reader.Parse(s, h)); \
EXPECT_EQ(errorCode, reader.GetParseErrorCode());\
EXPECT_EQ(errorOffset, reader.GetErrorOffset());\
EXPECT_EQ(streamPos, s.Tell());\
}
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:88
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition: fwd.h:52
XmlRpcServer s
#define TEST_STRING (   Encoding,
  e,
 
)
Value:
{ \
Encoding::Ch* buffer = StrDup(x); \
GenericInsituStringStream<Encoding> is(buffer); \
ParseStringHandler<Encoding> h; \
GenericReader<Encoding, Encoding> reader; \
reader.Parse<kParseInsituFlag | kParseValidateEncodingFlag>(is, h); \
EXPECT_EQ(0, StrCmp<Encoding::Ch>(e, h.str_)); \
EXPECT_EQ(StrLen(e), h.length_); \
free(buffer); \
GenericStringStream<Encoding> s(x); \
ParseStringHandler<Encoding> h2; \
GenericReader<Encoding, Encoding> reader2; \
reader2.Parse(s, h2); \
EXPECT_EQ(0, StrCmp<Encoding::Ch>(e, h2.str_)); \
EXPECT_EQ(StrLen(e), h2.length_); \
}
XmlRpcServer s
Ch * StrDup(const Ch *str)
Definition: unittest.h:73
unsigned StrLen(const Ch *s)
Definition: unittest.h:60
Validate encoding of JSON strings.
Definition: reader.h:150
In-situ(destructive) parsing.
Definition: reader.h:149
#define TEST_STRING_ERROR (   errorCode,
  str,
  errorOffset,
  streamPos 
)
Value:
{\
GenericStringStream<UTF8<> > s(str);\
BaseReaderHandler<UTF8<> > h;\
GenericReader<UTF8<> , UTF8<> > reader;\
reader.Parse<kParseValidateEncodingFlag>(s, h);\
EXPECT_EQ(errorCode, reader.GetParseErrorCode());\
EXPECT_EQ(errorOffset, reader.GetErrorOffset());\
EXPECT_EQ(streamPos, s.Tell());\
}
XmlRpcServer s
UTF-8 encoding.
Definition: encodings.h:96
Validate encoding of JSON strings.
Definition: reader.h:150
#define TEST_STRINGARRAY (   Encoding,
  utype,
  array,
 
)
Value:
{ \
static const utype ue[] = array; \
static const Encoding::Ch* e = reinterpret_cast<const Encoding::Ch *>(&ue[0]); \
}
Concept for encoding of Unicode characters.
#define TEST_STRING(Encoding, e, x)
#define TEST_STRINGARRAY2 (   Encoding,
  utype,
  earray,
  xarray 
)
Value:
{ \
static const utype ue[] = earray; \
static const utype xe[] = xarray; \
static const Encoding::Ch* e = reinterpret_cast<const Encoding::Ch *>(&ue[0]); \
static const Encoding::Ch* x = reinterpret_cast<const Encoding::Ch *>(&xe[0]); \
}
Concept for encoding of Unicode characters.
#define TEST_STRING(Encoding, e, x)
#define TEST_STRINGENCODING_ERROR (   Encoding,
  TargetEncoding,
  utype,
  array 
)
Value:
{ \
static const utype ue[] = array; \
static const Encoding::Ch* e = reinterpret_cast<const Encoding::Ch *>(&ue[0]); \
EXPECT_EQ(kParseErrorStringInvalidEncoding, TestString<Encoding>(e));\
/* decode error */\
GenericStringStream<Encoding> s(e);\
BaseReaderHandler<TargetEncoding> h;\
GenericReader<Encoding, TargetEncoding> reader;\
reader.Parse(s, h);\
EXPECT_EQ(kParseErrorStringInvalidEncoding, reader.GetParseErrorCode());\
}
XmlRpcServer s
Invalid encoding in string.
Definition: error.h:82
#define TEST_TERMINATION (   e,
  json 
)
Value:
{\
Reader reader;\
TerminateHandler<e> h;\
EXPECT_FALSE(reader.Parse(is, h));\
EXPECT_EQ(kParseErrorTermination, reader.GetParseErrorCode());\
}
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:88
Parsing was terminated.
Definition: error.h:88
static const char json[]
GenericStringStream< UTF8< char > > StringStream
Definition: fwd.h:47

Definition at line 1432 of file readertest.cpp.

#define TESTERRORHANDLING (   text,
  errorCode,
  offset 
)
Value:
{\
int streamPos = offset; \
BaseReaderHandler<> handler; \
Reader reader; \
reader.Parse<kParseIterativeFlag>(json, handler); \
EXPECT_TRUE(reader.HasParseError()); \
EXPECT_EQ(errorCode, reader.GetParseErrorCode()); \
EXPECT_EQ(offset, reader.GetErrorOffset()); \
EXPECT_EQ(streamPos, json.Tell()); \
}
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:88
ParseResult Parse(InputStream &is, Handler &handler)
Parse JSON text.
Definition: reader.h:558
Iterative(constant complexity in terms of function call stack size) parsing.
Definition: reader.h:151
static const char json[]
GenericStringStream< UTF8< char > > StringStream
Definition: fwd.h:47

Definition at line 1111 of file readertest.cpp.

Function Documentation

TEST ( Reader  ,
ParseTrue   
)

Definition at line 52 of file readertest.cpp.

TEST ( Reader  ,
ParseFalse   
)

Definition at line 60 of file readertest.cpp.

TEST ( Reader  ,
ParseNumber_Integer   
)

Definition at line 113 of file readertest.cpp.

TEST ( Reader  ,
ParseNumber_NormalPrecisionDouble   
)

Definition at line 382 of file readertest.cpp.

TEST ( Reader  ,
ParseNumber_FullPrecisionDouble   
)

Definition at line 386 of file readertest.cpp.

TEST ( Reader  ,
ParseNumber_NormalPrecisionError   
)

Definition at line 390 of file readertest.cpp.

TEST ( Reader  ,
ParseNumber_Error   
)

Definition at line 424 of file readertest.cpp.

TEST ( Reader  ,
ParseString   
)

Definition at line 487 of file readertest.cpp.

TEST ( Reader  ,
ParseString_Transcoding   
)

Definition at line 572 of file readertest.cpp.

TEST ( Reader  ,
ParseString_TranscodingWithValidation   
)

Definition at line 583 of file readertest.cpp.

TEST ( Reader  ,
ParseString_NonDestructive   
)

Definition at line 594 of file readertest.cpp.

TEST ( Reader  ,
ParseString_Error   
)

Definition at line 612 of file readertest.cpp.

TEST ( Reader  ,
ParseEmptyArray   
)

Definition at line 747 of file readertest.cpp.

TEST ( Reader  ,
ParseArray   
)

Definition at line 757 of file readertest.cpp.

TEST ( Reader  ,
ParseArray_Error   
)

Definition at line 767 of file readertest.cpp.

TEST ( Reader  ,
ParseObject   
)

Definition at line 838 of file readertest.cpp.

TEST ( Reader  ,
Parse_EmptyObject   
)

Definition at line 872 of file readertest.cpp.

TEST ( Reader  ,
Parse_MultipleRoot   
)

Definition at line 905 of file readertest.cpp.

TEST ( Reader  ,
ParseIterative_MultipleRoot   
)

Definition at line 909 of file readertest.cpp.

TEST ( Reader  ,
ParseInsitu_MultipleRoot   
)

Definition at line 928 of file readertest.cpp.

TEST ( Reader  ,
ParseInsituIterative_MultipleRoot   
)

Definition at line 932 of file readertest.cpp.

TEST ( Reader  ,
ParseDocument_Error   
)

Definition at line 950 of file readertest.cpp.

TEST ( Reader  ,
ParseValue_Error   
)

Definition at line 963 of file readertest.cpp.

TEST ( Reader  ,
ParseObject_Error   
)

Definition at line 972 of file readertest.cpp.

TEST ( Reader  ,
SkipWhitespace   
)

Definition at line 1007 of file readertest.cpp.

TEST ( Reader  ,
CustomStringStream   
)

Definition at line 1056 of file readertest.cpp.

TEST ( Reader  ,
Parse_IStreamWrapper_StringStream   
)

Definition at line 1097 of file readertest.cpp.

TEST ( Reader  ,
IterativeParsing_ErrorHandling   
)

Definition at line 1124 of file readertest.cpp.

TEST ( Reader  ,
IterativeParsing_General   
)

Definition at line 1222 of file readertest.cpp.

TEST ( Reader  ,
IterativeParsing_Count   
)

Definition at line 1259 of file readertest.cpp.

TEST ( Reader  ,
IterativePullParsing_General   
)

Definition at line 1294 of file readertest.cpp.

TEST ( Reader  ,
IterativeParsing_ShortCircuit   
)

Definition at line 1356 of file readertest.cpp.

TEST ( Reader  ,
BaseReaderHandler_Default   
)

Definition at line 1407 of file readertest.cpp.

TEST ( Reader  ,
ParseTerminationByHandler   
)

Definition at line 1441 of file readertest.cpp.

TEST ( Reader  ,
ParseComments   
)

Definition at line 1461 of file readertest.cpp.

TEST ( Reader  ,
ParseEmptyInlineComment   
)

Definition at line 1479 of file readertest.cpp.

TEST ( Reader  ,
ParseEmptyOnelineComment   
)

Definition at line 1489 of file readertest.cpp.

TEST ( Reader  ,
ParseMultipleCommentsInARow   
)

Definition at line 1499 of file readertest.cpp.

TEST ( Reader  ,
InlineCommentsAreDisabledByDefault   
)

Definition at line 1512 of file readertest.cpp.

TEST ( Reader  ,
OnelineCommentsAreDisabledByDefault   
)

Definition at line 1535 of file readertest.cpp.

TEST ( Reader  ,
EofAfterOneLineComment   
)

Definition at line 1544 of file readertest.cpp.

TEST ( Reader  ,
IncompleteMultilineComment   
)

Definition at line 1554 of file readertest.cpp.

TEST ( Reader  ,
IncompleteMultilineComment2   
)

Definition at line 1564 of file readertest.cpp.

TEST ( Reader  ,
UnrecognizedComment   
)

Definition at line 1574 of file readertest.cpp.

TEST ( Reader  ,
NumbersAsStrings   
)

Definition at line 1614 of file readertest.cpp.

TEST ( Reader  ,
TrailingCommas   
)

Definition at line 1725 of file readertest.cpp.

TEST ( Reader  ,
TrailingCommasIterative   
)

Definition at line 1729 of file readertest.cpp.

TEST ( Reader  ,
MultipleTrailingCommaErrors   
)

Definition at line 1758 of file readertest.cpp.

TEST ( Reader  ,
MultipleTrailingCommaErrorsIterative   
)

Definition at line 1762 of file readertest.cpp.

TEST ( Reader  ,
EmptyExceptForCommaErrors   
)

Definition at line 1790 of file readertest.cpp.

TEST ( Reader  ,
EmptyExceptForCommaErrorsIterative   
)

Definition at line 1794 of file readertest.cpp.

TEST ( Reader  ,
TrailingCommaHandlerTermination   
)

Definition at line 1820 of file readertest.cpp.

TEST ( Reader  ,
TrailingCommaHandlerTerminationIterative   
)

Definition at line 1824 of file readertest.cpp.

TEST ( Reader  ,
ParseNanAndInfinity   
)

Definition at line 1828 of file readertest.cpp.

template<unsigned extraFlags>
void TestEmptyExceptForCommaErrors ( )

Definition at line 1767 of file readertest.cpp.

template<unsigned parseFlags>
void TestInsituMultipleRoot ( )

Definition at line 914 of file readertest.cpp.

template<unsigned parseFlags>
void TestMultipleRoot ( )

Definition at line 893 of file readertest.cpp.

template<unsigned extraFlags>
void TestMultipleTrailingCommaErrors ( )

Definition at line 1734 of file readertest.cpp.

template<bool fullPrecision>
static void TestParseDouble ( )
static

Definition at line 188 of file readertest.cpp.

template<typename Encoding >
ParseErrorCode TestString ( const typename Encoding::Ch *  str)

Definition at line 604 of file readertest.cpp.

template<unsigned extraFlags>
void TestTrailingCommaHandlerTermination ( )

Definition at line 1799 of file readertest.cpp.

template<unsigned extraFlags>
void TestTrailingCommas ( )

Definition at line 1686 of file readertest.cpp.



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