From b96a4e99596e9855461e96143d2e7e544c47bec5 Mon Sep 17 00:00:00 2001 From: seungho Date: Thu, 5 Nov 2020 18:07:58 +0900 Subject: [PATCH] [NUI][Non-ACR] fix scrollableBase TC - Layout.SetPositionByLayout is not public property - ScrollableBase requires to set size to be scrolled. Change-Id: I8b439bb86dc36036f9038a1fce03e130e242f577 Signed-off-by: seungho --- tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSScrollableBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSScrollableBase.cs b/tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSScrollableBase.cs index 09ab3fc..3a085d8 100755 --- a/tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSScrollableBase.cs +++ b/tct-suite-vs/Tizen.NUI.Components.Tests/testcase/TSScrollableBase.cs @@ -334,7 +334,6 @@ namespace Tizen.NUI.Components.Tests Assert.IsNotNull(scrollable.Layout.Owner, "Should be not null"); Assert.IsNotNull(scrollable.Layout.SuggestedMinimumWidth, "Should be not null"); Assert.IsNotNull(scrollable.Layout.SuggestedMinimumHeight, "Should be not null"); - Assert.AreEqual(false, scrollable.Layout.SetPositionByLayout, "Should be equals to the default value"); Assert.AreEqual(false, scrollable.Layout.LayoutWithTransition, "Should be equals to the default value"); } @@ -461,6 +460,7 @@ namespace Tizen.NUI.Components.Tests var scrollable = new Components.ScrollableBase(); Assert.IsNotNull(scrollable, "Should be not null"); Assert.IsInstanceOf(scrollable, "Should be equal!"); + scrollable.Size = new Size(100, 100); scrollable.Add(new View(){ WidthSpecification = LayoutParamPolicies.MatchParent, HeightSpecification = 800, -- 2.7.4