Go to the source code of this file.
|
| TEST (Writer, Compact) |
|
| TEST (Writer, Root) |
|
| TEST (Writer, Int) |
|
| TEST (Writer, UInt) |
|
| TEST (Writer, Int64) |
|
| TEST (Writer, Uint64) |
|
| TEST (Writer, String) |
|
| TEST (Writer, Issue_889) |
|
| TEST (Writer, ScanWriteUnescapedString) |
|
| TEST (Writer, Double) |
|
| TEST (Writer, Transcode) |
|
| TEST (Writer, OStreamWrapper) |
|
| TEST (Writer, AssertRootMayBeAnyValue) |
|
| TEST (Writer, AssertIncorrectObjectLevel) |
|
| TEST (Writer, AssertIncorrectArrayLevel) |
|
| TEST (Writer, AssertIncorrectEndObject) |
|
| TEST (Writer, AssertIncorrectEndArray) |
|
| TEST (Writer, AssertObjectKeyNotString) |
|
| TEST (Writer, AssertMultipleRoot) |
|
| TEST (Writer, RootObjectIsComplete) |
|
| TEST (Writer, RootArrayIsComplete) |
|
| TEST (Writer, RootValueIsComplete) |
|
| TEST (Writer, InvalidEncoding) |
|
| TEST (Writer, ValidateEncoding) |
|
| TEST (Writer, InvalidEventSequence) |
|
| TEST (Writer, NaN) |
|
| TEST (Writer, Inf) |
|
| TEST (Writer, RawValue) |
|
template<typename TargetEncoding > |
void | TestTranscode (const char *json) |
|
Value: Writer<StringBuffer> writer(buffer);\
EXPECT_TRUE(x);\
}
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
Value: Writer<StringBuffer> writer(buffer);\
writer.StartObject();\
}
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
Value: Writer<StringBuffer> writer(buffer);\
EXPECT_FALSE(writer.IsComplete()); \
x; \
EXPECT_TRUE(writer.IsComplete()); \
}
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
#define TEST_ROUNDTRIP |
( |
|
json | ) |
|
Value: Writer<StringBuffer> writer(buffer);
\ EXPECT_STREQ(
json, buffer.GetString()); \
EXPECT_TRUE(writer.IsComplete()); \
}
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
ParseResult Parse(InputStream &is, Handler &handler)
Parse JSON text.
Parse number in full precision (but slower).
GenericStringStream< UTF8< char > > StringStream
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
Definition at line 43 of file writertest.cpp.
TEST |
( |
Writer |
, |
|
|
ScanWriteUnescapedString |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
AssertRootMayBeAnyValue |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
AssertIncorrectObjectLevel |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
AssertIncorrectArrayLevel |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
AssertIncorrectEndObject |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
AssertIncorrectEndArray |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
AssertObjectKeyNotString |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
AssertMultipleRoot |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
RootObjectIsComplete |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
RootArrayIsComplete |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
RootValueIsComplete |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
InvalidEncoding |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
ValidateEncoding |
|
|
) |
| |
TEST |
( |
Writer |
, |
|
|
InvalidEventSequence |
|
|
) |
| |
template<typename TargetEncoding >
void TestTranscode |
( |
const char * |
json | ) |
|