From f60a602c02da1463ed28a0e6ac53ec212d4ac7e0 Mon Sep 17 00:00:00 2001 From: SangYoun Kwak Date: Wed, 22 May 2024 16:46:56 +0900 Subject: [PATCH] Tizen.System.Manual.Tests: Remove assertion from sdcard test Previously, there was an assert test for the precondition: sd card should be detached before the test. But it can be tested when sd card is inserted so this assertion is removed. Also, following description(Precondition) was removed. Change-Id: I72d9a964ec965af805f0b953b128921afc551f56 Signed-off-by: SangYoun Kwak --- .../Tizen.System.Manual.Tests/testcase/TSStorageManager.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tct-suite-vs/Tizen.System.Manual.Tests/testcase/TSStorageManager.cs b/tct-suite-vs/Tizen.System.Manual.Tests/testcase/TSStorageManager.cs index 78ccdf3..628e4df 100644 --- a/tct-suite-vs/Tizen.System.Manual.Tests/testcase/TSStorageManager.cs +++ b/tct-suite-vs/Tizen.System.Manual.Tests/testcase/TSStorageManager.cs @@ -39,8 +39,7 @@ namespace Tizen.System.Manual.Tests.testcase [Property("AUTHOR", "Hyotaek Shim, hyotaek.shim@samsung.com")] [Precondition(1, "[Target] (Caution) Reformat the external storage device as VFAT before testing.")] [Precondition(2, "[Target] (Caution) Do not use any auxiliary USB adapters including USB hubs or SD card readers.")] - [Precondition(3, "[Target] Remove all types of the external storage drives such as USB memory sticks and SD cards.")] - [Precondition(4, "[Emulator] Detach the SD card. The menu is here in Control Panel > SD Card > Click \"Detach\".")] + [Precondition(3, "[Emulator] Detach the SD card. The menu is here in Control Panel > SD Card > Click \"Detach\".")] [Step(1, "Click run TC")] [Step(2, "[Target] Insert a USB memory stick, or insert an SD card into the built-in SD card slot.")] [Step(3, "[Emulator] Attach the SD card. The menu is here in Control Panel > SD Card > Click \"Attach\".")] @@ -52,8 +51,6 @@ namespace Tizen.System.Manual.Tests.testcase if (support) { - Assert.IsEmpty(storages, "SD Card is inserted already"); - // TEST CODE bool unmountableStateAchieved = false; @@ -91,8 +88,7 @@ namespace Tizen.System.Manual.Tests.testcase [Property("AUTHOR", "Hyotaek Shim, hyotaek.shim@samsung.com")] [Precondition(1, "[Target] (Caution) Reformat the external storage device as VFAT before testing.")] [Precondition(2, "[Target] (Caution) Do not use any auxiliary USB adapters including USB hubs or SD card readers.")] - [Precondition(3, "[Target] Remove all types of the external storage drives such as USB memory sticks and SD cards.")] - [Precondition(4, "[Emulator] Detach the SD card. The menu is here in Control Panel > SD Card > Click \"Detach\".")] + [Precondition(3, "[Emulator] Detach the SD card. The menu is here in Control Panel > SD Card > Click \"Detach\".")] [Step(1, "Click run TC")] [Step(2, "[Target] Insert a USB memory stick, or insert an SD card into the built-in SD card slot.")] [Step(3, "[Emulator] Attach the SD card. The menu is here in Control Panel > SD Card > Click \"Attach\".")] @@ -104,8 +100,6 @@ namespace Tizen.System.Manual.Tests.testcase if (support) { - Assert.IsEmpty(storages, "SD Card is inserted already"); - // TEST CODE bool unmountableStateAchieved = false; -- 2.7.4