Add some tests for mimeapps.list handling

These tests directly look at mimeapps.list to verify that
we make the expected changes to the database.
This commit is contained in:
Matthias Clasen
2011-09-09 23:43:02 -04:00
parent 66a1dfc84f
commit 011c0b488f
2 changed files with 219 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ TEST_PROGS += \
gdbus-bz627724 \
appinfo \
contenttype \
mimeapps \
file \
$(NULL)
endif
@@ -368,6 +369,9 @@ appinfo_test_LDADD = $(progs_ldadd)
contenttype_SOURCES = contenttype.c
contenttype_LDADD = $(progs_ldadd)
mimeapps_SOURCES = mimeapps.c
mimeapps_LDADD = $(progs_ldadd)
file_SOURCES = file.c
file_LDADD = $(progs_ldadd)
@@ -527,3 +531,6 @@ DISTCLEANFILES = \
test.mo \
gsettings.store \
gschemas.compiled
distclean-local:
rm -r xdgdatahome