[NUI][Non-ACR] Fix TBT failed and build error 91/221291/5
authorzhangzg <zg84.zhang@samsung.com>
Tue, 31 Dec 2019 02:17:57 +0000 (11:17 +0900)
committerzhangzg <zg84.zhang@samsung.com>
Fri, 3 Jan 2020 06:46:22 +0000 (15:46 +0900)
Change-Id: Ifb9bfea5f21e0a0a315fc8a3928f637db635400d

tct-suite-vs/Tizen.NUI.Components.Manual.Tests/Tizen.NUI.Components.Manual.Tests.csproj [changed mode: 0755->0644]
tct-suite-vs/Tizen.NUI.Components.Manual.Tests/testcase/TSPopup.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.NUI.Components.Manual.Tests/testcase/TSSlider.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.NUI.Components.Manual.Tests/testcase/TSSwitch.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 39cfd4b..b250c27
@@ -78,10 +78,6 @@ namespace Tizen.NUI.Components.Tests
             _popup.TitleText = "Popup Title";
 
             _popup.BackgroundImage = _resourcePath + "/images/popup_background.png";
-            _popup.BackgroundBorder = new Rectangle(0, 0, 81, 81);
-
-            _popup.ButtonBackgroundImageURL = _resourcePath + "/images/rectangle_btn_normal.png";
-            _popup.ButtonBackgroundImageBorder = new Rectangle(5, 5, 5, 5);
             _popup.ButtonOverLayBackgroundColorSelector = new ColorSelector
             {
                 Normal = new Color(1.0f, 1.0f, 1.0f, 1.0f),
@@ -90,7 +86,6 @@ namespace Tizen.NUI.Components.Tests
             };
             _popup.ButtonTextColor = new Color(0.05f, 0.63f, 0.9f, 1);
             _popup.ButtonHeight = 132;
-            _popup.ButtonCount = 2;
             _popup.SetButtonText(0, "Yes");
             _popup.SetButtonText(1, "Exit");
 
old mode 100755 (executable)
new mode 100644 (file)
index 625374c..45b375c
@@ -67,13 +67,13 @@ namespace Tizen.NUI.Components.Tests
             Assert.IsNotNull(_switch, "Should be not null");
             Assert.IsInstanceOf<Components.Switch>(_switch, "Should be equal!");
             _switch.Size2D = new Size2D(96, 60);
-            _switch.SwitchHandlerImageSize = new Size(60, 60);
-            _switch.SwitchBackgroundImageURLSelector = new StringSelector
+            _switch.Style.Thumb.Size = new Size(60, 60);
+            _switch.Style.Track.ResourceUrl = new Selector<string>
             {
                 Normal = _resourcePath + "/images/controller_switch_bg_off.png",
                 Selected = _resourcePath + "/images/controller_switch_bg_on.png",
             };
-            _switch.SwitchHandlerImageURLSelector = new StringSelector
+            _switch.Style.Thumb.ResourceUrl = new Selector<string>
             {
                 Normal = _resourcePath + "/images/controller_switch_handler.png",
                 Selected = _resourcePath + "/images/controller_switch_handler.png",
old mode 100755 (executable)
new mode 100644 (file)
index 200580b..b953b41
@@ -164,7 +164,7 @@ namespace Tizen.NUI.Tests
         public void OnTouchEventGetState(object sender, Window.TouchEventArgs e)
         {
             PointStateType type = e.Touch.GetState(0);
-            if (type == PointStateType.Motion)
+            if (type == PointStateType.Motion || type == PointStateType.Finished)
             {
                 ManualTest.Confirm();
             }