From 48c63e40a46ad3bc9654818176e8fd7e7afd07dd Mon Sep 17 00:00:00 2001 From: Jeonghyun Yun Date: Wed, 7 Aug 2019 16:41:50 +0900 Subject: [PATCH] [ElmsharpWearable][Non-ACR]Remove test for notsupported API Marker is not supported latest emulator and watch devices(Tizen 4.0 and Tizen 5.5). Therefore Marker related APIs were deprecated. (https://github.com/Samsung/TizenFX/pull/734 ) related jira issue : http://suprem.sec.samsung.net/jira/browse/TNEXT-18074 Change-Id: Ibc68b3b38caf54440e54ad9bb29515e10671b575 --- .../testcase/TSCircleDatetimeSelector.cs | 43 +--------------------- .../testcase/TSCircleSpinner.cs | 43 +--------------------- 2 files changed, 4 insertions(+), 82 deletions(-) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleDatetimeSelector.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleDatetimeSelector.cs index be22ff9..3db227f 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleDatetimeSelector.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleDatetimeSelector.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -83,45 +83,6 @@ namespace ElmSharp.Wearable.Tests [Test] [Category("P1")] - [Description("Check whether MarkerColor is readable and writable")] - [Property("SPEC", "ElmSharp.Wearable.CircleDateTimeSelector.MarkerColor A")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "PRW")] - [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")] - public void MarkerColor_PROPERTY_SET_GET() - { - _circleDatetimeSelector.MarkerColor = Color.Blue; - Assert.AreEqual(Color.Blue, _circleDatetimeSelector.MarkerColor, "Retrieved MarkerColor should be equal to set value"); - } - - [Test] - [Category("P1")] - [Description("Check whether MarkerLineWidth is readable and writable")] - [Property("SPEC", "ElmSharp.Wearable.CircleDateTimeSelector.MarkerLineWidth A")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "PRW")] - [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")] - public void MarkerLineWidth_PROPERTY_SET_GET() - { - _circleDatetimeSelector.MarkerLineWidth = 1; - Assert.AreEqual(1, _circleDatetimeSelector.MarkerLineWidth, "Retrieved MarkerLineWidth should be equal to set value"); - } - - [Test] - [Category("P1")] - [Description("Check whether MarkerRadius is readable and writable")] - [Property("SPEC", "ElmSharp.Wearable.CircleDateTimeSelector.MarkerRadius A")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "PRW")] - [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")] - public void MarkerRadius_PROPERTY_SET_GET() - { - _circleDatetimeSelector.MarkerRadius = 1.0; - Assert.AreEqual(1.0, _circleDatetimeSelector.MarkerRadius, "Retrieved MarkerRadius should be equal to set value"); - } - - [Test] - [Category("P1")] [Description("Check whether getting CircleHandle is not null")] [Property("SPEC", "ElmSharp.Wearable.CircleDateTimeSelector.CircleHandle A")] [Property("SPEC_URL", "-")] @@ -159,4 +120,4 @@ namespace ElmSharp.Wearable.Tests Assert.AreEqual(_circleSurface, _circleDatetimeSelector.CircleSurface, "Retrieved CircleSurface should be equal to set value"); } } -} \ No newline at end of file +} diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSpinner.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSpinner.cs index 9f6191b..d7606f4 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSpinner.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSpinner.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -97,45 +97,6 @@ namespace ElmSharp.Wearable.Tests [Test] [Category("P1")] - [Description("Check whether MarkerLineWidth is readable and writable")] - [Property("SPEC", "ElmSharp.Wearable.CircleSpinner.MarkerLineWidth A")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "PRW")] - [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")] - public void MarkerLineWidth_PROPERTY_SET_GET() - { - _circleSpinner.MarkerLineWidth = 1; - Assert.AreEqual(1, _circleSpinner.MarkerLineWidth, "Retrieved MarkerLineWidth should be equal to set value"); - } - - [Test] - [Category("P1")] - [Description("Check whether MarkerColor is readable and writable")] - [Property("SPEC", "ElmSharp.Wearable.CircleSpinner.MarkerColor A")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "PRW")] - [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")] - public void MarkerColor_PROPERTY_SET_GET() - { - _circleSpinner.MarkerColor = Color.Black; - Assert.AreEqual(Color.Black, _circleSpinner.MarkerColor, "Retrieved MarkerColor should be equal to set value"); - } - - [Test] - [Category("P1")] - [Description("Check whether MarkerRadius is readable and writable")] - [Property("SPEC", "ElmSharp.Wearable.CircleSpinner.MarkerRadius A")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "PRW")] - [Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")] - public void MarkerRadius_PROPERTY_SET_GET() - { - _circleSpinner.MarkerRadius = 1.0; - Assert.AreEqual(1.0, _circleSpinner.MarkerRadius, "Retrieved MarkerRadius should be equal to set value"); - } - - [Test] - [Category("P1")] [Description("Check whether getting CircleHandle is not null")] [Property("SPEC", "ElmSharp.Wearable.CircleSpinner.CircleHandle A")] [Property("SPEC_URL", "-")] @@ -173,4 +134,4 @@ namespace ElmSharp.Wearable.Tests Assert.AreEqual(_circleSurface, _circleSpinner.CircleSurface, "Retrieved CircleSurface should be equal to set value"); } } -} \ No newline at end of file +} -- 2.7.4