[Information][Non-ACR][Do not expect feature value] 74/263074/1
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 26 Aug 2021 00:53:04 +0000 (09:53 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 26 Aug 2021 00:53:04 +0000 (09:53 +0900)
Feature value might vary over targets. Therefore just checks return
of API and do not check fetched feature value.

Change-Id: I40e47aa8ca84b6d103e9f1595c5aa33dd12abd4e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemInfo.cs

index 641c6a6..24bea00 100755 (executable)
@@ -55,11 +55,9 @@ namespace Tizen.System.Tests
             {
                 var result = Information.TryGetValue<bool>(item.Key, out value);
                 Assert.IsTrue(result, string.Format("Failed to get value for valid bool key: {0}", item.Key));
-                Assert.IsTrue(item.Value == value, string.Format("For Key: {0}, Expected: {1}, Actual: {2}", item.Key, item.Value, value));
 
                 result = Information.TryGetValue(item.Key, out value);
                 Assert.IsTrue(result, string.Format("Failed to get value for valid bool key: {0}", item.Key));
-                Assert.IsTrue(item.Value == value, string.Format("For Key: {0}, Expected: {1}, Actual: {2}", item.Key, item.Value, value));
             }
         }
 
@@ -99,11 +97,9 @@ namespace Tizen.System.Tests
             {
                 var result = Information.TryGetValue<double>(item.Key, out value);
                 Assert.IsTrue(result, string.Format("Failed to get value for valid double key: {0}", item.Key));
-                Assert.AreEqual(item.Value, value, string.Format("For Key: {0}, Expected: {1}, Actual: {2}", item.Key, item.Value, value));
 
                 result = Information.TryGetValue(item.Key, out value);
                 Assert.IsTrue(result, string.Format("Failed to get value for valid double key: {0}", item.Key));
-                Assert.AreEqual(item.Value, value, string.Format("For Key: {0}, Expected: {1}, Actual: {2}", item.Key, item.Value, value));
             }
         }
 
@@ -143,11 +139,9 @@ namespace Tizen.System.Tests
             {
                 var result = Information.TryGetValue<int>(item.Key, out value);
                 Assert.IsTrue(result, string.Format("Failed to get value for valid int key: {0}", item.Key));
-                Assert.AreEqual(item.Value, value, string.Format("For Key: {0}, Expected: {1}, Actual: {2}", item.Key, item.Value, value));
 
                 result = Information.TryGetValue(item.Key, out value);
                 Assert.IsTrue(result, string.Format("Failed to get value for valid int key: {0}", item.Key));
-                Assert.AreEqual(item.Value, value, string.Format("For Key: {0}, Expected: {1}, Actual: {2}", item.Key, item.Value, value));
             }
         }
 
@@ -187,11 +181,9 @@ namespace Tizen.System.Tests
             {
                 var result = Information.TryGetValue<string>(item.Key, out value);
                 Assert.IsTrue(result, string.Format("Failed to get value for valid string key: {0}", item.Key));
-                Assert.AreEqual(item.Value, value, string.Format("For Key: {0}, Expected: {1}, Actual: {2}", item.Key, item.Value, value));
 
                 result = Information.TryGetValue(item.Key, out value);
                 Assert.IsTrue(result, string.Format("Failed to get value for valid string key: {0}", item.Key));
-                Assert.AreEqual(item.Value, value, string.Format("For Key: {0}, Expected: {1}, Actual: {2}", item.Key, item.Value, value));
             }
         }