From 3df0a994cdcb985cf712dfe0a908ae0b662aad2f Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Mon, 2 Mar 2020 17:08:09 +0900 Subject: [PATCH] [Bluetooth][Non-ACR] Modify TC name and remove unused TC Change-Id: I261f02cb849c92818863bbb56a866dfcd608c076 --- .../testcase/TSBluetoothAdapter.cs | 52 +--------------------- 1 file changed, 2 insertions(+), 50 deletions(-) mode change 100755 => 100644 tct-suite-vs/Tizen.Bluetooth.Manual.Tests/testcase/TSBluetoothAdapter.cs 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 { -- 2.7.4