[Bluetooth][Non-ACR] Modify TC name and remove unused TC 91/226391/2
authorWootak Jung <wootak.jung@samsung.com>
Mon, 2 Mar 2020 08:08:09 +0000 (17:08 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 3 Mar 2020 01:47:02 +0000 (10:47 +0900)
Change-Id: I261f02cb849c92818863bbb56a866dfcd608c076

tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/TSBluetoothAdapter.cs [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 5a02049..72f6d97
@@ -95,54 +95,6 @@ namespace Tizen.Network.Bluetooth.Tests
 
 //        [Test]
         [Category("P1")]
-        [Description("Test Visibility property of BtAdapter")]
-        [Property("SPEC", "Tizen.Network.Bluetooth.BluetoothAdapter.Visibility A")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "PRO")]
-        [Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
-        [Precondition(1, "Turn on the bluetooth")]
-        [Step(1, "Tap the Run button")]
-        [Step(2, "Go to Bluetooth in Settings and change Visibility timeout value")]
-        [Step(3, "Check if the log shows proper current visibility mode according to the value which is set in the settings")]
-        [Postcondition(1, "Go to Bluetooth in Settings and set Visibility timeout to Always on")]
-        public static async Task Visibility_READ_ONLY()
-        {
-            try
-            {
-                //PRECONDITION
-                BluetoothAdapter.VisibilityModeChanged += VisibilityModeChangedEvent;
-
-                BluetoothHelper.LaunchVisiblityAppControl("10");
-
-                await ManualTest.WaitForConfirm();
-
-                //POSTCONDITION
-                BluetoothAdapter.VisibilityModeChanged -= VisibilityModeChangedEvent;
-            }
-            catch (NotSupportedException)
-            {
-                if (isBluetoothSupported == false)
-                {
-                    BluetoothHelper.DisplayLabel("Visibility_READ_ONLY");
-                    await ManualTest.WaitForConfirm();
-                }
-            }
-            catch (TypeInitializationException e)
-            {
-                if (isBluetoothSupported == false && e.InnerException.GetType() == typeof(NotSupportedException))
-                               {
-                    BluetoothHelper.DisplayLabel("Visibility_READ_ONLY");
-                    await ManualTest.WaitForConfirm();
-                }
-            }
-            catch (Exception ex)
-            {
-                Assert.True(false, "Exception occurs. Msg : " + ex.ToString());
-            }
-        }
-
-//        [Test]
-        [Category("P1")]
         [Description("Test RemainingTimeAsVisible property of BtAdapter")]
         [Property("SPEC", "Tizen.Network.Bluetooth.BluetoothAdapter.RemainingTimeAsVisible A")]
         [Property("SPEC_URL", "-")]
@@ -417,14 +369,14 @@ namespace Tizen.Network.Bluetooth.Tests
         [Test]
         [Category("P1")]
         [Description("Reads VisibilityMode value of BtAdapter")]
-        [Property("SPEC", "Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityMode A")]
+        [Property("SPEC", "Tizen.Network.Bluetooth.BluetoothAdapter.Visibility A")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "PRO")]
         [Property("AUTHOR", "Sandeep H, h.sandeep@samsung.com")]
         [Precondition(1, "Turn on the bluetooth")]
         [Step(1, "Tap the Run button")]
         [Postcondition(1, "NA")]
-        public static void VisibilityMode_READ_ONLY()
+        public static void Visibility_READ_ONLY()
         {
             try
             {