summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Remove screen-size testPhilip Chimento2013-10-04
| | | | | | | | | This test does not apply anymore; previously we set the size of an EosWindow explicitly to be the screen size, but now we just call gtk_window_maximize(). A window manager is free to ignore this call, so we cannot reliably test for it -- e.g. in Jenkins' xvfb environment. [endlessm/eos-sdk#337]
* As root, 'make check' must succeedPhilip Chimento2013-10-04
| | | | | | | The test that checks that EosApplication fails when the user config dir is not writable, is now disabled if UID == 0 or EUID == 0. [endlessm/eos-sdk#334]
* Put local typelib and lib directories in test environmentPhilip Chimento2013-10-02
| | | | | | | | When running the tests, we want them to pick up the local copies of Endless-0.typelib and libendless-0.so instead of the installed copies. The tests now also run properly when there are no installed copies. [endlessm/eos-sdk#321]
* Run all tests with unique application IDPhilip Chimento2013-09-26
| | | | | | | Running tests with the same application ID causes DBus collisions. Apparently this did not cause problems until now. [endlessm/eos-sdk#303]
* API for per-user application config directoryPhilip Chimento2013-09-26
| | | | | | | | | | During application startup, ensure that the config directory ($HOME/.config/com.example.application-id) exists and is writable. Add API for accessing the directory: - eos_application_get_config_dir() - EosApplication:config-dir [endlessm/eos-sdk#303]
* URIdecode web action namePhilip Chimento2013-09-23
| | | | | | | In case the name of the web action is URIencoded, make sure to URIdecode it before looking it up in the dictionary of defined web actions. [endlessm/eos-sdk#310]
* Update WebHelper API to be introspectablePhilip Chimento2013-09-23
| | | | | | | | | - Replace _webActions with define_web_action() method and another define_web_actions() method for the Endless.js overrides file - Replace _translationFunction with set_translation_function() and get_translation_function() [endlessm/eos-sdk#310]
* Make example WebHelper program exemplaryPhilip Chimento2013-09-20
| | | | | | | Clean up the code and make sure that it can be used as an example without introducing any bad practices. [endlessm/eos-sdk#310]
* test/flexy-grid: Initialize counterEmmanuele Bassi2013-09-19
| | | | [endlessm/eos-sdk#1015]
* Set the scrolled window scroll policy in tests/flexy-gridEmmanuele Bassi2013-09-19
| | | | | | This allows testing the FlexyGrid widget in a scrollable widget. [endlessm/eos-sdk#1015]
* Add EosFlexyGrid test unitEmmanuele Bassi2013-09-19
| | | | | | Begin by testing the basic accessors and construction. [endlessm/eos-sdk#1015]
* Add a test case for the FlexyGrid widgetEmmanuele Bassi2013-09-19
| | | | [endlessm/eos-sdk#1015]
* Merge pull request #298 from endlessm/issues/290mattdangerw2013-09-18
|\ | | | | Unit tests for WebHelper
| * Move test autotooling to test/Makefile.am include filePhilip Chimento2013-09-18
| | | | | | | | | | | | | | | | The autotools code for running the tests should go in the included Makefile.am in the test/ subdirectory, so that all those test files are run and distributed in the same place. [endlessm/eos-sdk#290]
| * Unit tests for webhelperPhilip Chimento2013-09-16
| | | | | | | | | | | | | | | | | | These are tests for the basic functionality and a few fail cases of webhelper, by no means exhaustive. There are a few tests that cannot execute because I do not currently know of any way to catch exceptions that occur inside GObject callbacks. [endlessm/eos-sdk#290]
| * Do translation with webhelperPhilip Chimento2013-09-16
| | | | | | | | | | | | | | | | Previously, the translation was such that it did a dummy translation, italicizing the text to be translated. Now it looks for a translationFunction property on the app object, and calls that on the text. [endlessm/eos-sdk#290]
| * Adjust API so that "public" functions don't start with _Philip Chimento2013-09-16
| | | | | | | | | | | | | | | | Also, since the functions will likely be translated into C in the future, give_them_underscored_names insteadOfCamelCase, in order to avoid API changes. [endlessm/eos-sdk#290]
| * Move webhelper smoke test into a new subdirPhilip Chimento2013-09-16
| | | | | | | | | | | | | | The webhelper tests should be in their own directory, mirroring the source directory structure. [endlessm/eos-sdk#290]
| * First attempt at an EOS test runnerPhilip Chimento2013-09-16
| | | | | | | | | | | | | | | | This adds a script eos-run-test which is adapted from gjs_run_tests, but does not try to discover the tests itself. Instead, in keeping with Automake's test suite facilities, it takes the filename of a test to run. [endlessm/eos-sdk#290]
* | Merge pull request #300 from endlessm/issues/299P. F. Chimento2013-09-16
|\ \ | |/ |/| #299 Gtk and clutter tests for framerate
| * Gtk and clutter tests for framerateMatt Watson2013-09-16
| | | | | | | | | | | | | | Not the greatest code, command line parsing could be better, but these are smoke tests. README with some instructions [endlessm/eos-sdk#299]
* | Install WebHelper into GJS modules directoryPhilip Chimento2013-09-12
|/ | | | | | | | WebHelper is now importable using const WebHelper = imports.webhelper; [endlessm/eos-sdk#289]
* Add top bar edge finishingPhilip Chimento2013-08-01
| | | | | | | | | | | Add a highlight and shadow, on the bottom of the top bar; two pixels go over the top bar, and two pixels go over the app content. Added a smoke test with a button that turns red on press, in order to test that the two pixels on top of the app content do not catch input events. [endlessm/eos-sdk#197]
* Merge pull request #170 from endlessm/issues/146P. F. Chimento2013-07-24
|\ | | | | #146 Layout of `EosActionMenu`
| * Tests for EosActionMenu (cancel/delete/close actions).Felipe Erias Morandeira2013-07-23
| | | | | | | | [endlessm/eos-sdk#146]
| * EosActionMenu places cancel, close and delete actions at the bottom. ↵Felipe Erias Morandeira2013-07-23
| | | | | | | | | | | | Internally, it uses a GtkOverlay to correctly position the two sets of actions. [endlessm/eos-sdk#146]
| * More tests for eos_action_menu_remove_action*Felipe Erias Morandeira2013-07-22
| | | | | | | | [endlessm/eos-sdk#146]
| * EosActionMenu extends GtkFrameFelipe Erias Morandeira2013-07-22
| | | | | | | | [endlessm/eos-sdk#146]
* | Tests for "label-position" in EosActionButtonFelipe Erias Morandeira2013-07-22
| | | | | | | | [endlessm/eos-sdk#108]
* | Smoke tests for "label-position" in EosActionButtonFelipe Erias Morandeira2013-07-22
|/ | | | [endlessm/eos-sdk#108]
* Merge pull request #130 from endlessm/issues/113P. F. Chimento2013-07-04
|\ | | | | #113 Convenience library for HTML/GTK communication
| * Separated the convenience library into its own file, which must be placed in ↵Felipe Erias Morandeira2013-07-02
| | | | | | | | | | | | /usr/share/gjs-1.0/ (or elsewhere in GJS's search path) [endlessm/eos-sdk#113]
| * Removed the "lang" parameter from translatable elements.Felipe Erias Morandeira2013-06-28
| | | | | | | | [endlessm/eos-sdk#113]
| * Replaced tabs with spaces.Felipe Erias Morandeira2013-06-28
| | | | | | | | [endlessm/eos-sdk#113]
| * Moved this.actions to this._html_actions for clarityFelipe Erias Morandeira2013-06-28
| | | | | | | | [endlessm/eos-sdk#113]
| * Experimenting with translations.Felipe Erias Morandeira2013-06-24
| | | | | | | | [endlessm/eos-sdk#113]
| * Working on a few convenience methods and strategies for linking HTML code in ↵Felipe Erias Morandeira2013-06-20
| | | | | | | | | | | | a WebView with GTK+ functionality. [endlessm/eos-sdk#113]
* | Added the CSS style of EosActionButtons to endless-widgets.cssFelipe Erias Morandeira2013-07-04
| | | | | | | | [endlessm/eos-sdk#104]
* | EosActionButton style: set border-image: noneFelipe Erias Morandeira2013-07-04
| | | | | | | | [endlessm/eos-sdk#104]
* | Sample CSS for action buttons following the design specifications.Felipe Erias Morandeira2013-07-04
| | | | | | | | [endlessm/eos-sdk#104]
* | Styling of the border and text of the action button. A dark variant is ↵Felipe Erias Morandeira2013-07-04
| | | | | | | | | | | | available. [endlessm/eos-sdk#104]
* | Add tests for new public APIPhilip Chimento2013-06-29
| | | | | | | | [endlessm/eos-sdk#133]
* | Make EosActionButton public and document itPhilip Chimento2013-06-28
| | | | | | | | | | | | | | | | Rename eosactionbutton-private.h to eosactionbutton.h, make sure it gets picked up in the documentation, include it in endless.h, make all the new public API documentation complete, and put the EosActionButtonSize enum documentation on the EosActionButton page. [endlessm/eos-sdk#133]
* | Tests for EosActionMenu.Felipe Erias Morandeira2013-06-24
| | | | | | | | [endlessm/eos-sdk#79]
* | Skeleton for EosActionMenu tests.Felipe Erias Morandeira2013-06-21
| | | | | | | | [endlessm/eos-sdk#79]
* | Small changes to EosActionMenu. A more complete example of how to use it in ↵Felipe Erias Morandeira2013-06-21
| | | | | | | | | | | | an application, including changes to CSS. [endlessm/eos-sdk#79]
* | Override Endless.ActionMenu.add_action() to hide GtkAction from the ↵Felipe Erias Morandeira2013-06-21
| | | | | | | | | | | | developer, as that will be deprecated in the future. [endlessm/eos-sdk#79]
* | EosActionMenu: Implemented the functionality to add a GtkAction and have it ↵Felipe Erias Morandeira2013-06-21
| | | | | | | | | | | | linked to a EosActionButton in the menu. Added example code in action-buttons.js [endlessm/eos-sdk#79]
* | Added tests for new background child props.Matt Watson2013-06-18
| | | | | | | | [endlessm/eos-sdk#102]
* | Window background drawing uses new page background propsMatt Watson2013-06-18
| | | | | | | | [endlessm/eos-sdk#102]