In the general case we write a .desktop file for a particular test to ~/.local/share/applications (hard-coding the exact path relative to $HOME), the gallery test is a special-case which uses the .desktop file that is installed as an example.
It makes no sense to me to add all the test cases to /usr/share/applications permanently, since we're not talking about apps but fabricated QML test cases.
In the general case we write a .desktop file for a particular test to ~/.local/ share/applicati ons (hard-coding the exact path relative to $HOME), the gallery test is a special-case which uses the .desktop file that is installed as an example.
It makes no sense to me to add all the test cases to /usr/share/ applications permanently, since we're not talking about apps but fabricated QML test cases.