From: hyunho Date: Thu, 10 Oct 2019 08:11:04 +0000 (+0900) Subject: [Shortcut][Non-ACR] Fix wrong test app X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F34%2F215534%2F2;p=test%2Ftct%2Fcsharp%2Fapi.git [Shortcut][Non-ACR] Fix wrong test app Change-Id: I05d67798ca6278880247c6dff3e6f24b5f7caf46 Signed-off-by: hyunho --- diff --git a/tct-suite-vs/Tizen.Shortcut.Tests/testcase/TSShortcutEventManager.cs b/tct-suite-vs/Tizen.Shortcut.Tests/testcase/TSShortcutEventManager.cs index 0f443ad..de3f31f 100755 --- a/tct-suite-vs/Tizen.Shortcut.Tests/testcase/TSShortcutEventManager.cs +++ b/tct-suite-vs/Tizen.Shortcut.Tests/testcase/TSShortcutEventManager.cs @@ -353,7 +353,7 @@ namespace Tizen.Shortcut.Tests { IList shortcutTemplates = new List(); - shortcutTemplates = (List < ShortcutTemplate >)ShortcutEventManager.GetTemplateList("org.example.shortcut"); + shortcutTemplates = (List < ShortcutTemplate >)ShortcutEventManager.GetTemplateList("Tizen.Shortcut.Tests"); await Task.Delay(1000); foreach(ShortcutTemplate shortcut in shortcutTemplates) diff --git a/tct-suite-vs/Tizen.Shortcut.Tests/testcase/TSShortcutTemplate.cs b/tct-suite-vs/Tizen.Shortcut.Tests/testcase/TSShortcutTemplate.cs index 2007750..a07a201 100755 --- a/tct-suite-vs/Tizen.Shortcut.Tests/testcase/TSShortcutTemplate.cs +++ b/tct-suite-vs/Tizen.Shortcut.Tests/testcase/TSShortcutTemplate.cs @@ -61,12 +61,12 @@ namespace Tizen.Shortcut.Tests { IList shortcutTemplates = new List(); - shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("org.example.shortcut"); + shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("Tizen.Shortcut.Tests"); await Task.Delay(1000); foreach (ShortcutTemplate shortcut in shortcutTemplates) { - Assert.AreEqual(shortcut.AppId, "org.example.shortcut", "the set value and the get value should be equal"); + Assert.AreEqual(shortcut.AppId, "Tizen.Shortcut.Tests", "the set value and the get value should be equal"); } } catch (NotSupportedException) @@ -92,7 +92,7 @@ namespace Tizen.Shortcut.Tests { IList shortcutTemplates = new List(); - shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("org.example.shortcut"); + shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("Tizen.Shortcut.Tests"); await Task.Delay(1000); foreach (ShortcutTemplate shortcut in shortcutTemplates) @@ -123,7 +123,7 @@ namespace Tizen.Shortcut.Tests { IList shortcutTemplates = new List(); - shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("org.example.shortcut"); + shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("Tizen.Shortcut.Tests"); await Task.Delay(1000); foreach (ShortcutTemplate shortcut in shortcutTemplates) @@ -154,7 +154,7 @@ namespace Tizen.Shortcut.Tests { IList shortcutTemplates = new List(); - shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("org.example.shortcut"); + shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("Tizen.Shortcut.Tests"); await Task.Delay(1000); foreach (ShortcutTemplate shortcut in shortcutTemplates) @@ -185,7 +185,7 @@ namespace Tizen.Shortcut.Tests { IList shortcutTemplates = new List(); - shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("org.example.shortcut"); + shortcutTemplates = (List)ShortcutEventManager.GetTemplateList("Tizen.Shortcut.Tests"); await Task.Delay(1000); foreach (ShortcutTemplate shortcut in shortcutTemplates) diff --git a/tct-suite-vs/Tizen.Shortcut.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.Shortcut.Tests/tizen-manifest.xml index 85d5c8d..f30a788 100644 --- a/tct-suite-vs/Tizen.Shortcut.Tests/tizen-manifest.xml +++ b/tct-suite-vs/Tizen.Shortcut.Tests/tizen-manifest.xml @@ -5,7 +5,12 @@ Tizen.Shortcut.Tests.png - + + + shortcut.png + + + http://tizen.org/privilege/shortcut http://tizen.org/privilege/appmanager.launch