summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaldo Bastian <waldo.bastian@intel.com>2003-12-12 16:31:39 +0000
committerWaldo Bastian <waldo.bastian@intel.com>2003-12-12 16:31:39 +0000
commiteca3705b838ba5ddf86a48a0f26377fd60497920 (patch)
tree3e528e46e711cfcba872db85b562a518c0978c37
parent14e425fdd9508c26e9409b2402cfbf850e99b52d (diff)
downloadxdg-specs-eca3705b838ba5ddf86a48a0f26377fd60497920.tar.xz
Better testing of LegacyDir support
-rw-r--r--menu/tests/data/gideon-legacy.desktop12
-rw-r--r--menu/tests/data/kedit-legacy.desktop33
-rw-r--r--menu/tests/tests/e/result2
-rw-r--r--menu/tests/tests/e/test2
4 files changed, 47 insertions, 2 deletions
diff --git a/menu/tests/data/gideon-legacy.desktop b/menu/tests/data/gideon-legacy.desktop
new file mode 100644
index 0000000..4595087
--- /dev/null
+++ b/menu/tests/data/gideon-legacy.desktop
@@ -0,0 +1,12 @@
+[KDE Desktop Entry]
+Encoding=UTF-8
+BinaryPattern=kdevelop;
+Type=Application
+Exec=gideon %u
+MimeType=application/x-kdevelop;
+Icon=gideon
+DocPath=kdevelop/index.html
+Terminal=0
+Name=KDevelop 3.0
+Comment=IDE for C++/Qt/KDE
+X-DCOP-ServiceType=Multi
diff --git a/menu/tests/data/kedit-legacy.desktop b/menu/tests/data/kedit-legacy.desktop
new file mode 100644
index 0000000..fa9700e
--- /dev/null
+++ b/menu/tests/data/kedit-legacy.desktop
@@ -0,0 +1,33 @@
+[Desktop Entry]
+Encoding=UTF-8
+BinaryPattern=kedit;
+MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
+GenericName=Simple Text Editor
+GenericName[ca]=Editor de text
+GenericName[cs]=Jednoduchý textový editor
+GenericName[da]=Simpel teksteditor
+GenericName[es]=Editor de texto sencillo
+GenericName[fr]=Éditeur de texte élémentaire
+GenericName[pt_BR]=Editor de Texto Simples
+GenericName[sv]=Enkel texteditor
+GenericName[wa]=Simpe aspougneu di tecse
+Exec=kedit -caption "%c" %i %m %u
+Icon=kedit
+TerminalOptions=
+Path=
+DocPath=kedit/index.html
+Type=Application
+Terminal=0
+Name=KEdit
+Name[af]=Kredigeer
+Name[eo]=Redaktilo
+Name[hr]=Uređivač
+Name[lv]=KRediģēt
+Name[pl]=Edytor
+Name[sv]=Kedit
+Name[th]=แก้ไขข้อความ
+Name[ven]=U sengulusa ha K
+Name[xh]=Abahleli Be K
+Name[zh_TW]=KDE 編輯器
+X-KDE-StartupNotify=true
+X-DCOP-ServiceType=Multi
diff --git a/menu/tests/tests/e/result b/menu/tests/tests/e/result
index be80965..0c2af9b 100644
--- a/menu/tests/tests/e/result
+++ b/menu/tests/tests/e/result
@@ -1,4 +1,4 @@
-Development/ gideon.desktop ${LEGACY_DIR}/Development/gideon.desktop
+Development/ gideon-legacy.desktop ${LEGACY_DIR}/Development/gideon-legacy.desktop
Development/ kbabel.desktop ${LEGACY_DIR}/Development/kbabel.desktop
Development/ quanta.desktop ${LEGACY_DIR}/Development/quanta.desktop
Editors/ KEdit.desktop ${XDG_DATA_DIR}/applications/KEdit.desktop
diff --git a/menu/tests/tests/e/test b/menu/tests/tests/e/test
index 90f83a8..580da0a 100644
--- a/menu/tests/tests/e/test
+++ b/menu/tests/tests/e/test
@@ -38,7 +38,7 @@ EOF
installData ${XDG_DATA_DIR}/applications kwrite.desktop KEdit.desktop kate.desktop
-installData ${LEGACY_DIR}/Development gideon.desktop kbabel.desktop quanta.desktop
+installData ${LEGACY_DIR}/Development gideon-legacy.desktop kbabel.desktop quanta.desktop
installData ${LEGACY_DIR} Kfind.desktop Home.desktop Help.desktop