Reflection for RapidJSON  0.0.3
Reflection for serializing/deserializing with RapidJSON
Public Member Functions | List of all members
JsonReflectorBoostHanaTests Class Reference

The JsonReflectorBoostHanaTests class tests the integration of Boost.Hana with the RapidJSON wrapper. More...

Inheritance diagram for JsonReflectorBoostHanaTests:
[legend]
Collaboration diagram for JsonReflectorBoostHanaTests:
[legend]

Public Member Functions

void setUp ()
 
void tearDown ()
 
void testSerializePrimitives ()
 
void testSerializeSimpleObjects ()
 Tests serializing objects. More...
 
void testSerializeNestedObjects ()
 Tests serializing nested object and arrays. More...
 
void testDeserializePrimitives ()
 
void testDeserializeSimpleObjects ()
 Tests deserializing simple objects. More...
 
void testDeserializeNestedObjects ()
 Tests deserializing nested objects and arrays. More...
 
void testHandlingTypeMismatch ()
 Tests whether JsonDeserializationError is thrown on type mismatch. More...
 

Detailed Description

The JsonReflectorBoostHanaTests class tests the integration of Boost.Hana with the RapidJSON wrapper.

Remarks
In these tests, the reflection is provided through Boost.Hana so the code generator is not involved.

Definition at line 51 of file jsonreflector-boosthana.cpp.

Member Function Documentation

◆ setUp()

void JsonReflectorBoostHanaTests::setUp ( )

Definition at line 77 of file jsonreflector-boosthana.cpp.

◆ tearDown()

void JsonReflectorBoostHanaTests::tearDown ( )

Definition at line 81 of file jsonreflector-boosthana.cpp.

◆ testDeserializeNestedObjects()

void JsonReflectorBoostHanaTests::testDeserializeNestedObjects ( )

Tests deserializing nested objects and arrays.

Definition at line 144 of file jsonreflector-boosthana.cpp.

◆ testDeserializePrimitives()

void JsonReflectorBoostHanaTests::testDeserializePrimitives ( )

◆ testDeserializeSimpleObjects()

void JsonReflectorBoostHanaTests::testDeserializeSimpleObjects ( )

Tests deserializing simple objects.

Definition at line 129 of file jsonreflector-boosthana.cpp.

◆ testHandlingTypeMismatch()

void JsonReflectorBoostHanaTests::testHandlingTypeMismatch ( )

Tests whether JsonDeserializationError is thrown on type mismatch.

Definition at line 176 of file jsonreflector-boosthana.cpp.

◆ testSerializeNestedObjects()

void JsonReflectorBoostHanaTests::testSerializeNestedObjects ( )

Tests serializing nested object and arrays.

Definition at line 103 of file jsonreflector-boosthana.cpp.

◆ testSerializePrimitives()

void JsonReflectorBoostHanaTests::testSerializePrimitives ( )

◆ testSerializeSimpleObjects()

void JsonReflectorBoostHanaTests::testSerializeSimpleObjects ( )

Tests serializing objects.

Definition at line 88 of file jsonreflector-boosthana.cpp.


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