[TCT][Non-ACR][Reupload ommitted commits of TCT 5.0 code] 59/171859/1
authorhyukin.kwon <hyukin.kwon@samsung.com>
Wed, 7 Mar 2018 23:31:46 +0000 (08:31 +0900)
committerhyukin.kwon <hyukin.kwon@samsung.com>
Wed, 7 Mar 2018 23:31:46 +0000 (08:31 +0900)
Change-Id: I4e91eb8ac7c7fb1b821ce2522c8d300a13a47629

24 files changed:
tct-suite-vs/Common/versions.props
tct-suite-vs/Tizen.AttachPanel.Manual.Tests/AttachPanelUtils.cs
tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSAttachPanel.cs
tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSResultEventArgs.cs
tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSStateEventArgs.cs
tct-suite-vs/Tizen.AttachPanel.Tests/testcase/TSAttachPanel.cs
tct-suite-vs/Tizen.Bluetooth.Tests/testcase/PreconditionUtils.cs
tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarFilter.cs
tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarQuery.cs
tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarRecord.cs
tct-suite-vs/Tizen.Calendar.Tests/testcase/support/CalendarTestHelper.cs
tct-suite-vs/Tizen.Calendar.Tests/testcase/support/EventView.cs
tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsFilter.cs
tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsQuery.cs
tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsRecord.cs
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSItemObject.cs
tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailMessage.cs
tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailSender.cs
tct-suite-vs/Tizen.Messages.Tests/testcase/support/PreconditionUtils.cs
tct-suite-vs/Tizen.Stt.Manual.Tests/testcase/TSDefaultLanguageChangedEventArgs.cs
tct-suite-vs/Tizen.Stt.Tests/support/SttCommon.cs
tct-suite-vs/Tizen.Stt.Tests/testcase/TSStateChangedEventArgs.cs
tct-suite-vs/Tizen.Stt.Tests/testcase/TSSttClient.cs
tct-suite-vs/Tizen.Stt.Tests/testcase/TSSupportedEngine.cs

index 5c689c9f1139e06662b1b7bf85a87e7956d01086..b9dd85a2ba268e07ce72e36472d0c3c184e7cf97 100755 (executable)
@@ -1,10 +1,10 @@
 <Project>
 
   <PropertyGroup>
-    <TizenNETVersion>5.0.0-preview1-00454</TizenNETVersion>
+    <TizenNETVersion>5.0.0.14275</TizenNETVersion>
     <TizenNETSdkVersion>1.0.1</TizenNETSdkVersion>
-    <XamarinFormsVersion>2.5.0.121934</XamarinFormsVersion>
-    <XamarinFormsTizenVersion>2.5.0.121934</XamarinFormsTizenVersion>
+    <XamarinFormsVersion>2.5.0.122203</XamarinFormsVersion>
+    <XamarinFormsTizenVersion>2.5.0.122203</XamarinFormsTizenVersion>
     <TizenXamarinFormsExtensionVersion>2.4.0-v00014</TizenXamarinFormsExtensionVersion>
   </PropertyGroup>
 
index daae77d67546f973f33bfd45df6c166d6a9bf1ee..99ce8d09487bc575f8eba323663e7f98ae2c7cbe 100755 (executable)
@@ -23,7 +23,7 @@ namespace NUnit.Framework
 {
     public class AttachPanelUtils
     {
-        private string _profile;
+        private static bool _isSupported = false;
 
         private AttachPanel _attachPanel;
 
@@ -39,11 +39,15 @@ namespace NUnit.Framework
 
         private AttachPanelUtils()
         {
+            if (Information.TryGetValue<bool>("http://tizen.org/feature/attach_panel", out _isSupported) == false)
+            {
+                _isSupported = false;
+            }
         }
 
         public AttachPanel GetAttachPanel()
         {
-            if (CheckAPINotSupported(string.Empty, false))
+            if (CheckAPINotSupported(false))
             {
                 return null;
             }
@@ -70,17 +74,9 @@ namespace NUnit.Framework
         }
 
 
-        public bool CheckAPINotSupported(string methodName, bool isNeedDisplay = true)
+        public bool CheckAPINotSupported(bool isNeedDisplay = true)
         {
-            if (_profile == null)
-            {
-                if (Information.TryGetValue("http://tizen.org/feature/profile", out _profile) == false)
-                {
-                    _profile = string.Empty;
-                }
-            }
-
-            if (_profile != "mobile")
+            if (_isSupported == false)
             {
                 if (isNeedDisplay)
                 {
index bda94d821c7bad876336216c6522f5741a43ecad..9cdd68812a431bf245d59bacceada39772979809 100755 (executable)
@@ -64,7 +64,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests
         [Postcondition(1, "NA")]
         public static async Task ResultCallback_EVENT_TEST()
         {
-            if (AttachPanelUtils.Instance.CheckAPINotSupported(MethodBase.GetCurrentMethod().DeclaringType.FullName))
+            if (AttachPanelUtils.Instance.CheckAPINotSupported())
             {
                 await ManualTest.WaitForConfirm();
                 return;
@@ -97,7 +97,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests
         [Postcondition(1, "NA")]
         public static async Task EventChanged_EVENT_TEST()
         {
-            if (AttachPanelUtils.Instance.CheckAPINotSupported(MethodBase.GetCurrentMethod().DeclaringType.FullName))
+            if (AttachPanelUtils.Instance.CheckAPINotSupported())
             {
                 await ManualTest.WaitForConfirm();
                 return;
index 11fe7602c3f157cb31a61fc5a6e9494c12585eef..fae7eb2e081f6b7a6162d14efaaa9e42b2bdc9ad 100755 (executable)
@@ -59,7 +59,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests
         [Postcondition(1, "NA")]
         public static async Task ResultCallback_Category_TEST()
         {
-            if (AttachPanelUtils.Instance.CheckAPINotSupported(MethodBase.GetCurrentMethod().DeclaringType.FullName))
+            if (AttachPanelUtils.Instance.CheckAPINotSupported())
             {
                 await ManualTest.WaitForConfirm();
                 return;
@@ -90,7 +90,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests
         [Postcondition(1, "NA")]
         public static async Task ResultCallback_Result_TEST()
         {
-            if (AttachPanelUtils.Instance.CheckAPINotSupported(MethodBase.GetCurrentMethod().DeclaringType.FullName))
+            if (AttachPanelUtils.Instance.CheckAPINotSupported())
             {
                 await ManualTest.WaitForConfirm();
                 return;
@@ -121,7 +121,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests
         [Postcondition(1, "NA")]
         public static async Task ResultCallback_ResultCode_TEST()
         {
-            if (AttachPanelUtils.Instance.CheckAPINotSupported(MethodBase.GetCurrentMethod().DeclaringType.FullName))
+            if (AttachPanelUtils.Instance.CheckAPINotSupported())
             {
                 await ManualTest.WaitForConfirm();
                 return;
index 547988ca488a5674e2b1a1a9a7e9bf0cbe68f82b..75304f58b2fffe4df02181938347232542812b95 100755 (executable)
@@ -57,7 +57,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests
         [Postcondition(1, "NA")]
         public static async Task EventChanged_EventType_TEST()
         {
-            if (AttachPanelUtils.Instance.CheckAPINotSupported(MethodBase.GetCurrentMethod().DeclaringType.FullName))
+            if (AttachPanelUtils.Instance.CheckAPINotSupported())
             {
                 await ManualTest.WaitForConfirm();
                 return;
index fc9b39b93a2b75bf126b4e65223eb12788c50bae..e1d33d98c83d5442b2bfb26a05808b1f4383d8f7 100755 (executable)
@@ -30,8 +30,7 @@ namespace Tizen.Applications.AttachPanel.Tests
     {
         private static Conformant _conformant;
         private static AttachPanel _attachPanel;
-        private static string _profile = string.Empty;
-        private static bool _isSupport = false;
+        private static bool _isSupported = false;
 
         public AttachPanelTests()
         {
@@ -40,11 +39,9 @@ namespace Tizen.Applications.AttachPanel.Tests
             _conformant = new Conformant(AppWindow);
             _conformant.Show();
 
-            Information.TryGetValue("http://tizen.org/feature/profile", out _profile);
-
-            if (_profile == "mobile")
+            if (Information.TryGetValue<bool>("http://tizen.org/feature/attach_panel", out _isSupported) == false)
             {
-                _isSupport = true;
+                _isSupported = false;
             }
         }
 
@@ -60,7 +57,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         {
             LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
 
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -79,7 +76,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void AttachPanel_MAKE_INSTANCE_CONFORMANT()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -103,7 +100,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void AttachPanel_CHECK_INSTANCE_ALREADY_EXISTS_WITH_CONFORMANT()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -111,7 +108,7 @@ namespace Tizen.Applications.AttachPanel.Tests
 
             Assert.Throws<InvalidOperationException>(delegate
             {
-                AttachPanel failedAttachPanel = new AttachPanel(_conformant);
+                new AttachPanel(_conformant);
             }, "AttachPanel Object Instance should be only one!");
         }
 
@@ -125,7 +122,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void AttachPanel_CHECK_INSTANCE_ALREADY_EXISTS_WITH_EVAS_OBJECT()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -133,7 +130,7 @@ namespace Tizen.Applications.AttachPanel.Tests
 
             Assert.Throws<InvalidOperationException>(delegate
             {
-                AttachPanel failedAttachPanel = new AttachPanel((ElmSharp.EvasObject)_conformant);
+                new AttachPanel((ElmSharp.EvasObject)_conformant);
             }, "AttachPanel Object Instance should be only one!");
         }
 
@@ -146,7 +143,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void State_PROPERTY_GET()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -176,7 +173,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void Visible_PROPERTY_GET()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -198,7 +195,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void AddCategory_RETURN_TYPE()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -226,7 +223,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void AddCategory_RETURN_EXCEPTION()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -258,7 +255,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void AddCategory_RETURN_OUT_OF_RANGE_EXCEPTION()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -279,7 +276,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void RemoveCategory_RETURN_TYPE()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -306,7 +303,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void RemoveCategory_RETURN_NO_EXCEPTION()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -331,7 +328,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void RemoveCategory_RETURN_OUT_OF_RANGE_EXCEPTION()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -352,7 +349,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void SetExtraData_RETURN_TYPE()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -377,7 +374,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void SetExtraData_RETURN_EXCEPTION()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -398,7 +395,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void Show_RETURN_TYPE()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -424,7 +421,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void Hide_RETURN_TYPE()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -451,7 +448,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void Show_Without_Animation_RETURN_TYPE()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
@@ -477,7 +474,7 @@ namespace Tizen.Applications.AttachPanel.Tests
         [Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
         public static void Hide_Without_Animation_RETURN_TYPE()
         {
-            if (_isSupport == false)
+            if (_isSupported == false)
             {
                 LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "API is not supported in this profile.");
                 return;
index 701c62af772a218fa99a10b5f4c7689736c77711..a5df2940a80860c5b1a2019cebde0b873b0a9c4c 100755 (executable)
@@ -35,6 +35,9 @@ namespace BluetoothNetworkUtils
         public static void SetPrecondition()
         {
             string result = ReadFile("/opt/usr/home/owner/share/tct/preconfigure.json");
+            if (result == null)
+                return;
+
             int index = 0;
             string[] resultArray = StringParser(result);
             if (resultArray == null)
index ad286802b792259bdc3dc07cc86e11a353ad0ec2..0af2924c4cafa42931ef9a765b597f98c2c00f1b 100755 (executable)
@@ -196,9 +196,10 @@ namespace Tizen.Pims.Calendar.Tests
         {
             Log.Debug(Globals.LogTag, "CalendarFilter_CHECK_ArgumentException");
 
+            CalendarFilter filter = null;
             try
             {
-                CalendarFilter filter = new CalendarFilter(null, 0, 0, 0);
+                filter = new CalendarFilter(null, 0, 0, 0);
                 Assert.True(false, "should throw ArgumentException");
             }
             catch (NotSupportedException)
@@ -209,6 +210,10 @@ namespace Tizen.Pims.Calendar.Tests
             {
                 Assert.True(e.GetType().Equals(typeof(ArgumentException)), "CalendarFilter method should throw ArgumentException");
             }
+            finally
+            {
+                filter?.Dispose();
+            }
         }
 
         [Test]
index 2ea1710ba6b1fed50788a4a5a63e5f3b0a75ed2e..c128900d5a6cf842846da26f7a771331ce8a18ce 100755 (executable)
@@ -82,9 +82,10 @@ namespace Tizen.Pims.Calendar.Tests
         {
             Log.Debug(Globals.LogTag, "CalendarQuery_CHECK_ArgumentException");
 
+            CalendarQuery query = null;
             try
             {
-                CalendarQuery query = new CalendarQuery(null);
+                query = new CalendarQuery(null);
                 Assert.True(false, "should throw ArgumentException");
             }
             catch (NotSupportedException)
@@ -95,6 +96,10 @@ namespace Tizen.Pims.Calendar.Tests
             {
                 Assert.True(e.GetType().Equals(typeof(ArgumentException)), "CalendarQuery method should throw ArgumentException");
             }
+            finally
+            {
+                query?.Dispose();
+            }
         }
 
         [Test]
index 4386e4ea3f9f7f42dae741f24509c9a409c5f64f..0626b6eed1945a19fa6bec64324ecfb7021567c6 100755 (executable)
@@ -111,9 +111,10 @@ namespace Tizen.Pims.Calendar.Tests
         {
             Log.Debug(Globals.LogTag, "CalendarRecord_CHECK_ArgumentException");
 
+            CalendarRecord record = null;
             try
             {
-                CalendarRecord record = new CalendarRecord(null);
+                record = new CalendarRecord(null);
                 Assert.True(false, "should throw ArgumentException");
             }
             catch (NotSupportedException)
@@ -124,6 +125,10 @@ namespace Tizen.Pims.Calendar.Tests
             {
                 Assert.True(e.GetType().Equals(typeof(ArgumentException)), "CalendarRecord method should throw ArgumentException");
             }
+            finally
+            {
+                record?.Dispose();
+            }
         }
 
         [Test]
index 7195fdc9debd62e8cb6366b7f065e68a4614bf33..fc115071c2b2e0bd99096d30280b67a98ba05ddd 100755 (executable)
@@ -176,10 +176,11 @@ namespace Tizen.Pims.Calendar.Tests
             Assert.IsNotNull(db, "Failed to create db");
 
             list = db.GetAll(uri, offset, limit);
+            Assert.IsNotNull(list, "Failed to fetch");
             if (list.Count > 0)
                 db.Delete(list);
 
-            list?.Dispose();
+            list.Dispose();
             manager?.Dispose();
         }
 
index e9029563d8d221d79926b669ed230de99d70a357..cd3c1687c86d564c3f9bc757a2a64871e3fe6895 100755 (executable)
@@ -566,6 +566,7 @@ namespace Tizen.Pims.Calendar.Tests
             }
             finally
             {
+                record?.Dispose();
                 list?.Dispose();
             }
         }
index 68b2b3d19542bb966b031bd50a6bc84c2052e38c..a0c139bba910a79990bc4e44b41e11bf00b6857b 100755 (executable)
@@ -187,9 +187,10 @@ namespace Tizen.Pims.Contacts.Tests {
         [Property("COVPARAM", "string, Uint, bool")]
         public static void ContactsFilter_CHECK_ArgumentException()
         {
+            ContactsFilter filter = null;
             try
             {
-                ContactsFilter filter = new ContactsFilter(null, 0, 0, 0);
+                filter = new ContactsFilter(null, 0, 0, 0);
                 Assert.True(false, "should throw ArgumentException");
             }
             catch (NotSupportedException)
@@ -200,6 +201,10 @@ namespace Tizen.Pims.Contacts.Tests {
             {
                 Assert.True(e.GetType().Equals(typeof(ArgumentException)), "ContactsFilter method should throw ArgumentException");
             }
+            finally
+            {
+                filter?.Dispose();
+            }
         }
 
         [Test]
index fe768b49283959672d1c3a8ae873cb98ad63902c..9df50f141d6af26d0405089dd61ba1546b4d0202 100755 (executable)
@@ -81,9 +81,10 @@ namespace Tizen.Pims.Contacts.Tests {
         [Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
         public static void ContactsQuery_CHECK_ArgumentException()
         {
+            ContactsQuery query = null;
             try
             {
-                ContactsQuery query = new ContactsQuery(null);
+                query = new ContactsQuery(null);
                 Assert.True(false, "should throw ArgumentException");
             }
             catch (NotSupportedException)
@@ -94,6 +95,10 @@ namespace Tizen.Pims.Contacts.Tests {
             {
                 Assert.True(e.GetType().Equals(typeof(ArgumentException)), "ContactsQuery method should throw ArgumentException");
             }
+            finally
+            {
+                query?.Dispose();
+            }
         }
 
         [Test]
index ce29d6105f0a6f8faf27e8dfd007ef29f545f868..9547d6cda1dd827d03f13095f02d6af24453e7e6 100755 (executable)
@@ -106,9 +106,11 @@ namespace Tizen.Pims.Contacts.Tests {
         [Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
         public static void ContactsRecord_CHECK_ArgumentException()
         {
+
+            ContactsRecord record = null;
             try
             {
-                ContactsRecord record = new ContactsRecord(null);
+                record = new ContactsRecord(null);
                 Assert.True(false, "should throw ArgumentException");
             }
             catch (NotSupportedException)
@@ -119,6 +121,10 @@ namespace Tizen.Pims.Contacts.Tests {
             {
                 Assert.True(e.GetType().Equals(typeof(ArgumentException)), "ContactsRecord method should throw ArgumentException");
             }
+            finally
+            {
+                record?.Dispose();
+            }
         }
 
         [Test]
index 871bea8c69f3138f3319357c827479c3b9d47623..11c125d5bd8b8e7def4022abde5530078b2b18af 100755 (executable)
@@ -80,12 +80,7 @@ namespace ElmSharp.Tests
         [Postcondition(1, "NA")]
         public static async Task OnInvalidate_Check()
         {
-            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0)
-            {
-                _testPage.UnlockUIButton();
-                Assert.Pass("Not Supported");
-            }
-            else
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
             {
                 _navi = new Naviframe(_window)
                 {
@@ -120,8 +115,12 @@ namespace ElmSharp.Tests
                 var niviframe = _testPage.getNavigationPage();
                 if (niviframe != null)
                     niviframe.Pop();
-
+            }
+            else
+            {
+                _testPage.UnlockUIButton();
+                Assert.Pass("Not Supported");
             }
         }
     }
-}
\ No newline at end of file
+}
index 696e50bc3be726d8818ca9d043956b3b704df1b1..f09b197605a279b97da95e4b18dc4c4b530a25fe 100755 (executable)
@@ -60,12 +60,13 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public void Subject_PROPERTY_READ_WRITE()
         {
+            EmailMessage message = null;
             try
             {
                 /** PRECONDITION
                  * 1. Create EmailMessage
                  */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 string subject = "CSAPI_SUBJECT";
 
@@ -83,6 +84,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
 
         [Test]
@@ -94,12 +99,13 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public void Body_PROPERTY_READ_WRITE()
         {
+            EmailMessage message = null;
             try
             {
                 /** PRECONDITION
                  * 1. Create EmailMessage
                  */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 string body = "CSAPI_BODY";
 
@@ -118,6 +124,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
 
         [Test]
@@ -129,13 +139,14 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public void To_PROPERTY_READ_WRITE()
         {
+            EmailMessage message = null;
             try
             {
                 /** PRECONDITION
                  * 1. Create EmailMessage
                  * 2. Create EmailRecipient
                  */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 EmailRecipient recipient = new EmailRecipient();
                 Assert.IsNotNull(recipient, "Failed to create recipient instance");
@@ -158,6 +169,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
         [Test]
         [Category("P1")]
@@ -168,13 +183,14 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public void Cc_PROPERTY_READ_WRITE()
         {
+            EmailMessage message = null;
             try
             {
                 /** PRECONDITION
                  * 1. Create EmailMessage
                  * 2. Create EmailRecipient
                  */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 EmailRecipient recipient = new EmailRecipient();
                 Assert.IsNotNull(recipient, "Failed to create recipient instance");
@@ -197,6 +213,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
         [Test]
         [Category("P1")]
@@ -207,13 +227,14 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public void Bcc_PROPERTY_READ_WRITE()
         {
+            EmailMessage message = null;
             try
             {
                 /** PRECONDITION
                  * 1. Create EmailMessage
                  * 2. Create EmailRecipient
                  */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 EmailRecipient recipient = new EmailRecipient();
                 Assert.IsNotNull(recipient, "Failed to create recipient instance");
@@ -236,6 +257,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
 
         [Test]
@@ -247,13 +272,14 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public void Attachments_PROPERTY_READ_WRITE()
         {
+            EmailMessage message = null;
             try
             {
                 /** PRECONDITION
                  * 1. Create EmailMessage
                  * 2. Create EmailAttachment
                  */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 EmailAttachment attachment = new EmailAttachment();
                 Assert.IsNotNull(attachment, "Failed to create recipient instance");
@@ -276,6 +302,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
 
 
@@ -288,10 +318,11 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public void EmailMessage_INIT()
         {
+            EmailMessage message = null;
             try
             {
               /* TEST CODE */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 Assert.IsInstanceOf<EmailMessage>(message);
                 string subject = "CSAPI_SUBJECT";
@@ -308,6 +339,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
 
 
index 17babb73ac73e8a3f58a6d360409a84c5f8d92c3..8b6627c9ca34af9250b7bb862d8e0614907c0d0c 100755 (executable)
@@ -59,13 +59,14 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public async Task SendAsync_CHECK_RESULT()
         {
+            EmailMessage message = null;
             try
             {
                 /** PRECONDITION
                  * 1. Create Account
                  * 2. Set User Text
                  */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 EmailRecipient recipient = new EmailRecipient();
                 Assert.IsNotNull(recipient, "Failed to create recipient instance");
@@ -90,6 +91,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
 
         [Test]
@@ -101,13 +106,14 @@ namespace Tizen.Messaging.Email.Tests
         [Property("AUTHOR", "Intae Jeon, intae.jeon@samsung.com")]
         public async Task SendAsync_CHECK_INVALID_ARGUMENT()
         {
+            EmailMessage message = null;
             try
             {
                 /** PRECONDITION
                  * 1. Create Account
                  * 2. Set User Text
                  */
-                EmailMessage message = new EmailMessage();
+                message = new EmailMessage();
                 Assert.IsNotNull(message, "Failed to create message instance");
                 EmailRecipient recipient = new EmailRecipient();
                 Assert.IsNotNull(recipient, "Failed to create recipient instance");
@@ -132,6 +138,10 @@ namespace Tizen.Messaging.Email.Tests
             {
                 Assert.Fail(e.Message);
             }
+            finally
+            {
+                message.Dispose();
+            }
         }
 
 
index 68f7ba5308657d7682967f1b7000207832eb3db1..7a4944ab428581c6466f2cfb0ba269689b29fcb5 100755 (executable)
@@ -15,6 +15,7 @@
 */
 
 using NUnit.Framework.TUnit;
+using NUnit.Framework;
 using System;
 using System.IO;
 
@@ -29,6 +30,8 @@ namespace Tizen.Messaging.Messages.Tests
             string result = ReadFile("/opt/usr/home/owner/share/tct/preconfigure.json");
             int index = 0;
             string[] resultArray = StringParser(result);
+
+            Assert.Greater(resultArray?.Length, 0, "resultArray can not be null");
             foreach (string item in resultArray)
             {
                 switch (item)
@@ -51,9 +54,10 @@ namespace Tizen.Messaging.Messages.Tests
             string result = null;
             string url = path;
 
+            StreamReader reader = null;
             try
             {
-                StreamReader reader = File.OpenText(path);
+                reader = File.OpenText(path);
                 result = reader.ReadToEnd();
             }
             catch (Exception e)
@@ -61,6 +65,7 @@ namespace Tizen.Messaging.Messages.Tests
                 LogUtils.Write(LogUtils.ERROR, LogUtils.TAG, "File read error : " + e.Message);
             }
 
+            reader?.Dispose();
             return result;
         }
         private static string[] StringParser(string TCID)
index 2ffdc9014612467ec734c430feda9f2501136a3a..27ff795c259520c93ebefb4368dc55599ac59065 100755 (executable)
@@ -45,6 +45,7 @@ namespace Tizen.Uix.Stt.Tests
                  */
                 SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:PreviousLanguage_Value");
                 obj = new SttWrapper();
+                Assert.IsNotNull(obj, "The object should not be Null");
                 if (obj.IsAvailable)
                 {
                     SttUiHelper.DisplayLabel("Can not test on TV / Wearable profiles.\nPlease mark pass on TV / Wearable profiles.\n(Impossible to change the language during the test on TV / Wearable profiles)");
@@ -115,6 +116,7 @@ namespace Tizen.Uix.Stt.Tests
                  */
                 SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:Current_Value");
                 obj = new SttWrapper();
+                Assert.IsNotNull(obj, "The object should not be Null");
                 if (obj.IsAvailable)
                 {
                     SttUiHelper.DisplayLabel("Can not test on TV / Wearable profiles.\nPlease mark pass on TV / Wearable profiles.\n(Impossible to change the language during the test on TV / Wearable profiles)");
index 3d6e46187d7331d3be638e2a5386723bdea631d1..1f8f67a6d3ef2ef66622e318de998644af420015 100755 (executable)
@@ -34,12 +34,6 @@ namespace Tizen.Uix.Stt.Tests
 
         internal static string GetBasePath()
         {
-            if (BaseFolderPath == null)
-            {
-                Applications.ApplicationInfo info = new Applications.ApplicationInfo(AppId);
-                BaseFolderPath = info.SharedDataPath;
-                PrintLog(Type.DLogAndlogUtil, "BaseFolderPath:"+ BaseFolderPath);
-            }
             return BaseFolderPath;
         }
     }
index 104590a4a8c199b940542b7b7ab5dd12823ef487..8551a72208bb15212c5758bc70d15a8d11214705 100755 (executable)
@@ -57,6 +57,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -119,6 +123,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
index fdb22404c31ab95be7577a19898a820c8368468b..a946764202194e9c50c873448ec9801d42c6b413 100755 (executable)
@@ -60,6 +60,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -108,6 +112,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -157,6 +165,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -208,6 +220,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -271,6 +287,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -339,6 +359,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -394,6 +418,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -442,6 +470,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             /*
              * TEST CODE
@@ -482,6 +514,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -537,6 +573,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -590,6 +630,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -644,6 +688,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -698,6 +746,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -750,6 +802,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -803,6 +859,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -868,6 +928,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -939,6 +1003,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1000,6 +1068,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1076,6 +1148,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1156,6 +1232,10 @@ namespace Tizen.Uix.Stt.Tests
                         return;
                     }
                 }
+                finally
+                {
+                    Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+                }
 
                 obj.DoPrepare();
                 await obj.WaitFlagCond(FlagType.SttStateChanged, 15, Stt.State.Ready);
@@ -1210,6 +1290,10 @@ namespace Tizen.Uix.Stt.Tests
                         return;
                     }
                 }
+                finally
+                {
+                    Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+                }
 
                 obj.DoPrepare();
                 await obj.WaitFlagCond(FlagType.SttStateChanged, 15, Stt.State.Ready);
@@ -1278,6 +1362,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1353,6 +1441,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1426,6 +1518,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1503,6 +1599,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1550,6 +1650,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1628,6 +1732,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1674,6 +1782,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1751,6 +1863,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1798,6 +1914,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1873,6 +1993,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1917,6 +2041,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -1970,6 +2098,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -2045,6 +2177,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -2117,6 +2253,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
@@ -2189,6 +2329,10 @@ namespace Tizen.Uix.Stt.Tests
                     return;
                 }
             }
+            finally
+            {
+                Assert.IsNotNull(obj, "Failed to create SttWrapper instance");
+            }
 
             try
             {
index f7a413bbc71e12d5d9322fe82c80a689dce7768e..fca74479267a559b5ed90362b5111dbe1805d34f 100755 (executable)
@@ -38,15 +38,18 @@ namespace Tizen.Uix.Stt.Tests
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         public static void EngineId_READ_ONLY()
         {
+            SttWrapper inst = null;
             try
             {
                 /*
                  * PRECONDITION
                  * 1. Ensure Wifi or Data Network is Present
                  */
-                Tizen.Uix.Stt.SttClient inst = new Tizen.Uix.Stt.SttClient();
+                inst = new SttWrapper();
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+
                 SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:EngineId_READ_ONLY");
-                List<SupportedEngine> list = (List<SupportedEngine>)inst.GetSupportedEngines();
+                List<SupportedEngine> list = (List<SupportedEngine>)inst.SttInst.GetSupportedEngines();
                 Assert.IsNotNull(list, "Object is Null");
                 Assert.IsInstanceOf<List<SupportedEngine>>(list, "Object is not of correct type");
                 Assert.IsTrue(list.Count > 0, "Value is not proper");
@@ -88,15 +91,18 @@ namespace Tizen.Uix.Stt.Tests
         [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
         public static void EngineName_READ_ONLY()
         {
+            SttWrapper inst = null;
             try
             {
                 /*
                  * PRECONDITION
                  * 1. Ensure Wifi or Data Network is Present
                  */
-                Tizen.Uix.Stt.SttClient inst = new Tizen.Uix.Stt.SttClient();
+                inst = new SttWrapper();
+                Assert.IsNotNull(inst, "Failed to create SttWrapper instance");
+
                 SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:EngineName_READ_ONLY");
-                List<SupportedEngine> list = (List<SupportedEngine>)inst.GetSupportedEngines();
+                List<SupportedEngine> list = (List<SupportedEngine>)inst.SttInst.GetSupportedEngines();
                 Assert.IsNotNull(list, "Object is Null");
                 Assert.IsInstanceOf<List<SupportedEngine>>(list, "Object is not of correct type");
                 Assert.IsTrue(list.Count > 0, "Value is not proper");