|
Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
|
The JsonGeneratorTests class tests the overall functionality of the code generator (CLI and generator itself) and JSON specific parts. More...
Public Member Functions | |
| JsonGeneratorTests () | |
| void | testGeneratorItself () |
| Tests whether the generator works by using it directly. | |
| void | testCLI () |
| Tests the generator CLI explicitly. | |
| void | testIncludingGeneratedHeader () |
| Tests whether the generated reflection code actually works. | |
| void | testNesting () |
| Like testIncludingGeneratedHeader() but also for nested structures. | |
| void | testSingleInheritence () |
| Like testIncludingGeneratedHeader() but also tests single inheritance. | |
| void | testMultipleInheritence () |
| Like testIncludingGeneratedHeader() but also tests multiple inheritance. | |
| void | testCustomSerialization () |
| Like testIncludingGeneratedHeader() but also tests custom (de)serialization. | |
| void | test3rdPartyAdaption () |
| Tests whether adapting (de)serialization for 3rd party structs works. | |
| void | testHandlingConstMembers () |
| Tests whether const member variables are ignored when deserializing. | |
The JsonGeneratorTests class tests the overall functionality of the code generator (CLI and generator itself) and JSON specific parts.
Definition at line 26 of file jsongenerator.cpp.
| JsonGeneratorTests::JsonGeneratorTests | ( | ) |
Definition at line 57 of file jsongenerator.cpp.
| void JsonGeneratorTests::test3rdPartyAdaption | ( | ) |
Tests whether adapting (de)serialization for 3rd party structs works.
Definition at line 244 of file jsongenerator.cpp.
| void JsonGeneratorTests::testCLI | ( | ) |
Tests the generator CLI explicitly.
Definition at line 91 of file jsongenerator.cpp.
| void JsonGeneratorTests::testCustomSerialization | ( | ) |
Like testIncludingGeneratedHeader() but also tests custom (de)serialization.
Definition at line 227 of file jsongenerator.cpp.
| void JsonGeneratorTests::testGeneratorItself | ( | ) |
Tests whether the generator works by using it directly.
Definition at line 65 of file jsongenerator.cpp.
| void JsonGeneratorTests::testHandlingConstMembers | ( | ) |
Tests whether const member variables are ignored when deserializing.
Definition at line 287 of file jsongenerator.cpp.
| void JsonGeneratorTests::testIncludingGeneratedHeader | ( | ) |
Tests whether the generated reflection code actually works.
Definition at line 112 of file jsongenerator.cpp.
| void JsonGeneratorTests::testMultipleInheritence | ( | ) |
Like testIncludingGeneratedHeader() but also tests multiple inheritance.
Definition at line 198 of file jsongenerator.cpp.
| void JsonGeneratorTests::testNesting | ( | ) |
Like testIncludingGeneratedHeader() but also for nested structures.
Definition at line 136 of file jsongenerator.cpp.
| void JsonGeneratorTests::testSingleInheritence | ( | ) |
Like testIncludingGeneratedHeader() but also tests single inheritance.
Definition at line 169 of file jsongenerator.cpp.