spelling fixes

This commit is contained in:
Fischlurch 2016-03-19 01:42:27 +01:00
parent b4fb767109
commit a106a0e090
2 changed files with 12 additions and 12 deletions

View file

@ -72,7 +72,7 @@ namespace test{
/***********************************************************************//**
* @test Demonstration: apply a stuctural change to unspecified private
* @test Demonstration: apply a structural change to unspecified private
* data structures, with the help of an [dynamic adapter](\ref TreeMutator)
* - we use private data classes, defined here in the test fixture
* to represent "just some" pre-existing data structure.
@ -126,7 +126,7 @@ namespace test{
,Time(CHILD_T.data.get<Time>() + Time(0,1)));
return snapshot({after(Ref::ATTRIBS) // fast forward to the first child
, pick(CHILD_A) // rearrange childern of mixed types...
, pick(CHILD_A) // rearrange children of mixed types...
, find(CHILD_T)
, set(childT_later) // immediately assign to the child just picked
, find(CHILD_T) // fetch the other Time child

View file

@ -155,7 +155,7 @@ namespace test{
.before("attachMutator"));
CHECK (isnil (target)); // the "visible" new content is still void
CHECK (not mutator2.emptySrc()); // content was moved into hiden "src" buffer
CHECK (not mutator2.emptySrc()); // content was moved into hidden "src" buffer
CHECK (target.showSrcBuffer() == "α = 1, γ = 3.45, γ = 3.45, b, b, 78:56:34.012");
CHECK (mutator2.matchSrc (ATTRIB1)); // current head element of src "matches" the given spec
@ -179,11 +179,11 @@ namespace test{
CHECK (mutator2.acceptSrc (ATTRIB3)); // acceptSrc
CHECK (target.showContent() == "γ = 3.45, α = 1, β = 2, γ = 3.45");
// now proceding with the children.
// now proceeding with the children.
// NOTE: the TestWireTap / TestMutationTarget does not enforce the attribute / children distinction!
CHECK (not mutator2.emptySrc());
CHECK (mutator2.matchSrc (CHILD_B)); // first child waiting in src is CHILD_B
mutator2.skipSrc(); // ...which will be skipt (and thus discarded) // skipSrc
mutator2.skipSrc(); // ...which will be skipped (and thus discarded // skipSrc
mutator2.injectNew (SUB_NODE); // inject a new nested sub-structure here // injectNew
CHECK (mutator2.matchSrc (CHILD_B)); // yet another B-child is waiting
CHECK (not mutator2.findSrc (CHILD_A)); // unsuccessful find operation won't do anything
@ -273,13 +273,6 @@ namespace test{
}
void
mutateGenNode()
{
TODO ("define how to fit GenNode tree mutation into the framework");
}
void
mutateCollection()
{
@ -292,6 +285,13 @@ namespace test{
{
TODO ("define how to translate generic mutation into attribute manipulation");
}
void
mutateGenNode()
{
TODO ("define how to fit GenNode tree mutation into the framework");
}
};