summaryrefslogtreecommitdiff
path: root/tests/dconf-mock-gvdb.c
Commit message (Collapse)AuthorAgeFilesLines
* build: Define GVDB_USE_WEAK_SYMBOLS to use weak bindings in gvdbTing-Wei Lan2019-07-061-1/+1
| | | | | | | Fix linking with LLD by using weak symbols in gvdb, and update dconf code to make it compatible with gvdb upstream changes. Fixes https://gitlab.gnome.org/GNOME/dconf/issues/47
* engine, client: add list_locks() operationAllison Ryan Lortie2015-11-301-0/+10
| | | | | | | Add an API to dconf-engine (and exposed via DConfClient) for getting a list of locks that are present in a given dconf profile. https://bugzilla.gnome.org/show_bug.cgi?id=758864
* adjust to new gvdb APIsRyan Lortie2012-11-091-6/+6
|
* tests/: test reading from various profile setupsRyan Lortie2012-07-151-5/+11
| | | | | | | | | | | Add a testcase that tests the engine by reading from an exhaustive combination of different profile types and states (missing databases, empty databases, databases with values, databases with locks, etc). Among other things, this makes sure the lockdown logic is sane. This is the testcase that caught the bug fixed in the last commit (listing with a missing database file).
* tests/ Rework the gvdb mock codeRyan Lortie2012-07-131-33/+68
| | | | Support a table being marked as no-longer-valid.
* tests/: add more testing code for engineRyan Lortie2012-07-121-6/+117
| | | | | | | Add an initial implementation of the gvdb mocking support and improve the existing shm mock by adding logging. Use these new features to test the 'user' DConfEngineSource.
* massive Makefile reorganisationRyan Lortie2012-07-081-0/+49
Clean up the Makefiles and make them as similar as possible. Move CFLAGS to a common point of definition and stop using -I so much. Replace the 'dbus stub' with libdconf-mock.a in tests/. Fill in some stubs for future mock code for shm and gvdb (just to get things compiling for now).