summaryrefslogtreecommitdiffstats
path: root/menu
diff options
context:
space:
mode:
Diffstat (limited to 'menu')
-rw-r--r--menu/tests/ChangeLog5
-rw-r--r--menu/tests/tests/2/result1
-rw-r--r--menu/tests/tests/2/test10
3 files changed, 14 insertions, 2 deletions
diff --git a/menu/tests/ChangeLog b/menu/tests/ChangeLog
index b5079f0..ae13182 100644
--- a/menu/tests/ChangeLog
+++ b/menu/tests/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-08 Mark McLoughlin <mark@skynet.ie>
+
+ * tests/2/result,
+ tests/2/test: test the new <OnlyUnallocated> behaviour.
+
2004-08-29 Mark McLoughlin <mark@skynet.ie>
* tests/m: test for NoDisplay=true behavious in .desktop and
diff --git a/menu/tests/tests/2/result b/menu/tests/tests/2/result
index 421ae42..69f2874 100644
--- a/menu/tests/tests/2/result
+++ b/menu/tests/tests/2/result
@@ -1,4 +1,3 @@
BoardGames/ gataxx.desktop /tmp/menutestdir/xdg_data_dir/applications/gataxx.desktop
BoardGames/ mahjongg.desktop /tmp/menutestdir/xdg_data_dir/applications/mahjongg.desktop
Games/ freecell.desktop /tmp/menutestdir/xdg_data_dir/applications/freecell.desktop
-Games/ glines.desktop /tmp/menutestdir/xdg_data_dir/applications/glines.desktop
diff --git a/menu/tests/tests/2/test b/menu/tests/tests/2/test
index 93f7bf7..3863623 100644
--- a/menu/tests/tests/2/test
+++ b/menu/tests/tests/2/test
@@ -14,8 +14,16 @@ mkdir -p ${XDG_CONFIG_DIR}/menus
<Menu>
<Name>BoardGames</Name>
<Include>
- <Category>BoardGame</Category>
+ <And>
+ <Category>Game</Category>
+ <Not>
+ <Category>CardGame</Category>
+ </Not>
+ </And>
</Include>
+ <Exclude>
+ <Category>PuzzleGame</Category>
+ </Exclude>
</Menu>
<Menu>
<Name>Games</Name>