awesome/tests
Uli Schlachter 9f2c4719ed Make the piechart deterministic (#1258)
Previously, the API to set the data that should be displayed was
:set_data(t) where t is a table. This table has the labels to use as its
keys and the numbers as its values. With this API, it was not possible
to influence the order in which the "pie pieces" were drawn.

This commit adds and uses a new API called :set_data_list(t). Here, t is
a table with integer keys and tables as values, thus one can iterate
over this with ipairs() and the order is well-defined. The tables used
as values contain the label as their first entry and the number as their
second entry.

Fixes: https://github.com/awesomeWM/awesome/issues/1249
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-07 20:20:09 +01:00
..
examples Make the piechart deterministic (#1258) 2016-12-07 20:20:09 +01:00
_client.lua Improve API of test/_client.lua 2016-12-01 15:32:31 +01:00
_multi_screen.lua tests: Add a framework to make it easier to test multiple screens. 2016-09-05 17:13:53 -04:00
_runner.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
_wibox_helper.lua textclock: Move to wibox.widget 2016-05-30 17:51:19 -04:00
run.sh tests: Bump the timeout to 3 minutes. 2016-12-01 19:34:46 -05:00
test-awesomerc.lua awful.tag: Rename nmaster to master_count 2016-04-11 23:54:28 -04:00
test-awful-client.lua tests: Add a `new_tag` rule multi-screen test 2016-11-27 04:57:35 -05:00
test-awful-layout.lua tests: Test all client layouts 2016-04-18 04:20:23 -04:00
test-awful-rules.lua tests: Try to detect client "manage" signal race conditions. 2016-09-04 02:52:16 -04:00
test-awful-screen.lua tests: Test awful.screen against regressions 2016-04-11 23:54:28 -04:00
test-awful-tag.lua tests: Test moving tags between screens. 2016-09-05 17:13:53 -04:00
test-awful-widget-button.lua tests: Test recursive signals on mouse events. 2016-08-20 15:41:12 -04:00
test-awful-widget-watch.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-benchmark.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-client-swap.lua Test and fix swapping clients 2016-10-29 09:34:45 +02:00
test-current-desktop.lua Fix the test that the previous commit added 2016-06-04 17:05:42 +02:00
test-dbus-error.lua Test & fix a bug with dbus.disconnect_signal (#1096) 2016-09-18 12:50:40 +02:00
test-drawable-bgimage.lua Add a test for drawable:set_bgimage() 2016-07-09 10:28:42 +02:00
test-focus.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-geometry.lua tests: Test geometry changes 2016-04-20 00:11:04 -04:00
test-leak-client.lua Make tests more reliable on "early errors" 2016-03-06 10:20:45 +01:00
test-leaks.lua Fix memory leak in the default config on screen removal 2016-09-30 22:46:51 +02:00
test-maximize.lua change test value for client.border_width 2016-07-27 13:43:28 +02:00
test-miss-handlers.lua tests: Test the declarative widget system on wiboxes 2016-08-01 16:10:53 -04:00
test-resize.lua tests: Test mouse.move on odd sized clients. 2016-08-12 17:02:33 -04:00
test-screen-changes.lua Add a test for screen :swap() 2016-10-29 09:36:31 +02:00
test-signal.lua Add awesome.{kill,unix_signal} 2016-05-27 19:22:41 +02:00
test-spawn-snid.lua Improve API of test/_client.lua 2016-12-01 15:32:31 +01:00
test-spawn.lua tests: Test spawn empty command corner case 2016-08-09 18:50:34 -04:00
test-struts.lua Fix memory leak in the default config on screen removal 2016-09-30 22:46:51 +02:00
test-tag-gap-single-client.lua Fix awful.tag.object.get_gap_single_client (#1190) 2016-10-26 01:43:45 +02:00
test-tooltip.lua Fix test-tooltip.lua: Run the event loop 2016-09-30 09:36:47 +02:00
test-urgent.lua Default config: Remove tags table 2016-04-26 09:36:53 +02:00
test-use-after-gc.lua Improve behaviour of GC'd objects 2016-09-24 14:37:07 +02:00