summaryrefslogtreecommitdiff
path: root/tests/dconf-mock-gvdb.c
Commit message (Collapse)AuthorAgeFilesLines
* 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).