[DotnetUtil][Non-ACR] Modified the validation of the Tizen.NET API version 41/219541/4
authorj-h.choi <j-h.choi@samsung.com>
Fri, 6 Dec 2019 00:46:03 +0000 (09:46 +0900)
committerj-h.choi <j-h.choi@samsung.com>
Fri, 6 Dec 2019 01:19:58 +0000 (10:19 +0900)
Change-Id: I22b54fed2666ce8cec7dcc0e74d553ef07ed2c98
Signed-off-by: jongheonchoi <j-h.choi@samsung.com>
tct-suite-vs/Tizen.DotnetUtil.Tests/testcase/TSDotnetUtil.cs

index 63afc3f..2ac77f1 100755 (executable)
@@ -44,10 +44,9 @@ namespace Tizen.DotnetUtil.Tests
         [Property("AUTHOR", "Jongheon Choi, j-h.choi@samsung.com")]
         public void TizenAPIVersion_PROPERTY_READ_ONLY()
         {
-            Console.WriteLine("Tizen.NET API version : " + Common.DotnetUtil.TizenAPIVersion);
             /* TEST CODE */
-            Assert.IsTrue((Common.DotnetUtil.TizenAPIVersion >= 0), "The Tizen .NET API version should be valid");
-            Assert.IsTrue((Common.DotnetUtil.TizenAPIVersion == 6), "The .NET API version of the TCT application is 6");
+            int validVersion = 6;
+            Assert.IsTrue((Common.DotnetUtil.TizenAPIVersion >= validVersion), "The Tizen.NET API version of the platform should be greater than or equal to " + validVersion + ". The Tizen.NET API version of current platform is " + Common.DotnetUtil.TizenAPIVersion + ".");
         }
     }
 }