summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2004-12-10 15:50:20 +0000
committerMark McLoughlin <mark@skynet.ie>2004-12-10 15:50:20 +0000
commit598d702e13462736f6eaf5e08576ff214c7690e9 (patch)
tree1ba9c2d3c0ef414a33c776a68c8e3c7c621f36bf
parente1b6bf680dc4d021e7f2122841f812975a31985c (diff)
downloadxdg-specs-598d702e13462736f6eaf5e08576ff214c7690e9.tar.xz
test the new <OnlyUnallocated> behaviour.
2004-12-08 Mark McLoughlin <mark@skynet.ie> * tests/2/result, tests/2/test: test the new <OnlyUnallocated> behaviour.
-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>