LUMIERA.clone/tests
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
..
basics Library: clarify usage of the basic time scale 2018-12-10 00:12:52 +01:00
core Dispatcher: rename in accordance to the layer 2018-12-10 00:12:52 +01:00
include MERGE Doxygen clean-up done during the last months 2017-04-01 23:59:00 +02:00
library Library: allow to check if Advice was explicitly given 2019-07-13 17:00:23 +02:00
operation Doxygen: magically insert a reference to the test class 2017-02-22 03:17:18 +01:00
plugin Fix notorious warning 2017-04-01 23:59:37 +02:00
stage Library: complete test coverage of VerbPack 2019-06-11 02:40:20 +02:00
tool Commands: some unit test coverage for unbinding arguments 2017-04-16 19:38:56 +02:00
vault Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
00helloworld.tests link tests with stringent application scope dependencies (closes #938) 2014-10-17 21:15:59 +02:00
00support.tests EventLog: verify and complete the TestEventLog_test 2018-09-19 02:52:38 +02:00
00test.tests Fix: test should not be locale dependant 2010-11-06 23:02:27 +01:00
10errorhandling.tests re-arrange tests according to layer structure 2013-01-07 05:43:01 +01:00
10exception.tests Modernise Unknown Exception handler and Exception messages 2018-04-02 01:48:51 +02:00
11list.tests reorganise test suite compartments 2014-10-17 20:02:25 +02:00
11locking.tests reorganise test suite compartments 2014-10-17 20:02:25 +02:00
11luid.tests reorganise test suite compartments 2014-10-17 20:02:25 +02:00
11mpool.tests LANDING: transition to GTK-3 2015-05-30 17:11:41 +02:00
11priqueue.tests reorganise test suite compartments 2014-10-17 20:02:25 +02:00
11safeclib.tests reorganise test suite compartments 2014-10-17 20:02:25 +02:00
11slist.tests reorganise test suite compartments 2014-10-17 20:02:25 +02:00
11time.tests test-suite: fix lots of missing return value checks 2016-01-28 22:30:24 +01:00
12metaprogramming.tests Reorganise some tests 2018-03-31 17:12:45 +02:00
15library.tests Library: complete test coverage of VerbPack 2019-06-11 02:40:20 +02:00
20config_lowlevel.tests clean-up: sourcefile layout and spell checking 2014-10-23 23:04:35 +02:00
20filedescriptor.tests
20filehandle.tests Exclusive file locking 2010-07-21 04:49:51 +02:00
20threads.tests
22config_highlevel.tests re-arrange tests according to layer structure 2013-01-07 05:43:01 +01:00
25fundamental.tests Library: allow to check if Advice was explicitly given 2019-07-13 17:00:23 +02:00
30backend-file.tests
30backend-scheduler.tests
30backend-threadpool.tests disable broken Thread-joining test. See Ticket #803 2011-05-21 06:52:50 +02:00
30interfaces.tests
30mmap.tests clean-up: sourcefile layout and spell checking 2014-10-23 23:04:35 +02:00
30resourcecollector.tests disable the resourcecollector test (not finished yet) 2010-07-16 05:39:11 +02:00
31fileheader.tests extend fileheader with some flags and endianess mark 2010-07-21 06:13:59 +02:00
31plugin.tests integrate priority queue: lumiera namespace prefix; unit test pass 2013-09-13 05:44:58 +02:00
40core.tests Global-Layer-Renaming: adapt lots of documentation 2018-11-15 21:13:52 +01:00
41asset.tests Assets: investigating the unclear distinction between asset::Struct and asset::Meta (#1156) 2018-09-14 21:06:12 +02:00
42query.tests Global-Layer-Renaming: adapt lots of documentation 2018-11-15 21:13:52 +01:00
43session.tests define the plan for some scaffolding to drive the UI-Session connection (#1042) 2016-12-10 01:21:08 +01:00
44builder.tests test-suite: fix lots of missing return value checks 2016-01-28 22:30:24 +01:00
45controller.tests Global-Layer-Renaming: adapt lots of documentation 2018-11-15 21:13:52 +01:00
46engine.tests test-suite: fix lots of missing return value checks 2016-01-28 22:30:24 +01:00
47playout.tests re-arrange tests according to layer structure 2013-01-07 05:43:01 +01:00
48proc-operate.tests Global-Layer-Renaming: adapt lots of documentation 2018-11-15 21:13:52 +01:00
51-gui-model.tests Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
52-gui-control.tests Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
80-regression.tests test-suite: fix lots of missing return value checks 2016-01-28 22:30:24 +01:00
DIR_INFO update some DIR_INFO entries 2011-04-05 00:44:30 +02:00
SConscript Global-Layer-Renaming: fix remaining textual usages and IDs in the code 2018-12-10 00:09:56 +01:00
test.conf Testsuite: change resource limits to work on Debian/Jessie 2015-08-16 01:17:39 +02:00
test.sh test.sh - reorganise how limits are set 2015-08-16 01:17:39 +02:00
testrunner.cpp Doxygen: supply missing file level comments for test support helpers 2017-02-22 01:58:49 +01:00