From 7974fb0864c2f956e226fa495722075f4b997a37 Mon Sep 17 00:00:00 2001 From: Yunmi Ha Date: Tue, 29 Dec 2020 11:11:51 +0900 Subject: [PATCH] [Information][NON-ACR] change feature key - There was some mistake in using the feature key. Change to the correct key to confirm support. Change-Id: I6e88b158c00d5c1e517e8c64d25344cd83d7e8df Signed-off-by: Yunmi Ha --- .../Tizen.Information.Tests/testcase/TSInformation.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tct-suite-vs/Tizen.Information.Tests/testcase/TSInformation.cs b/tct-suite-vs/Tizen.Information.Tests/testcase/TSInformation.cs index 5d25aba..f83ee7f 100755 --- a/tct-suite-vs/Tizen.Information.Tests/testcase/TSInformation.cs +++ b/tct-suite-vs/Tizen.Information.Tests/testcase/TSInformation.cs @@ -67,21 +67,21 @@ namespace Tizen.System.Tests { Assert.IsTrue(isError, string.Format("TryGetValue return false for valid bool key: bluetooth")); } - Information.TryGetValue("http://tizen.org/runtimefeature/packetdata", out supported); + Information.TryGetValue("http://tizen.org/feature/network.telephony", out supported); if (supported) { isError = Information.TryGetValue("http://tizen.org/runtimefeature/packetdata", out keyValueBool); Assert.IsTrue(isError, string.Format("TryGetValue return false for valid bool key: packetdata")); } - Information.TryGetValue("http://tizen.org/runtimefeature/dataroaming", out supported); + Information.TryGetValue("http://tizen.org/feature/network.telephony", out supported); if (supported) { isError = Information.TryGetValue("http://tizen.org/runtimefeature/dataroaming", out keyValueBool); Assert.IsTrue(isError, string.Format("TryGetValue return false for valid bool key: dataroaming")); } - Information.TryGetValue("http://tizen.org/runtimefeature/vibration", out supported); + Information.TryGetValue("http://tizen.org/feature/feedback.vibration", out supported); if (supported) { isError = Information.TryGetValue("http://tizen.org/runtimefeature/vibration", out keyValueBool); @@ -101,7 +101,10 @@ namespace Tizen.System.Tests { Assert.IsTrue(isError, string.Format("TryGetValue return false for valid bool key: charger")); } - Information.TryGetValue("http://tizen.org/runtimefeature/tvout", out supported); + Information.TryGetValue("http://tizen.org/feature/screen.output.hdmi", out supported); + if (!supported) + Information.TryGetValue("http://tizen.org/feature/screen.output.rca", out supported); + if (supported) { isError = Information.TryGetValue("http://tizen.org/runtimefeature/tvout", out keyValueBool); -- 2.7.4