[DotnetUtil][Non-ACR] Modified the validation of the Tizen.NET API version 43/219543/4
authorj-h.choi <j-h.choi@samsung.com>
Fri, 6 Dec 2019 00:56:35 +0000 (09:56 +0900)
committerj-h.choi <j-h.choi@samsung.com>
Fri, 6 Dec 2019 01:19:01 +0000 (10:19 +0900)
Change-Id: Ifc3b5ff1f32663a8dfc2b09b4b06050a2ab54c5e

tct-suite-vs/Tizen.DotnetUtil.Tests/testcase/TSDotnetUtil.cs

index 63afc3f..c285ac0 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 = 7;
+            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 + ".");
         }
     }
 }