diff options
author | lanius <lanius> | 2005-05-22 21:27:19 +0000 |
---|---|---|
committer | lanius <lanius> | 2005-05-22 21:27:19 +0000 |
commit | 4b90f7044cb51732b26a43ced859a670cf5ecfcb (patch) | |
tree | b662e1b44cbcf7679e679c1d247c4dce486a337f /menu/tests | |
parent | 84a56ac520898a0a5553cd45c975c6ebf5e58dd7 (diff) | |
download | xdg-specs-4b90f7044cb51732b26a43ced859a670cf5ecfcb.tar.xz |
another onlyunallocated test
Diffstat (limited to 'menu/tests')
-rw-r--r-- | menu/tests/tests/k/test | 1 | ||||
-rw-r--r-- | menu/tests/tests/v/result | 2 | ||||
-rw-r--r-- | menu/tests/tests/v/test | 31 |
3 files changed, 34 insertions, 0 deletions
diff --git a/menu/tests/tests/k/test b/menu/tests/tests/k/test index 42f0d60..a70bf9a 100644 --- a/menu/tests/tests/k/test +++ b/menu/tests/tests/k/test @@ -25,6 +25,7 @@ mkdir ${XDG_CONFIG_DIR}/menus/applications-merged/ ./expand > ${XDG_CONFIG_DIR}/menus/applications-merged/test.menu <<EOF <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> +<!-- test --> <Menu> <Name>KDE</Name> diff --git a/menu/tests/tests/v/result b/menu/tests/tests/v/result new file mode 100644 index 0000000..5439b68 --- /dev/null +++ b/menu/tests/tests/v/result @@ -0,0 +1,2 @@ +Applications/ kwrite.desktop /tmp/menutestdir/xdg_data_dir/applications/kwrite.desktop +Editors/ kwrite.desktop /tmp/menutestdir/xdg_data_dir/applications/kwrite.desktop diff --git a/menu/tests/tests/v/test b/menu/tests/tests/v/test new file mode 100644 index 0000000..a6f6920 --- /dev/null +++ b/menu/tests/tests/v/test @@ -0,0 +1,31 @@ +echo ">>> Another <OnlyUnallocated> test" + +# Tests <OnlyUnallocated> + +# Generate applications.menu +mkdir -p ${XDG_CONFIG_DIR}/menus +./expand > ${XDG_CONFIG_DIR}/menus/applications.menu <<EOF + <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" + "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> + +<Menu> + <Name>KDE</Name> + <DefaultAppDirs/> + + <Menu> + <Name>Applications</Name> + <Include> + <Filename>kwrite.desktop</Filename> + </Include> + </Menu> + <Menu> + <Name>Editors</Name> + <Include> + <Filename>kwrite.desktop</Filename> + </Include> + </Menu> +</Menu> +EOF + +# Install .desktop files +installData ${XDG_DATA_DIR}/applications kwrite.desktop |