summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2020-04-26[Test] Fix compiler warning, theme test (bug in lexer) and more.Dave Davenport
2020-04-26[Test] Use new RofiDistance format.Dave Davenport
2020-02-01Add support for additional field on script entries `meta` (#1052)Jeff
* Add test for hidden meta data in script mode The purpose of this is to provide support for "hidden" fields on a script item that work for search but don't get displayed. This is mostly to provide something similar to the optional display (but still matchable) fields in drun like "categories" or "keywords". This also enables the choice to display unicode icons but still allow for searching for the keywords without needing to print them. * Ignore the output file from test runs * Add support for the "meta" field on script entries This fields provides a matchable but unprinted string for entries in a script mode list match. This means you can use one thing but provide multiple options that can match that item without polluting the list view or make confusing output. * Add new test to test suite file
2019-09-27[Test] Fix building of tests.Dave Davenport
Fixes: #1017
2019-08-20[DRun] Add keywords to match and printing.Dave Davenport
2019-08-08Issue949 (#999)Dave Davenport
* [Issue 949] Add initial split of listview row into widget tree. Allowing better themeing. * Remove unneeded code from textbox. allow dis. icons. * Fix typo. * Fix wrong widget offset in textbox. * Fix mouse handling * [ListView] Add 'fixed-columns' boolean option. * [Listview] Fix inversion of option. * [ListView] remove commented old code. * [Textbox] Handle null pointer on desired width. * [Listview] Fix crasher with fixed_columns and more max elements requested items. * Add hack to get backwards compatibility for new listview structure. * Fix the scrollbar test. * Fix tests for theme update..
2019-05-04[ListView|Textbox] Add user-settable ellipsize mode.Dave Davenport
Fixes: #917
2019-04-19tests: Fix mode_result test warningQuentin Glidic
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-02-02[Script] cleanup unnecessary $ from arithmetic variables.Dave Davenport
2019-02-02[Scripts] Remove cat for pipe.Dave Davenport
2019-02-02[Scripts] Do some fixes.Dave Davenport
2019-02-02[CodeCY] More cleanup.Dave Davenport
2019-02-02[CodeCY] Cleanup some more warnings given by CodeCY.Dave Davenport
2019-02-02[TESTS] Remove (pointless) warning from helper tokenize.Dave Davenport
2019-02-02[TESTS] Fix scrollbar/history-test assert argument format.Dave Davenport
2019-02-02[TESTS] Fix helper-test assert argument format.Dave Davenport
2019-02-02[TEST] box-test fix commit polution. (oops).Dave Davenport
2019-02-02 [TESTS] Fix format data type in test asserts.Dave Davenport
2019-02-02[TESTS] Fix format data type in box-test asserts.Dave Davenport
2018-12-14tests: initialize char* in mode test (#875)Till Hofmann
* tests: initialize char* in mode test Currently, test_mode_result relies on undefined behavior. The test calls mode_result, which checks whether the pointer is NULL. However, the pointer was never initialized, so it may or may not be NULL, depending on the compiler. This caused a test failure on ppc64 and Fedora 28, apparently because in this setting, gcc sets uninitialized pointers to NULL. By initializing the pointer to the empty string, the behavior is defined and the test passes on all architectures. * mode: fix input pointer check in mode_result Do not check whether *input (i.e., the char* the input points to) is NULL, as this is valid. Instead, check whether the input itself is NULL. * tests: make char* input arg in test_mode_result modifiable The function mode_result expects a modifiable char*, initialize the argument properly so it can be modified.
2018-10-17[Helper] Remove fixed key/values and accept keys with NULL as values.Dave Davenport
2018-10-16[Helper] Quick and dirty string replacer with optional keys block.Dave Davenport
First (quick and dirty) version of a more advanced key replacer where sets of text are only outputted if the contained key matches.
2018-07-10[Tests] Fix window test.Dave Davenport
2018-06-14[Theme] Change window layout for error dialogDave Davenport
2018-05-16[Test] Helper:Pidfile generate tmp. pidfilename.Dave Davenport
2018-03-07Remove duplicate test, use tempnam instead of hardcoded path.Dave Davenport
Issue: #543
2017-10-31Remove leading # from dump theme and add mesg about rofi dumping itDave Davenport
2017-10-22[Tests] Fix tests for theme-parser.Dave Davenport
2017-10-21Added option -name-only to match only desktop entry name with drun (#690)Askrenteam
* Added option -name-only to match only desktop entry name with drun * fixed indent and xrdump test * fixed test * option -drun-match-fields * option -window-match-fields * matching fields as static in window/drun + enums for field indexes * prevent window_mode_parse_fields() from executing twice
2017-10-19Add Delta to float/double compare.Dave Davenport
Issue: #692
2017-10-01Rename tokenize to helper_tokenizeDave Davenport
2017-09-29Make tokenize test use libcheck.Dave Davenport
- Add some tests for negate.
2017-09-29Implement support for specifying negated matchDave Davenport
- Prepending - inverts the matching result. - Fix logic window/drun browser. - Breaks API as argument token_match callback changed. - Update tests. Fixes: #665
2017-09-17Cleanup compiler warnings.Dave Davenport
- Unused var. - Missing switch statement. - Change fallthrough for older compilers.
2017-09-07Fix tests.Dave Davenport
2017-09-07Fix Inherit keywordDave Davenport
2017-09-05Add `ch` as size unit.Dave Davenport
2017-08-17Move PropertyType into rofi-types header and add check for names pairs.Dave Davenport
2017-07-27tests/window: Wait for other xterm to closeQuentin Glidic
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-27tests/window: Add some loggingQuentin Glidic
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-27tests: Better loggingQuentin Glidic
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-26Add test for strings with embedded "'sDave Davenport
2017-06-20Fix tests by splitting types name into separate file.Dave Davenport
2017-06-14Add extra check for rofi_theme_parse_prepare_fileDave Davenport
2017-06-14Add list property test, allow empty lists.Dave Davenport
2017-06-07[TextBox] Remove TB_LEFT/CENTER/RIGHT replace with xalign/yalign.Dave Davenport
2017-06-03view: Always create textbox with typeQuentin Glidic
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02Make matching keywords like Vertical case-insensitive add test.Dave Davenport
- Make keywords like dash, horizontal, etc case-insensitive. - Add test for orientation property.
2017-06-02Merge remote-tracking branch 'origin/master' into barviewDave Davenport
2017-06-02Remove index from box_add.Dave Davenport