|
Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
|
The BinaryGeneratorTests class tests the binary generator. More...
Public Member Functions | |
| BinaryGeneratorTests () | |
| void | testSerializationAndDeserialization () |
| Tests serializing some objects and deserialize them back. | |
| void | testPointerHandling () |
| Tests handling of std::unique_ptr and std::shared_ptr. | |
The BinaryGeneratorTests class tests the binary generator.
Definition at line 28 of file binarygenerator.cpp.
| BinaryGeneratorTests::BinaryGeneratorTests | ( | ) |
Definition at line 42 of file binarygenerator.cpp.
| void BinaryGeneratorTests::testPointerHandling | ( | ) |
Tests handling of std::unique_ptr and std::shared_ptr.
In particular, the same object referred by 2 related std::shared_ptr instances
Definition at line 77 of file binarygenerator.cpp.
| void BinaryGeneratorTests::testSerializationAndDeserialization | ( | ) |
Tests serializing some objects and deserialize them back.
Definition at line 49 of file binarygenerator.cpp.