From eca3705b838ba5ddf86a48a0f26377fd60497920 Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Fri, 12 Dec 2003 16:31:39 +0000 Subject: Better testing of LegacyDir support --- menu/tests/data/gideon-legacy.desktop | 12 ++++++++++++ menu/tests/data/kedit-legacy.desktop | 33 +++++++++++++++++++++++++++++++++ menu/tests/tests/e/result | 2 +- menu/tests/tests/e/test | 2 +- 4 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 menu/tests/data/gideon-legacy.desktop create mode 100644 menu/tests/data/kedit-legacy.desktop 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 -- cgit v1.2.3-70-g09d2