summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* messageTray: Remove _fixMarkup() functionFlorian Müllner2015-06-111-4/+4
| | | | | Commit 053e54f944 copied it to calendar, and since commit 15e42c4d5, the original is no longer used.
* tests: Remove format testFlorian Müllner2015-06-112-37/+0
| | | | The format() function was moved to gjs a long time ago.
* st: Remove StTableFlorian Müllner2015-05-052-58/+0
| | | | | | | Alas, the last use of StTable is not gone, so we can finally remove our copy of the widget. https://bugzilla.gnome.org/show_bug.cgi?id=703833
* tests: Add menu item without action to gapplicationFlorian Müllner2015-02-271-0/+1
| | | | | Menu items with missing actions are expected to be visible but insensitive - add a test case for this.
* scroll-view: Support GTK_POLICY_EXTERNALFlorian Müllner2014-10-301-0/+3
| | | | | | | | GTK+ added a new PolicyType which currently triggers compiler warnings about unhandled values in switch statements. We also have a use case for it already, so add support for the new policy type. https://bugzilla.gnome.org/show_bug.cgi?id=739379
* theme: convert stylesheet loading to GFileCosimo Cecchi2014-10-141-1/+2
| | | | | | In preparation to making it a GResource. https://bugzilla.gnome.org/show_bug.cgi?id=736936
* tests/gapplication: Don't pass too many args to gtk_initJasper St. Pierre2014-04-231-1/+1
|
* st: Remove support for fixed positioning in BoxLayoutFlorian Müllner2013-07-091-6/+0
| | | | | | | | | It is the job of layout containers to arrange their children; having a hidden feature that *also* allows children to be positioned freely outside the parent's allocation is just odd. With the last user of the feature gone, kill it. https://bugzilla.gnome.org/show_bug.cgi?id=703808
* tests: add animated box-shadow test to demo optimized paintingLionel Landwerlin2013-07-092-0/+85
|
* st-scroll-view: Add :overlay-scrollbars propertyFlorian Müllner2013-02-221-0/+18
| | | | | | | | | | If enabled, scrollbars take away from the allocation given to the view's content. This is usually preferrable to painting the bars on top of the content, but there are exceptions, for instance when the content needs to be centered with regard to the view as a whole. Add a :overlay-scrollbars property to account for those cases. https://bugzilla.gnome.org/show_bug.cgi?id=694261
* mobile-providers: use libnm-gtk to work with mobile providersAleksander Morgado2013-02-054-129/+1
| | | | | | | | | | This commit removes all the code in charge of playing with the database of mobile providers, which was originally included in order to perform MCCMNC->OperatorName and SID->OperatorName conversions. This logic is now exposed by libnm-gtk. https://bugzilla.gnome.org/show_bug.cgi?id=688943
* run-test: Properly set the path for the GVC libraryJasper St. Pierre2013-01-141-1/+1
| | | | | | | We really should get a better testrunner rather than this hacked together thing. https://bugzilla.gnome.org/show_bug.cgi?id=691743
* Fix remaining uses of transition-duration without time unitsRui Matos2013-01-121-1/+1
| | | | | Commit 8be3c5ed21643369f963e4638a578e32271ce749 changed the CSS parser to only accept values with explicit time units.
* run-test: Load shell files from the srcdirJasper St. Pierre2012-12-231-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690667
* scroll-view-sizing: Enable vfade by defaultJasper St. Pierre2012-11-291-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689249
* scroll-view-sizing: Add a lot more boxesJasper St. Pierre2012-11-291-1/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689249
* mobile-providers: new country-specific type to gather providersAleksander Morgado2012-11-054-1/+129
| | | | | | | | | | | | | | | | | | | | | | shell_mobile_providers_parse() was returning the country information split into a hash table with providers and a hash table with country names. This patch merges both outputs into a single per-country object, so the parse() method now returns a GHashTable with the following element-type: (element-type utf8 ShellCountryMobileProvider>) This also avoids more complex setups like returning lists inside of hash tables, which was actually breaking either g-i or gtk-doc. shell_mobile_providers_parse() was also modified to allow inputting the paths of the country codes and provider list files to use. If paths are not given, the default ones will be used. This helps us to provide test files during unit tests. Both the findProviderForMCCMNC() and findProviderForSid() methods are exported out of the GSM and CDMA specific classes, and new unit tests for them are implemented. Tests can be run manually with: $> ./tests/run-test.sh tests/unit/mobileProviders.js https://bugzilla.gnome.org/show_bug.cgi?id=687356.
* build: Add missing fileFlorian Müllner2012-11-021-0/+1
| | | | Fix distcheck breakage from commit 687e1eabeda7b.
* Overview: Resize the window title labels on content changeGiovanni Campagna2012-10-271-0/+34
| | | | | | | | | | Reposition the window overlay when the title changes, using the current transformed size of the window clone. Includes a test that changes title to a string of random length every 3 seconds. Based on a patch by Alex Hultman <alexhultman@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=620874
* tests: Actually call test() in box-layoutTanner Doshier2012-10-111-0/+1
|
* st: Remove StIconTypeJasper St. Pierre2012-08-291-21/+14
| | | | | | | GTK+ works by explicitly specifying a -symbolic suffix for all icons. Do the same here. https://bugzilla.gnome.org/show_bug.cgi?id=682540
* tests: Remove JHBUILD_TYPELIBDIRJasper St. Pierre2012-08-072-2/+1
| | | | It's unused and crufty, and potentially security leak.
* build: Add missing file to MakefileFlorian Müllner2012-08-031-0/+1
|
* st-theme-node: Add repeating backgroundsJasper St. Pierre2012-08-032-0/+33
| | | | | | | | Add support for the CSS "background-repeat" property. Currently, this only supports on/off, rather than allowing tiling in each individual dimension. It is supported for both the cogl and cairo rendering paths. https://bugzilla.gnome.org/show_bug.cgi?id=680801
* tests: Fix borders testJasper St. Pierre2012-08-031-1/+0
| | | | | | Bad merge https://bugzilla.gnome.org/show_bug.cgi?id=680801
* test-gapplication: Untabify, add modelineJasper St. Pierre2012-07-141-5/+5
|
* tests: Fix make distRico Tzschichholz2012-07-141-0/+1
|
* Assorted test-gapplication fixesGiovanni Campagna2012-07-131-0/+105
| | | | | | | Move this test toghether with the others, and set the appmenu only after the application is registered (i.e. in startup) https://bugzilla.gnome.org/show_bug.cgi?id=678978
* tests: Run each test in a functionJasper St. Pierre2012-06-2416-859/+884
| | | | | | | As the global object of a context is rooted, if we want the GC to act on these objects we need to take them out of the globals. https://bugzilla.gnome.org/show_bug.cgi?id=678737
* tests: Don't use the default stageJasper St. Pierre2012-06-2416-61/+34
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678737
* tests: Refactor background-size test to support non-square containersJasper St. Pierre2012-03-181-30/+20
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672321
* tests: Add a cogl rendering option to the background-size testJasper St. Pierre2012-03-181-5/+30
| | | | | | Right now we only test the cairo rendering path https://bugzilla.gnome.org/show_bug.cgi?id=672321
* tests: Fix font color for testsJasper St. Pierre2012-03-181-0/+1
| | | | | | | Since the GNOME Shell style cleanup, all text is white. Fix that in the test cases. https://bugzilla.gnome.org/show_bug.cgi?id=672321
* Add missing files to distributionOwen W. Taylor2012-01-041-0/+4
|
* St: Implement background-size CSS propertyQuentin Glidic2011-12-235-0/+164
| | | | | | | | Implement the background-size CSS property, specified by the CSS Backgrounds and Borders Module Level 3, including the keywords "contain", "cover", and fixed-size backgrounds. https://bugzilla.gnome.org/show_bug.cgi?id=633462
* Util: fix binary search exit conditionGiovanni Campagna2011-12-201-1/+6
| | | | | | | | | | | | The loop can exit with an interval of length one or one of length zero. In the first case it is correct to check which side of the interval to return, in the second case no comparison should be made (since there is only one possible value). In practice, this usually results in one comparison more than needed, but in some cases (when the position was past the end of the array), would call the comparator with undefined. https://bugzilla.gnome.org/show_bug.cgi?id=666614
* Array: add capability to insert while keeping a specific orderGiovanni Campagna2011-12-192-0/+72
| | | | | | | | | Adds two new functions, Util.lowerBound and Util.insertSorted, that take an array, a value and a comparator, and find the first position at which the value can be inserted without violating the order, in optimal time. https://bugzilla.gnome.org/show_bug.cgi?id=666429
* build: Add test/unit/jsParse.js to Makefile3.3.2Florian Müllner2011-11-221-0/+1
| | | | | Commit 3941961f8b added the file without referencing it in the Makefile, which breaks distcheck.
* lookingGlass: Add tab-completionJason Siefken2011-11-051-0/+194
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=661054
* *.js: Make emacs modelines consistentDan Winship2011-10-1118-18/+18
| | | | | | | | js2-mode is no longer developed and we recommend js-mode these days, so switch the modelines to specify that, and make them consistent across all files. https://bugzilla.gnome.org/show_bug.cgi?id=660358
* Add missing test to Makefile.amOwen W. Taylor2011-09-201-0/+1
|
* scroll-view-sizing: Add tests for padding / bordersAdel Gadllah2011-09-191-0/+42
| | | | | | | Add tests to verify that the fade works fine with borders and padding. https://bugzilla.gnome.org/show_bug.cgi?id=659159
* tests: Add transition testJasper St. Pierre2011-09-152-1/+56
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=658092
* tests/Makefile.am: add missing file to DISTCHECKOwen W. Taylor2011-09-141-1/+2
|
* tests: add a unit test for Misc.findUrls()Dan Winship2011-09-081-0/+71
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=636252
* Add markup.js to TEST_JS3.1.4Owen W. Taylor2011-07-271-1/+2
|
* tests: add a test for MessageTray._fixMarkupDan Winship2011-07-271-0/+142
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=650298
* tests: fix up typelib include pathsDan Winship2011-07-272-1/+2
| | | | | | | | | | The js modules have so many imports back and forth that it's pretty much guaranteed that if you import even one of them, you'll end up importing all of them, including ui.status.bluetooth and ui.status.network. So fix up the typelib include paths the same way gnome-shell-jhbuild does, so we can find everything. https://bugzilla.gnome.org/show_bug.cgi?id=650298
* tests: Add tests for large rounded cornersJasper St. Pierre2011-07-091-0/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=649513
* st-scroll-view: Make the fade effect and offset themableJasper St. Pierre2011-06-042-1/+5
| | | | | | | | | | | | Theme authors now have the power (and responsibility) of creating fade effects with the new CSS length property '-st-fade-offset'. A value of 0 disables the effect. This new CSS approach replaces the current programmatic toggle of the 'vfade' property. A new CSS style class name 'vfade' is used as a replacement for the old property. https://bugzilla.gnome.org/show_bug.cgi?id=651813