Commit Graph

26 Commits (b3303687615e88a1351cb7472402961956e26999)

Author SHA1 Message Date
Alexander Larsson b330368761 Make installed tests work better
This involves e.g. having our own session bus with only our services in.
2016-04-28 13:04:14 +02:00
Alexander Larsson 327f432219 tests: Add a basic test that just runs an app 2016-04-27 21:23:42 +02:00
Alexander Larsson 3d3ebf814d Support installed tests 2016-04-27 16:37:15 +02:00
Alexander Larsson 7ddfc91b90 Flesh out document portal tests 2016-03-14 11:33:13 +01:00
Alexander Larsson eba6a1e552 Add appdata to test apps 2016-02-25 19:03:09 +01:00
Alexander Larsson aefb4b6b82 Add make-test-bundles.sh 2016-02-25 15:27:37 +01:00
Alexander Larsson 0e595519c1 Add test scripts that create trivial a runtime and app 2016-02-25 15:14:57 +01:00
Alexander Larsson 69052c7d9a lib: Add XdgAppBundleRef 2016-02-24 14:44:16 +01:00
Simon McVittie 71a30f54f3 Update tests' dependencies for commit 2f38ec65 2016-01-29 09:51:20 +01:00
Alexander Larsson a0a1bc4d0b Merge pull request #108 from smcv/no-fuse
Fix `make check` when FUSE is unavailable
2016-01-29 08:54:58 +01:00
Simon McVittie ea4d601837 Consistently call g_assert_no_error before other assertions
If a call fails, an assertion message that contains the error domain,
code and message is a lot more useful than reporting that an
assertion like "reply != NULL" failed.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-01-29 00:21:49 +01:00
Simon McVittie aaae0d0b6d test-doc-portal: skip all tests if no FUSE
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-01-29 00:02:25 +01:00
Simon McVittie 74c652a176 test-doc-portal: split out global setup/teardown into functions
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-01-29 00:02:00 +01:00
Alexander Larsson 106a5b06ec Rename lib/ to common/ in preparation for public xdg-app library 2015-11-26 22:05:38 +01:00
David King 905549ba48 tests: Use check_PROGRAMS as the primary
The tests should only be built if required by make check.

https://bugs.freedesktop.org/show_bug.cgi?id=92036
2015-09-18 14:16:34 +02:00
Alexander Larsson 645c433960 Fix distcheck issues 2015-09-17 20:24:04 +02:00
Alexander Larsson eec8798f5e document portal: Add support for transient documents
These are useful for passing temporary files.
2015-09-17 20:09:50 +02:00
Alexander Larsson 07a12a145a test-doc-portal: Add recursive file export test 2015-09-08 15:34:51 +02:00
Alexander Larsson ab97ea7da6 test-doc-portal: Work around GTestDbus env unsetting 2015-09-08 15:34:21 +02:00
Alexander Larsson d0773282a5 test-doc-portal: Fix unique boolean arg 2015-09-08 15:31:01 +02:00
Alexander Larsson 18cc81d8a7 test-doc-portal: Launch the portal manually
This allows us to get debug output
2015-09-08 09:49:33 +02:00
Alexander Larsson d79935bd4a Add minimal document portal tests 2015-09-07 17:17:44 +02:00
Alexander Larsson d50284c7a6 Add check-valgrind target 2015-09-07 11:13:21 +02:00
Alexander Larsson 6775dc1002 Use g_auto(GStrv) instead of glnx_strfreev 2015-08-31 09:51:48 +02:00
Alexander Larsson 52525f46fd Remove ununsed variables reported by clang 2015-08-27 16:13:15 +02:00
Alexander Larsson de004081ef Initial tests of the db 2015-08-25 13:16:34 +02:00