Reflection for RapidJSON  0.0.15
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 () override
 
void tearDown () override
 
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 49 of file jsonreflector-boosthana.cpp.

Member Function Documentation

◆ setUp()

void JsonReflectorBoostHanaTests::setUp ( )
override

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

◆ tearDown()

void JsonReflectorBoostHanaTests::tearDown ( )
override

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

◆ testDeserializeNestedObjects()

void JsonReflectorBoostHanaTests::testDeserializeNestedObjects ( )

Tests deserializing nested objects and arrays.

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

◆ testDeserializePrimitives()

void JsonReflectorBoostHanaTests::testDeserializePrimitives ( )

◆ testDeserializeSimpleObjects()

void JsonReflectorBoostHanaTests::testDeserializeSimpleObjects ( )

Tests deserializing simple objects.

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

◆ testHandlingTypeMismatch()

void JsonReflectorBoostHanaTests::testHandlingTypeMismatch ( )

Tests whether JsonDeserializationError is thrown on type mismatch.

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

◆ testSerializeNestedObjects()

void JsonReflectorBoostHanaTests::testSerializeNestedObjects ( )

Tests serializing nested object and arrays.

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

◆ testSerializePrimitives()

void JsonReflectorBoostHanaTests::testSerializePrimitives ( )

◆ testSerializeSimpleObjects()

void JsonReflectorBoostHanaTests::testSerializeSimpleObjects ( )

Tests serializing objects.

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


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