summaryrefslogtreecommitdiff
path: root/test/endless/test-application.c
Commit message (Collapse)AuthorAge
* Initial implementation of image creditsPhilip Chimento2015-03-25
| | | | | | | | | | | | | | | | | | | | | This is a rough implementation of an "About"-like dialog for image attribution in SDK applications. You can press the 'secret' hotkey Shift+Ctrl+A to get a dialog with thumbnails and attribution information for the images in the app's GResource. Clicking on the thumbnail opens the image's original URI in the browser, if known. Clicking on the text opens the image's license text in the browser, if known. For this, you need to add a JSON file to the app's GResource and pass its GResource path to the EosApplication:image-attribution-file property. The format of this JSON file is described in the documentation for EosApplication. The dialog uses GtkTreeView because we didn't have GtkListBox when I started implementing it over a year ago. This places some limitations on the UI; the links behave weirdly and the mouse pointer doesn't change to a hand when hovering over the links. [endlessm/eos-sdk#2934]
* Refactor EosApplication test add codePhilip Chimento2015-03-25
| | | | | | | | UniqueAppFixture is a more appropriate name for the fixture since it is not only used to test config directories. Add a macro to make the test adding code more convenient. [endlessm/eos-sdk#2934]
* Clean up the structure of the tests directorySam Spilsbury2014-01-15
Move all the tests for the SDK into tests/endless, move all the demos into tests/demos, move all the smoke tests into smoke-tests [endlessm/eos-sdk#444]