Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
unit test DiffComplexApplication_test.
Demonstrates the concept of tree mutation by diff messages. This is an elaborate demonstration setup to show how a binding is setup in practice and to highlight some of the more intricate implementation corner cases, allowing for much flexibility when binding to otherwise opaque target data structures.
Definition in file diff-complex-application-test.cpp.
#include "lib/test/run.hpp"
#include "lib/format-util.hpp"
#include "lib/diff/tree-diff-application.hpp"
#include "lib/diff/test-mutation-target.hpp"
#include "lib/iter-adapter-stl.hpp"
#include "lib/time/timevalue.hpp"
#include "lib/format-string.hpp"
#include "lib/format-cout.hpp"
#include "lib/util.hpp"
#include <string>
#include <vector>
#include <memory>
Classes | |
class | DiffComplexApplication_test |
class | Opaque |
opaque private data structure to apply the diff. More... | |
Functions | |
LAUNCHER (DiffComplexApplication_test, "unit common") | |
Register this test class... More... | |
Variables | |
const GenNode | ATTRIB1 ("α", 1) |
const GenNode | ATTRIB2 ("β", int64_t(2)) |
const GenNode | ATTRIB3 ("γ", 3.45) |
const GenNode | ATTRIB_NODE = MakeRec().genNode("δ") |
const GenNode | CHILD_A ("a") |
const GenNode | CHILD_B ('b') |
const GenNode | CHILD_T (Time(12, 34, 56, 78)) |
const GenNode | GAMMA_PI ("γ", 3.14159265) |
const GenNode | SUB_NODE = MakeRec().genNode() |
const GenNode | TYPE_X ("type", "ξ") |
const GenNode | TYPE_Z ("type", "ζ") |
Namespaces | |
lib | |
Implementation namespace for support and library code. | |
lib::diff::test::LAUNCHER | ( | DiffComplexApplication_test | , |
"unit common" | |||
) |
Register this test class...