From: Wootak Jung Date: Mon, 2 Mar 2020 08:08:09 +0000 (+0900) Subject: [Bluetooth][Non-ACR] Modify TC name and remove unused TC X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F226391%2F2;p=test%2Ftct%2Fcsharp%2Fapi.git [Bluetooth][Non-ACR] Modify TC name and remove unused TC Change-Id: I261f02cb849c92818863bbb56a866dfcd608c076 --- diff --git a/tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/TSBluetoothAdapter.cs b/tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/TSBluetoothAdapter.cs old mode 100755 new mode 100644 index 5a02049..72f6d97 --- a/tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/TSBluetoothAdapter.cs +++ b/tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/TSBluetoothAdapter.cs @@ -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 {