exa/xtests
Benjamin Sago a8bf990674 Tie value suggestions to their arguments
This commit changes the definition of Arg so that it knows about which values it can accept, and can display them in the help text. They were already being shown in the help text, but they were passed in separately, so one argument could show two different sets of options if it wanted. Now, the argument itself knows whether there are suggestions, so it doesn’t have to be passed in separately.

This means we can use it for other things, including listing choices when an option is missed out, without having to repeat the list.

With Misfire::BadArgument now only having two fields, it’s not worth using a constructor function anymore.
2017-09-14 01:22:37 +01:00
..
attributes Fix tree permissions bug 2017-07-04 17:48:30 +01:00
attributes_dir Allow xattrs to be shown in --tree without --long 2017-08-06 12:02:17 +01:00
attributes_files Allow xattrs to be shown in --tree without --long 2017-08-06 12:02:17 +01:00
dates_accessed Test the locale month name width stuff 2017-08-06 22:25:00 +01:00
dates_deifidom Add more modified date aliases 2017-09-13 23:26:06 +01:00
dates_fr Test the locale month name width stuff 2017-08-06 22:25:00 +01:00
dates_full_iso Test the locale month name width stuff 2017-08-06 22:25:00 +01:00
dates_iso Test the locale month name width stuff 2017-08-06 22:25:00 +01:00
dates_jp Test the locale month name width stuff 2017-08-06 22:25:00 +01:00
dates_long_iso Test the locale month name width stuff 2017-08-06 22:25:00 +01:00
dates_modified Test the locale month name width stuff 2017-08-06 22:25:00 +01:00
debug Test for debug mode 2017-08-19 13:57:56 +01:00
dir_paths Tests for the directory path fix 2017-04-29 10:56:17 +01:00
dirs Further tests for printing out directory names 2017-04-29 11:52:44 +01:00
empty Only engage the view when there are files to show 2016-10-29 19:07:43 +01:00
error_duplicate Fix an error being displayed weirdly 2017-08-19 22:17:53 +01:00
error_long Add actual error messages for the error messages 2017-08-10 23:34:39 +01:00
error_ltr Show a warning when running ‘exa -ltr’ 2017-09-13 23:47:19 +01:00
error_overvalued Add actual error messages for the error messages 2017-08-10 23:34:39 +01:00
error_setting Fix typo in error message 2017-09-13 22:37:51 +01:00
error_short Add actual error messages for the error messages 2017-08-10 23:34:39 +01:00
error_twice Fix an error being displayed weirdly 2017-08-19 22:17:53 +01:00
error_useless Fix an error being displayed weirdly 2017-08-19 22:17:53 +01:00
error_value Tie value suggestions to their arguments 2017-09-14 01:22:37 +01:00
file_names Test change emoji width 2017-05-17 23:12:27 +01:00
file_names_1 Also escape characters in links and headings 2017-05-01 21:54:53 +01:00
file_names_bw Extract trait above file name colours 2017-08-26 20:43:47 +01:00
file_names_R Test change emoji width 2017-05-17 23:12:27 +01:00
file_names_T Hide xattr errors unless --extended 2017-08-11 12:36:14 +01:00
file_names_T@ Hide xattr errors unless --extended 2017-08-11 12:36:14 +01:00
file_names_x Test change emoji width 2017-05-17 23:12:27 +01:00
file-names-exts Add extra types to compressed filetype filter. 2017-08-07 00:57:29 -04:00
file-names-exts-bw Extract trait above file name colours 2017-08-26 20:43:47 +01:00
file-names-exts-case Add extra types to compressed filetype filter. 2017-08-07 00:57:29 -04:00
file-names-exts-ext Add extra types to compressed filetype filter. 2017-08-07 00:57:29 -04:00
file-names-exts-ext-case Add extra types to compressed filetype filter. 2017-08-07 00:57:29 -04:00
files Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_40 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_80 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_120 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_160 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_200 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_l Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_l_binary Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_l_bw Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_l_bytes Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_l_scale Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_lG_40 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_lG_80 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_lG_120 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_lG_160 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_lG_200 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_lh Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_lhb Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_lhb2 Default to sorting case-insensitively 2017-08-20 17:33:39 +01:00
files_star_100 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_150 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_200 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_lG_100 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_lG_150 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_lG_200 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
git_1_additions Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_1_both Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_1_edits Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_1_file Allow --git --tree, too 2017-09-02 12:53:08 +01:00
git_1_files Allow --git --tree, too 2017-09-02 12:53:08 +01:00
git_1_long Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_1_nogit Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_1_recurse Redo Git implementation to allow --git --recurse 2017-09-01 19:13:47 +01:00
git_1_tree Allow --git --tree, too 2017-09-02 12:53:08 +01:00
git_2_all Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_2_ignoreds Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_2_long Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_2_nogit Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_2_recurse Redo Git implementation to allow --git --recurse 2017-09-01 19:13:47 +01:00
git_2_repository Add test for nested Git repository 2017-08-28 18:24:20 +01:00
git_2_target Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_2_tree Allow --git --tree, too 2017-09-02 12:53:08 +01:00
git_12 Improve Git test coverage 2017-08-28 15:10:29 +01:00
git_1212 Add test for nested Git repository 2017-08-28 18:24:20 +01:00
git_21221 Improve Git test coverage 2017-08-28 15:10:29 +01:00
help Add more modified date aliases 2017-09-13 23:26:06 +01:00
help_long Document --time-style, and completions 2017-07-06 00:52:27 +01:00
hiddens Override the names of . and .. 2017-06-28 18:41:31 +01:00
hiddens_a Override the names of . and .. 2017-06-28 18:41:31 +01:00
hiddens_aa Override the names of . and .. 2017-06-28 18:41:31 +01:00
hiddens_l Override the names of . and .. 2017-06-28 18:41:31 +01:00
hiddens_la Override the names of . and .. 2017-06-28 18:41:31 +01:00
hiddens_laa Override the names of . and .. 2017-06-28 18:41:31 +01:00
ignores_ogg Rename file-types tests to file-names-exts 2017-04-28 20:07:31 +01:00
links Give broken links a different style in grid view 2017-05-07 14:45:04 +01:00
links_1 Add tests for relative symlinks 2017-04-30 11:58:29 +01:00
links_1_files Re-prefix the paths found by following symlinks 2017-05-15 22:38:23 +01:00
links_T Hide xattr errors unless --extended 2017-08-11 12:36:14 +01:00
links_T@ Hide xattr errors unless --extended 2017-08-11 12:36:14 +01:00
passwd Protect xtests against different default users 2017-04-28 19:34:23 +01:00
permissions xtests for higher order bits 2017-05-30 15:32:11 +01:00
permissions_sudo xtests for higher order bits 2017-05-30 15:32:11 +01:00
proc_1_root Hide xattr errors unless --extended 2017-08-11 12:36:14 +01:00
proc_1_root_@ Hide xattr errors unless --extended 2017-08-11 12:36:14 +01:00
README.md Replace the testcases script with a Vagrant VM 2016-10-07 19:31:03 +01:00
run.sh Show a warning when running ‘exa -ltr’ 2017-09-13 23:47:19 +01:00
sort-by-type Add sorting by type 2017-06-29 14:52:02 +01:00
specials Display device IDs when listing devices 2017-05-19 09:20:47 +01:00
specials_F Display device IDs when listing devices 2017-05-19 09:20:47 +01:00
specials_sort Add sorting by type 2017-06-29 14:52:02 +01:00
themed_compresseds Implement file name colouring in {exa,ls}_colors 2017-09-13 08:51:57 +01:00
themed_compresseds_r Implement file name colouring in {exa,ls}_colors 2017-09-13 08:51:57 +01:00
themed_links Implement file name colouring in {exa,ls}_colors 2017-09-13 08:51:57 +01:00
themed_long Implement file name colouring in {exa,ls}_colors 2017-09-13 08:51:57 +01:00
themed_specials Implement file name colouring in {exa,ls}_colors 2017-09-13 08:51:57 +01:00
themed_un Implement file name colouring in {exa,ls}_colors 2017-09-13 08:51:57 +01:00

Extra tests

These extra tests are intended to be run from a Vagrant VM that has already had its environment set up -- see the section in the README for more details.