summaryrefslogtreecommitdiffstats
path: root/menu/tests/data
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2004-08-29 12:33:51 +0000
committerMark McLoughlin <mark@skynet.ie>2004-08-29 12:33:51 +0000
commitabbe4db525c4da32067204c371161959f594decd (patch)
tree0607c0cfe30b2e1191901e3d671d29e5c9a9bb02 /menu/tests/data
parent2a3b70fd794c64aac1dfc9d8ba567888195d0903 (diff)
downloadxdg-specs-abbe4db525c4da32067204c371161959f594decd.tar.xz
test for NoDisplay=true behavious in .desktop and .directory files.
2004-08-29 Mark McLoughlin <mark@skynet.ie> * tests/m: test for NoDisplay=true behavious in .desktop and .directory files. * data/hidden.desktop, data/hidden.directory: add. * data/apps.directory: add Type=Directory. * menutest: actually generate a test result if one doesn't exist - makes it easier to write new tests.
Diffstat (limited to 'menu/tests/data')
-rw-r--r--menu/tests/data/apps.directory1
-rw-r--r--menu/tests/data/hidden.desktop8
-rw-r--r--menu/tests/data/hidden.directory5
3 files changed, 14 insertions, 0 deletions
diff --git a/menu/tests/data/apps.directory b/menu/tests/data/apps.directory
index 8981d7a..d54b4bd 100644
--- a/menu/tests/data/apps.directory
+++ b/menu/tests/data/apps.directory
@@ -61,5 +61,6 @@ Name[xh]=Izicelo
Name[zh_CN]=应用程序
Name[zh_TW]=應用程式
Name[zu]=Abayaleli
+Type=Directory
Icon=package_applications
diff --git a/menu/tests/data/hidden.desktop b/menu/tests/data/hidden.desktop
new file mode 100644
index 0000000..dbbbff9
--- /dev/null
+++ b/menu/tests/data/hidden.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Hidden
+Comment=You shouldn't see this
+Exec=hidden
+Type=Application
+Categories=GNOME;Application;TextEditor;
+NoDisplay=true
diff --git a/menu/tests/data/hidden.directory b/menu/tests/data/hidden.directory
new file mode 100644
index 0000000..5f1e776
--- /dev/null
+++ b/menu/tests/data/hidden.directory
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Hidden
+Type=Directory
+NoDisplay=true