From 281427638746f634df8ca7609055691c84107ed1 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Mon, 29 Aug 2016 17:52:35 +0200 Subject: [PATCH] a better name for the complex integration test --- src/lib/diff/tree-diff-application.hpp | 2 +- src/lib/diff/tree-diff-mutator-binding.cpp | 2 +- src/lib/diff/tree-diff-mutator-binding.hpp | 4 ++-- src/lib/diff/tree-diff-traits.hpp | 4 ++-- ...pplication-test.cpp => diff-complex-application-test.cpp} | 5 ++--- tests/library/diff/diff-tree-application-test.cpp | 2 +- tests/library/diff/tree-mutator-binding-test.cpp | 2 +- 7 files changed, 10 insertions(+), 11 deletions(-) rename tests/library/diff/{diff-virtualised-application-test.cpp => diff-complex-application-test.cpp} (97%) diff --git a/src/lib/diff/tree-diff-application.hpp b/src/lib/diff/tree-diff-application.hpp index 91182affc..6bb97138e 100644 --- a/src/lib/diff/tree-diff-application.hpp +++ b/src/lib/diff/tree-diff-application.hpp @@ -141,7 +141,7 @@ namespace diff{ * * @throws lumiera::error::State when diff application fails due to the * target sequence being different than assumed by the given diff. - * @see DiffVirtualisedApplication_test usage example of this combined machinery + * @see DiffComplexApplication_test usage example of this combined machinery * @see #TreeDiffInterpreter explanation of the verbs */ template diff --git a/src/lib/diff/tree-diff-mutator-binding.cpp b/src/lib/diff/tree-diff-mutator-binding.cpp index a2bc6dc4c..25e8d693a 100644 --- a/src/lib/diff/tree-diff-mutator-binding.cpp +++ b/src/lib/diff/tree-diff-mutator-binding.cpp @@ -35,7 +35,7 @@ ** ** @see tree-diff.cpp ** @see tree-diff-mutator-binding.cpp - ** @see DiffVirtualisedApplication_test + ** @see DiffComplexApplication_test ** */ diff --git a/src/lib/diff/tree-diff-mutator-binding.hpp b/src/lib/diff/tree-diff-mutator-binding.hpp index 429e12536..babe73f86 100644 --- a/src/lib/diff/tree-diff-mutator-binding.hpp +++ b/src/lib/diff/tree-diff-mutator-binding.hpp @@ -68,7 +68,7 @@ ** @todo this is WIP as of 2/2016 -- in the end it might be merged back or even ** replace the tree-diff-application.hpp ** - ** @see DiffVirtualisedApplication_test + ** @see DiffComplexApplication_test ** @see DiffTreeApplication_test ** @see DiffListApplication_test ** @see GenNodeBasic_test @@ -206,7 +206,7 @@ namespace diff{ * @throws lumiera::error::State when diff application fails structurally. * @throws _unspecified errors_ when delegated operations fail. * @see TreeDiffInterpreter explanation of the verbs - * @see DiffVirtualisedApplication_test demonstration of usage + * @see DiffComplexApplication_test demonstration of usage */ class TreeDiffMutatorBinding : public TreeDiffInterpreter diff --git a/src/lib/diff/tree-diff-traits.hpp b/src/lib/diff/tree-diff-traits.hpp index bd72fe073..c5546dfb7 100644 --- a/src/lib/diff/tree-diff-traits.hpp +++ b/src/lib/diff/tree-diff-traits.hpp @@ -28,7 +28,7 @@ ** ** @todo this is WIP as of 8/2016 ** - ** @see DiffVirtualisedApplication_test + ** @see DiffComplexApplication_test ** @see DiffTreeApplication_test ** @see DiffListApplication_test ** @see GenNodeBasic_test @@ -81,7 +81,7 @@ namespace diff{ * memorise our findings somehow within the dynamic application configuration. * * @see tree-diff-application.hpp - * @see DiffVirtualisedApplication_test + * @see DiffComplexApplication_test */ template struct TreeMutatorSizeTraits diff --git a/tests/library/diff/diff-virtualised-application-test.cpp b/tests/library/diff/diff-complex-application-test.cpp similarity index 97% rename from tests/library/diff/diff-virtualised-application-test.cpp rename to tests/library/diff/diff-complex-application-test.cpp index 6d4f87876..94fa1b2af 100644 --- a/tests/library/diff/diff-virtualised-application-test.cpp +++ b/tests/library/diff/diff-complex-application-test.cpp @@ -257,7 +257,6 @@ namespace test{ * what these elements actually are and how they are to be handled. * - we recurse into mutating such an _"unspecified"_ child element. * - * @todo this test is WIP as of 6/2016 !! What has to be done, is to work out a way how to create a TreeMutator binding. And of course, we need the Implementation of DiffApplicator * @note this test uses the same verb sequence as is assumed for the * coverage of diff building blocks in TreeMutatorBinding_test * @@ -268,7 +267,7 @@ namespace test{ * @see diff-tree-application.hpp * @see tree-diff.hpp */ - class DiffVirtualisedApplication_test + class DiffComplexApplication_test : public Test , TreeDiffLanguage { @@ -360,7 +359,7 @@ namespace test{ /** Register this test class... */ - LAUNCHER (DiffVirtualisedApplication_test, "unit common"); + LAUNCHER (DiffComplexApplication_test, "unit common"); diff --git a/tests/library/diff/diff-tree-application-test.cpp b/tests/library/diff/diff-tree-application-test.cpp index 3ff1f6515..e0b574100 100644 --- a/tests/library/diff/diff-tree-application-test.cpp +++ b/tests/library/diff/diff-tree-application-test.cpp @@ -90,7 +90,7 @@ namespace test{ * the \link diff::GenNode variant data node \endlink. The key point * to note is the usage of Record elements as payload within GenNode, * which allows to represent tree shaped object like data structures. - * @see DiffVirtualisedApplication_test handling arbitrary data structures + * @see DiffComplexApplication_test handling arbitrary data structures * @see GenericRecordRepresentation_test * @see GenNodeBasic_test * @see DiffListApplication_test diff --git a/tests/library/diff/tree-mutator-binding-test.cpp b/tests/library/diff/tree-mutator-binding-test.cpp index df0fed42c..f8fdc7fc2 100644 --- a/tests/library/diff/tree-mutator-binding-test.cpp +++ b/tests/library/diff/tree-mutator-binding-test.cpp @@ -95,7 +95,7 @@ namespace test{ * data structures through appropriate special bindings given as lambda. * @remark _you should note_ that the scenario executed in each of these tests * precisely corresponds to the application of the test diff used in - * (\ref DiffVirtualisedApplication_test) + * (\ref DiffComplexApplication_test) * @remark _to help with understanding this,_ please consider how diff application is * actually implemented on top of a set of "primitives". The TreeMutator interface * on the other hand offers precisely these building blocks necessary to implement