mimetype tests: don't depend on specific behaviour
authorRyan Lortie <desrt@desrt.ca>
Fri, 11 Apr 2014 02:32:28 +0000 (22:32 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 15 Apr 2014 15:36:39 +0000 (11:36 -0400)
commitcaf0f1df1c59b0b7e5f68327e3852817d74609a5
tree3cf8174a218d820f5afb53a9721a67c011203985
parent54047080e963b2d6c3f966340dcd9d788b73ac9c
mimetype tests: don't depend on specific behaviour

We currently assume that setting an application as the default will take
it to the front of the list of supported applications for a given type,
but this is not necessarily true.

Check instead that the application is actually set as default.

https://bugzilla.gnome.org/show_bug.cgi?id=728040
gio/tests/desktop-app-info.c