LUMIERA.clone/tests
Ichthyostega 50c602ec3f Library: rectify clipping of time::Duration (see #1263)
This is a deep refactoring to allow to represent the distance
between all valid time points as a time::Offset or time::Duration.

By design this is possible, since Time::MAX was defined as 1/30 of
the maximum value technically representable as int64_t. However,
introducing a different limiter for offsets and durations turns
out difficult, due to the inconsistencies in the exiting hierarchy
of temporal entities. Which in turn seems to stem from the unfortunate
decision to make time entities immutable, see #1261

Since the limiter is hard wired into the `time::TimeValue` constructor,
we are forced to create a "backdoor" of sorts, to pass up values
with different limiting from child classes. This would not be so
much of a problem if calculations weren't forced to go through `TimeVar`,
which does not distinguish between time points and time durations.

This solution rearranges all checks to be performed now by time::Offset,
while time::Duration will only take the absolute value at construction,
based on the fact that there is no valid construction path to yield
a duration which does not go through an offset first.

Later, when we're ready to sort out the implementation base of time values
(see #1258), this design issue should be revisited
- either we'll allow derived classes explicitly to invoke the limiter functions
- or we may be able to have an automatic conversion path from clearly
  marked base implementation types, in which case we wouldn't use the
  buildRaw_() and _raw() "backdoor" functions any more...
2022-12-05 00:58:32 +01:00
..
basics Library: rectify clipping of time::Duration (see #1263) 2022-12-05 00:58:32 +01:00
core Project: update and clean-up Doxygen configuration 2021-01-24 19:35:45 +01:00
include MERGE Doxygen clean-up done during the last months 2017-04-01 23:59:00 +02:00
library Timeline: safely calculate sum/difference of large fractional times 2022-12-01 23:23:50 +01: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: rectify clipping of time::Duration (see #1263) 2022-12-05 00:58:32 +01:00
tool Commands: some unit test coverage for unbinding arguments 2017-04-16 19:38:56 +02:00
vault C++17: some related clean-up 2020-02-21 23:55:09 +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 Timeline: demonstrate safeguards against reversed and toxic input 2022-11-18 02:55:28 +01:00
20config_lowlevel.tests clean-up: sourcefile layout and spell checking 2014-10-23 23:04:35 +02:00
20filedescriptor.tests use psplay trees for the filedescriptor registry 2008-09-06 12:41:03 +02:00
20filehandle.tests Exclusive file locking 2010-07-21 04:49:51 +02:00
20threads.tests TDD? TDB! Test-Driven-Brainstorming 2007-08-21 17:33:19 +02:00
22config_highlevel.tests re-arrange tests according to layer structure 2013-01-07 05:43:01 +01:00
25fundamental.tests Timeline: reconsider time handling and Stage/Steam integration 2022-10-30 23:12:34 +01:00
30backend-file.tests TDD? TDB! Test-Driven-Brainstorming 2007-08-21 17:33:19 +02:00
30backend-scheduler.tests TDD? TDB! Test-Driven-Brainstorming 2007-08-21 17:33:19 +02:00
30backend-threadpool.tests disable broken Thread-joining test. See Ticket #803 2011-05-21 06:52:50 +02:00
30interfaces.tests WIP: testsuite for interfaces 2008-10-27 05:08:53 +01:00
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 Timeline: start implementing some bits of the drawing code 2019-07-14 17:53:21 +02: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 Timeline: demonstrate safeguards against reversed and toxic input 2022-11-18 02:55:28 +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