From 755e697c2ba60010ea0fde875047a98c4f759513 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 16 Feb 2010 15:27:18 -0600 Subject: Better name --- tests/test-well-formed.desktop | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/test-well-formed.desktop (limited to 'tests/test-well-formed.desktop') diff --git a/tests/test-well-formed.desktop b/tests/test-well-formed.desktop new file mode 100644 index 0000000..fc906a3 --- /dev/null +++ b/tests/test-well-formed.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Name=My Application +Exec=ls +NotShowIn=Germany +X-Ayatana-Desktop-Shortcuts=bob;alvin;jim + +[bob Shortcut Group] +Name=Bob's shortcut +Exec=ls bob + +[alvin Shortcut Group] +Name=Alivin's shortcut +Exec=ls alvin +OnlyShowIn=France + +[jim Shortcut Group] +Name=Jim's shortcut +Exec=ls jim +NotShowIn=France + -- cgit v1.2.3 From e0bc1911d9618a2d8ac4d1d93de3e7f81d1a14ae Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 16 Feb 2010 21:34:30 -0600 Subject: Adding a check to ensure we're getting the right names from the nicks. --- tests/test-well-formed.desktop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-well-formed.desktop') diff --git a/tests/test-well-formed.desktop b/tests/test-well-formed.desktop index fc906a3..dc2744f 100644 --- a/tests/test-well-formed.desktop +++ b/tests/test-well-formed.desktop @@ -5,11 +5,11 @@ NotShowIn=Germany X-Ayatana-Desktop-Shortcuts=bob;alvin;jim [bob Shortcut Group] -Name=Bob's shortcut +Name=bob's shortcut Exec=ls bob [alvin Shortcut Group] -Name=Alivin's shortcut +Name=alvin's shortcut Exec=ls alvin OnlyShowIn=France -- cgit v1.2.3 From af36cb86cf0cb671cd8521e66562341a2a015fd1 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 16 Feb 2010 21:40:50 -0600 Subject: Add a test to launch an nick --- tests/test-well-formed.desktop | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/test-well-formed.desktop') diff --git a/tests/test-well-formed.desktop b/tests/test-well-formed.desktop index dc2744f..84e2e02 100644 --- a/tests/test-well-formed.desktop +++ b/tests/test-well-formed.desktop @@ -2,7 +2,7 @@ Name=My Application Exec=ls NotShowIn=Germany -X-Ayatana-Desktop-Shortcuts=bob;alvin;jim +X-Ayatana-Desktop-Shortcuts=bob;alvin;jim;touch [bob Shortcut Group] Name=bob's shortcut @@ -18,3 +18,7 @@ Name=Jim's shortcut Exec=ls jim NotShowIn=France +[touch Shortcut Group] +Name=Touch Test +Exec=touch test-desktop-shortcuts-touch-test +OnlyShowIn=TouchTest -- cgit v1.2.3