summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* Merge pull request #192 from endlessm/issues/191P. F. Chimento2013-12-10
|\ | | | | #191 EosWindow's maximum size is the screen size
| * Warn when window minimal size is greater than screen sizeMatt Watson2013-12-10
| | | | | | | | | | | | test/smoke-tests/large-content.js shows the warnings in action [endlessm/eos-sdk#191]
* | eos-application-manifest: Fix import path in testPhilip Chimento2013-12-09
| | | | | | | | | | | | All unit test files must import things relative to $(top_srcdir). [endlessm/eos-sdk#154]
* | Subcommand 'eos-application-manifest init'Philip Chimento2013-12-09
|/ | | | | | | | | This implements the 'init' subcommand of the application manifest tool, which creates a new manifest in the current directory. [endlessm/eos-sdk#154] [endlessm/eos-sdk#154]
* Use the new way to define private gobject dataMatt Watson2013-12-09
| | | | | Simpler and has a nicer memory layout. Needed glib 2.38 to do this. [endlessm/eos-sdk#421]
* Removed PStack from sdkMatt Watson2013-12-05
| | | | | | | We used this for our page manager, now we can just use GtkStack with Gtk 3.10 [endlessm/eos-sdk#417]
* Handle relative path in XDG_CONFIG_HOMEPhilip Chimento2013-11-27
| | | | | | | | Playing with XDG_CONFIG_HOME in the previous commit showed that one test failed if it was a relative path. Luckily that is a bug in the test and not in the code. [endlessm/eos-sdk#357]
* Set XDG_CONFIG_HOME to a temporary directoryPhilip Chimento2013-11-27
| | | | | | | | | This works around the race condition in GIO (https://bugzilla.gnome.org/show_bug.cgi?id=719455) while having the added benefit of not cluttering one's own config directory with a bunch of files every time the tests are run. [endlessm/eos-sdk#357]
* Revert "Disable intermittent tests"Philip Chimento2013-11-27
| | | | This reverts commit a8848c6c4461ef25211c9dea6e5c65029c6f91da.
* Disable intermittent testsPhilip Chimento2013-11-19
| | | | | | | The three test programs that fail intermittently must be disabled until after the Echo release. [endlessm/eos-sdk#410]
* Fix buildPhilip Chimento2013-11-04
| | | | | | ArticleModel now has an extra required construct parameter: "source". [endlessm/eos-sdk#388]
* Fix search paths so tests run uninstalledPhilip Chimento2013-10-25
| | | | | The current GJS search paths were inadvertently running the tests from the installed JS modules, so that was causing Jenkins to fail.
* wiki: Add tests for refactored modelsPhilip Chimento2013-10-23
| | | | | | | For good code hygiene, add tests for the models. After the refactoring, they are less linked together, so easier to test. [endlessm/eos-sdk#367]
* Use a fake PID in Javascript tests' app IDsPhilip Chimento2013-10-09
| | | | | | | The Posix module is not available yet in our current version of GJS, so there is no way to get a real PID in the Javascript tests. Fake it with a random number (GLib.random_int(), uniformly distributed between 0..2^32-1)
* Identify app ID for tests with getpid()Philip Chimento2013-10-09
| | | | | | In order to prevent collisions between configuration directories, the test applications get unique IDs from not just g_get_real_time(), but also getpid()
* 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]