Lumiera  0.pre.03
»edit your freedom«
DiffComplexApplication_test Class Reference

Description

Test:
Demonstration: apply a structural change to unspecified private data structures, with the help of an dynamic adapter
  • we use private data classes, defined right here in the test fixture to represent "just some" pre-existing data structure.
  • we re-assign some attribute values
  • we add, re-order and delete child "elements", without knowing what these elements actually are and how they are to be handled.
  • we recurse into mutating such an _"unspecified"_ child element.
Note
this test uses the same verb sequence as is assumed for the coverage of diff building blocks in TreeMutatorBinding_test
See also
DiffTreeApplication_test generic variant of tree diff application
TreeMutatorBinding_test coverage of the "building blocks"
TreeMutator_test base operations of the adapter
diff-tree-application.hpp
tree-diff.hpp

Definition at line 297 of file diff-complex-application-test.cpp.

Private Types

using DiffSeq = iter_stl::IterSnapshot< DiffStep >
 
- Private Types inherited from TreeDiffLanguage
using Interpreter = TreeDiffInterpreter
 
- Private Types inherited from DiffLanguage< TreeDiffInterpreter, GenNode >
using DiffToken = std::tuple< DiffVerb, GenNode >
 
using DiffVerb = VerbToken< TreeDiffInterpreter, void(GenNode const &)>
 
using Interpreter = TreeDiffInterpreter
 

Private Member Functions

DiffSeq mutationDiff ()
 
DiffSeq populationDiff ()
 
DiffSeq reorderingDiff ()
 
virtual void run (Arg)
 
- Private Member Functions inherited from TreeDiffLanguage
 DiffStep_CTOR (ins)
 
 DiffStep_CTOR (del)
 
 DiffStep_CTOR (pick)
 
 DiffStep_CTOR (find)
 
 DiffStep_CTOR (skip)
 
 DiffStep_CTOR (after)
 
 DiffStep_CTOR (set)
 
 DiffStep_CTOR (mut)
 
 DiffStep_CTOR (emu)
 

Additional Inherited Members

- Static Private Attributes inherited from DiffLanguage< TreeDiffInterpreter, GenNode >
static const DiffStep NIL
 fixed "invalid" marker token More...
 
+ Inheritance diagram for DiffComplexApplication_test:
+ Collaboration diagram for DiffComplexApplication_test:

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