LUMIERA.clone/tests/library
Ichthyostega 6b4bf0a6ea Library: allow to check if Advice was explicitly given
For context: The »Advice System« was coined a long time ago, in 2010,
based on the vague impression that it might be useful for that kind of application
we are about to build here. And, as can be expected, none of the usage situations
envisioned at that time was brought to bear. Non the less, the facility came in
handy at times, precisely because it is cross-cutting and allows to pass
information without imposing any systematic relationship between the
communication partners.

And now we've got again such a situation.
The global style manager in the UI has to build a virtual CSS path,
which is needed by drawing code somewhere deep down, and we absolutely
do not want to pass a reference to the style manager over 20 recursive calls.

The alternatives would be
 (1) to turn the style manager into a public service
 (2) to have a static access function somewhere
 (3) to use a global variable.
For rationale, (1) would be overblown, because we do not actually request
a service to do work for us, rather we need some global piece of information.
(2) would be equivalent to (1), just more confusing. And (3) is basically
what the Advice system does, with the added benefit of a clear-cut service
access point and a well defined lifecycle.

This changeset adds the ability to check if actual Advice has been published,
which allows us to invoke the (possibly expensive) GTK path building and
style context building code only once.
2019-07-13 17:00:23 +02:00
..
advice Library: allow to check if Advice was explicitly given 2019-07-13 17:00:23 +02:00
c-lib Global-Layer-Renaming: adapt lots of documentation 2018-11-15 21:13:52 +01:00
diff GenNode: revert -- better not handle this problem on ETD level 2018-11-09 22:50:48 +01:00
idi Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
meta Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
query Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
test EventLog: verify and complete the TestEventLog_test 2018-09-19 02:52:38 +02:00
allocation-cluster-test.cpp MERGE Doxygen clean-up done during the last months 2017-04-01 23:59:00 +02:00
app-config-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
cmdline-wrapper-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
custom-shared-ptr-test.cpp GCC-5 compatibility: remove the last remaining auto_ptrs 2017-05-01 21:43:10 +02:00
del-stash-test.cpp reduce include dependencies of DelStash 2018-04-01 00:37:58 +02:00
DIR_INFO re-arrange tests according to layer structure 2013-01-07 05:43:01 +01:00
exception-error-test.cpp Library: clarify usage of the basic time scale 2018-12-10 00:12:52 +01:00
format-cout-test.cpp Library: define string conversion trait more precisely 2017-12-04 03:53:36 +01:00
format-helper-test.cpp Library: investigate and fix an insidious problem with move-forwarding (util::join / transformIter) 2017-12-04 04:23:30 +01:00
format-string-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
functor-util-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
hash-generator-test.cpp GCC-7: minor adjustments to make the testsuite PASS again 2018-04-29 03:15:57 +02:00
hash-indexed-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
hash-standard-to-boost-bridge-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
helloworldtest.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
hierarchy-orientation-indicator-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
item-wrapper-test.cpp Library: add move-support to ItemWrapper 2017-12-04 04:26:43 +01:00
iter-adapter-stl-test.cpp Library: allow to consume an iterator while taking the snapshot 2017-08-13 07:25:32 +02:00
iter-adapter-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
iter-chain-search-test.cpp DOC: fix syntax of some doxygen links 2018-09-21 14:33:12 +02:00
iter-cursor-test.cpp DOC: fix syntax of some doxygen links 2018-09-21 14:33:12 +02:00
iter-explorer-test.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
iter-queue-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
iter-source-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
iter-stack-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
iter-tree-explorer-test.cpp TreeExplorer: unit test coverage for injected custom layer 2018-09-16 01:07:23 +02:00
itertools-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
life-cycle-test.cpp Doxygen Fixes (#1062) 2017-04-02 04:22:51 +02:00
linked-elements-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
maybe-value-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
multifact-argument-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
multifact-singleton-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
multifact-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
null-value-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
opaque-holder-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
opaque-unchecked-buffer-test.cpp Library: replace boost::noncopyable by our own library solution 2018-03-24 05:35:13 +01:00
optional-ref-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
path-array-test.cpp Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
polymorphic-value-test.cpp Doxygen Fixes (#1062) 2017-04-02 04:22:51 +02:00
query-text-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
ref-array-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
removefromsettest.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
replaceable-item-test.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
scoped-collection-test.cpp Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
scoped-holder-test.cpp Library: replace boost::noncopyable by our own library solution 2018-03-24 05:35:13 +01:00
scoped-holder-transfer-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
scoped-ptrvect-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
search-path-splitter-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
simple-allocator-test.cpp MERGE Doxygen clean-up done during the last months 2017-04-01 23:59:00 +02:00
sub-id-test.cpp MERGE Doxygen clean-up done during the last months 2017-04-01 23:59:00 +02:00
symbol-hashtable-test.cpp MERGE Doxygen clean-up done during the last months 2017-04-01 23:59:00 +02:00
symbol-test.cpp Symbol: also document usage as (tree)map key 2017-04-08 03:50:29 +02:00
typed-allocation-manager-test.cpp MERGE Doxygen clean-up done during the last months 2017-04-01 23:59:00 +02:00
unique-malloc-owner-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
util-collection-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
util-floordiv-test.cpp Doxygen Fixes (#1062) 2017-04-02 04:22:51 +02:00
util-floorwrap-test.cpp Doxygen Fixes (#1062) 2017-04-02 04:22:51 +02:00
util-foreach-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
util-parse-bool-test.cpp Library: utility to interpret a text as bool value (yes/no) 2018-10-03 04:43:16 +02:00
util-sanitised-identifier-test.cpp investigate insidious ill-guided conversion 2018-10-12 23:42:56 +02:00
variant-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
vector-transfer-test.cpp Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
verb-function-dispatch-test.cpp Library: complete test coverage of VerbPack 2019-06-11 02:40:20 +02:00
verb-visitor-dispatch-test.cpp Library: complete test coverage of VerbPack 2019-06-11 02:40:20 +02:00