From 27f4147609d3c08cf1b2a5bf457ceed23cce52be Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 25 Jan 2011 20:38:16 +0100 Subject: Add tests for themes * general * commandline option overrides same theme option * multiline theme definitions --- test/config/feh/keys | 17 ----------------- test/config/keys/feh/keys | 17 +++++++++++++++++ test/config/themes/feh/themes | 5 +++++ 3 files changed, 22 insertions(+), 17 deletions(-) delete mode 100644 test/config/feh/keys create mode 100644 test/config/keys/feh/keys create mode 100644 test/config/themes/feh/themes (limited to 'test/config') diff --git a/test/config/feh/keys b/test/config/feh/keys deleted file mode 100644 index 7114ecc..0000000 --- a/test/config/feh/keys +++ /dev/null @@ -1,17 +0,0 @@ -action_1 x -action_2 X -action_3 C-x -action_4 C-X -action_5 1-x -action_6 -action_7 - -next_img a b c -prev_img d e f - -# conflict with next_img/prev_img -toggle_actions -toggle_caption -toggle_filenames -save_filelist -close diff --git a/test/config/keys/feh/keys b/test/config/keys/feh/keys new file mode 100644 index 0000000..7114ecc --- /dev/null +++ b/test/config/keys/feh/keys @@ -0,0 +1,17 @@ +action_1 x +action_2 X +action_3 C-x +action_4 C-X +action_5 1-x +action_6 +action_7 + +next_img a b c +prev_img d e f + +# conflict with next_img/prev_img +toggle_actions +toggle_caption +toggle_filenames +save_filelist +close diff --git a/test/config/themes/feh/themes b/test/config/themes/feh/themes new file mode 100644 index 0000000..d4b7f69 --- /dev/null +++ b/test/config/themes/feh/themes @@ -0,0 +1,5 @@ +test_general --action1 "touch a1" + +test_multiline --action1 "touch a1" \ +--action2 "touch a2" \ + --action3 "touch a3" -- cgit v1.2.3