From 18e007c96a197579c604607edb28135970d26c6d Mon Sep 17 00:00:00 2001 From: Xianbing Teng Date: Tue, 9 Apr 2024 15:21:13 +0800 Subject: [PATCH] [NUI] Fix build errors of Tizen.NUI.Components.Devel.Tests --- .../Tizen.NUI.Components.Devel.Tests.csproj | 6 ++-- .../Controls/RecyclerView/TSCollectionView.cs | 10 +++---- .../testcase/Controls/TSButton.Internal.cs | 30 ------------------- .../testcase/Extension/TSLottieButtonExtension.cs | 18 +++++------- .../testcase/Extension/TSLottieSwitchExtension.cs | 10 +++---- .../testcase/Extension/TSSwitchExtension.cs | 34 +++++++++++++++------- .../PreloadStyle/TSOverlayAnimationButtonStyle.cs | 18 +++++------- .../tizen-manifest.xml | 4 +-- .../nunit.framework/nunit.framework.csproj | 7 ++--- test/Tizen.NUI.Tests/nunitlite/nunitlite.csproj | 2 +- 10 files changed, 57 insertions(+), 82 deletions(-) diff --git a/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/Tizen.NUI.Components.Devel.Tests.csproj b/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/Tizen.NUI.Components.Devel.Tests.csproj index 0860494..d8f6ad9 100755 --- a/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/Tizen.NUI.Components.Devel.Tests.csproj +++ b/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/Tizen.NUI.Components.Devel.Tests.csproj @@ -3,7 +3,8 @@ Exe - netcoreapp3.1 + net6.0-tizen8.0 + True Tizen @@ -25,10 +26,9 @@ - + Runtime - diff --git a/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/RecyclerView/TSCollectionView.cs b/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/RecyclerView/TSCollectionView.cs index 49d49e7..321045a 100755 --- a/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/RecyclerView/TSCollectionView.cs +++ b/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/RecyclerView/TSCollectionView.cs @@ -579,13 +579,13 @@ namespace Tizen.NUI.Components.Devel.Tests [Test] [Category("P1")] - [Description("CollectionView InternalItemSource.")] - [Property("SPEC", "Tizen.NUI.Components.CollectionView.InternalItemSource A")] + [Description("CollectionView InternalSource.")] + [Property("SPEC", "Tizen.NUI.Components.CollectionView.InternalSource A")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "PRW")] [Property("COVPARAM", "")] [Property("AUTHOR", "huayong.xu@samsung.com")] - public void CollectionViewInternalItemSource() + public void CollectionViewInternalSource() { tlog.Debug(tag, $"CollectionViewInternalItemSource START"); @@ -595,8 +595,8 @@ namespace Tizen.NUI.Components.Devel.Tests Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf(testingTarget, "should be an instance of testing target class!"); - testingTarget.InternalItemSource = null; - Assert.IsNull(testingTarget.InternalItemSource, "should be null."); + testingTarget.InternalSource = null; + Assert.IsNull(testingTarget.InternalSource, "should be null."); testingTarget.Dispose(); tlog.Debug(tag, $"CollectionViewInternalItemSource END (OK)"); diff --git a/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/TSButton.Internal.cs b/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/TSButton.Internal.cs index 6fe4af3..6ad4a9c 100755 --- a/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/TSButton.Internal.cs +++ b/test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/TSButton.Internal.cs @@ -110,36 +110,6 @@ namespace Tizen.NUI.Components.Devel.Tests [Test] [Category("P1")] - [Description("Button OnAccessibilityActivated.")] - [Property("SPEC", "Tizen.NUI.Components.Button.OnAccessibilityActivated M")] - [Property("SPEC_URL", "-")] - [Property("CRITERIA", "MR")] - [Property("COVPARAM", "")] - [Property("AUTHOR", "guowei.wang@samsung.com")] - public void ButtonOnAccessibilityActivated() - { - tlog.Debug(tag, $"ButtonOnAccessibilityActivated START"); - - var testingTarget = new Button(); - Assert.IsNotNull(testingTarget, "null handle"); - Assert.IsInstanceOf