Reflection for RapidJSON 0.0.16
Reflection for serializing/deserializing with RapidJSON
Loading...
Searching...
No Matches
JsonReflectorChronoUtilitiesTests Class Reference

The JsonReflectorChronoUtilitiesTests class tests the custom (de)serialization of the chrono utilities provided by the C++ utilities library. More...

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

Public Member Functions

 JsonReflectorChronoUtilitiesTests ()
 
void testSerializeing ()
 Tests serializing DateTime and TimeSpan objects.
 
void testDeserializeing ()
 Tests deserializing DateTime and TimeSpan objects.
 
void testErroHandling ()
 Tests deserializing DateTime and TimeSpan objects (error case).
 

Detailed Description

The JsonReflectorChronoUtilitiesTests class tests the custom (de)serialization of the chrono utilities provided by the C++ utilities library.

Remarks
In these tests, the (de)serialization is customized so the code generator is not involved.

Definition at line 29 of file jsonreflector-chronoutilities.cpp.

Constructor & Destructor Documentation

◆ JsonReflectorChronoUtilitiesTests()

JsonReflectorChronoUtilitiesTests::JsonReflectorChronoUtilitiesTests ( )

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

Member Function Documentation

◆ testDeserializeing()

void JsonReflectorChronoUtilitiesTests::testDeserializeing ( )

Tests deserializing DateTime and TimeSpan objects.

Definition at line 80 of file jsonreflector-chronoutilities.cpp.

◆ testErroHandling()

void JsonReflectorChronoUtilitiesTests::testErroHandling ( )

Tests deserializing DateTime and TimeSpan objects (error case).

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

◆ testSerializeing()

void JsonReflectorChronoUtilitiesTests::testSerializeing ( )

Tests serializing DateTime and TimeSpan objects.

Definition at line 61 of file jsonreflector-chronoutilities.cpp.


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