Commit graph

15 commits

Author SHA1 Message Date
ada5cefaaf re-arrange tests according to layer structure
the buildsystem will now pick up and link
all test cases according to the layer, e.g.
backend tests will automatically be linked
against the backend + library solely.
2013-01-07 05:43:01 +01:00
b2d6074097 cleanup test includes 2011-12-02 21:34:29 +01:00
3f1b7651e9 GPL header whitespace 2010-12-17 23:28:49 +01:00
Christian Thaeter
ccbdcfdef9 cosmetics, remove quotes in filedescriptor test 2010-07-21 04:50:03 +02:00
262c51075b Tests: remove manual init of config-system 2008-12-18 09:58:42 +01:00
6d66476383 move config, interfaces and pluginsystem to liblumieracommon 2008-12-18 08:54:33 +01:00
Christian Thaeter
f061da8873 WIP: Fix include paths in tests
Still don't link, this only fixes the paths
2008-12-17 17:58:31 +01:00
Christian Thaeter
9a1a1890e2 post rebase fixes
tests are still broken and will be fixed for the shared lib transistion
2008-12-16 19:54:48 +01:00
Christian Thaeter
ec5800c61e fix filedescriptor tests to use a list for tracking references
see previous commit
2008-12-15 01:17:22 +01:00
Christian Thaeter
16fabb29bd initialize the config system for the file tests 2008-12-15 01:17:21 +01:00
Christian Thaeter
a1bd3ee1f5 use psplay trees for the filedescriptor registry 2008-09-06 12:41:03 +02:00
Christian Thaeter
f58be32a05 Fixes after rebase
* remove _GNU_SOURCE from tests
 * re-enable C source building in backend
2008-05-19 16:37:50 +02:00
Christian Thaeter
232afe77e9 Filehandling
* add 'backend' for backend global initialization/destruction
  and common functions.
* WIP: 'file' acts as interface to named files, provides posix
  filehandles with and acquire/release function pair.
* 'filehandle' manages posix filehandles internally, refcounted.
* WIP: 'filehandlecache' keeps unused filehandles in a MRU cache

* WIP: test for filehandle management
* improved filedescriptor test
2008-05-19 16:27:28 +02:00
Christian Thaeter
5286838886 filedescriptor handling basics working, including some tests
It is now possible to acquire/release filedescriptors for existing files
and files to be created.

Filedescriptors are managed in a registry by refcounts, they get
automatically destructed when the last user releases them.
2008-05-19 16:27:28 +02:00
Christian Thaeter
7a266f22ba integrate filedescriptor tests 2008-05-19 16:27:27 +02:00