[Non-ACR][NUI][Fix testhub tc fails] 46/274346/1
authordongsug.song <dongsug.song@samsung.com>
Wed, 27 Apr 2022 01:55:27 +0000 (10:55 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Wed, 27 Apr 2022 01:55:27 +0000 (10:55 +0900)
Change-Id: I572ab691b55bcb4d53839b6d7f86319cb060baf4

tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomView.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSTransitionData.cs
tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualBase.cs

index a80e00b..7d04f2a 100755 (executable)
@@ -268,7 +268,6 @@ namespace Tizen.NUI.Tests
             PropertyMap _transition = new PropertyMap();
             _transition.Add("target", new PropertyValue("testVisual"));
             _transition.Add("property", new PropertyValue("pixelArea"));
-            _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 0, 1)));
             _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 1, 1)));
             _transition.Add("animator", new PropertyValue(animator));
 
@@ -352,7 +351,6 @@ namespace Tizen.NUI.Tests
             VisualFactory visualfactory = VisualFactory.Instance;
             PropertyMap map = new PropertyMap();
             map.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));
-            map.Insert(Visual.Property.Type, new PropertyValue(""));
             VisualBase visual = visualfactory.CreateVisual(map);
             visual.Name = "test visual";
 
@@ -392,7 +390,6 @@ namespace Tizen.NUI.Tests
             VisualFactory visualfactory = VisualFactory.Instance;
             PropertyMap map = new PropertyMap();
             map.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));
-            map.Insert(Visual.Property.Type, new PropertyValue(""));
             VisualBase visual = visualfactory.CreateVisual(map);
             visual.Name = "test visual";
 
@@ -421,7 +418,6 @@ namespace Tizen.NUI.Tests
             VisualFactory visualfactory = VisualFactory.Instance;
             PropertyMap map = new PropertyMap();
             map.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));
-            map.Insert(Visual.Property.Type, new PropertyValue(""));
             VisualBase visual = visualfactory.CreateVisual(map);
             visual.Name = "test visual";
 
@@ -1190,13 +1186,13 @@ namespace Tizen.NUI.Tests
 
         public MyCustomView(string typeName, CustomViewBehaviour behaviour) : base(typeName, behaviour)
         {
-        }\r
-\r
+        }
+
         public override View GetNextFocusableView(View currentFocusedView, FocusDirection direction, bool loopEnabled)
         {
-            if (_nextFocusView == null)\r
-            {\r
-                _nextFocusView = new View();\r
+            if (_nextFocusView == null)
+            {
+                _nextFocusView = new View();
             }
             return _nextFocusView;
         }
index 77e8928..52ca5a6 100755 (executable)
@@ -50,7 +50,6 @@ namespace Tizen.NUI.Tests
             PropertyMap _transition = new PropertyMap();
             _transition.Add("target", new PropertyValue("testVisual"));
             _transition.Add("property", new PropertyValue("pixelArea"));
-            _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 0, 1)));
             _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 1, 1)));
             _transition.Add("animator", new PropertyValue(animator));
 
@@ -80,7 +79,6 @@ namespace Tizen.NUI.Tests
             PropertyMap _transition = new PropertyMap();
             _transition.Add("target", new PropertyValue("testVisual"));
             _transition.Add("property", new PropertyValue("pixelArea"));
-            _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 0, 1)));
             _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 1, 1)));
             _transition.Add("animator", new PropertyValue(animator));
 
@@ -113,7 +111,6 @@ namespace Tizen.NUI.Tests
             PropertyMap _transition = new PropertyMap();
             _transition.Add("target", new PropertyValue("testVisual"));
             _transition.Add("property", new PropertyValue("pixelArea"));
-            _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 0, 1)));
             _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 1, 1)));
             _transition.Add("animator", new PropertyValue(animator));
 
@@ -143,7 +140,6 @@ namespace Tizen.NUI.Tests
             PropertyMap _transition = new PropertyMap();
             _transition.Add("target", new PropertyValue("testVisual"));
             _transition.Add("property", new PropertyValue("pixelArea"));
-            _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 0, 1)));
             _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 1, 1)));
             _transition.Add("animator", new PropertyValue(animator));
 
@@ -175,7 +171,6 @@ namespace Tizen.NUI.Tests
             PropertyMap _transition = new PropertyMap();
             _transition.Add("target", new PropertyValue("testVisual"));
             _transition.Add("property", new PropertyValue("pixelArea"));
-            _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 0, 1)));
             _transition.Add("targetValue", new PropertyValue(new Vector4(0, 0, 1, 1)));
             _transition.Add("animator", new PropertyValue(animator));
 
index adfb07b..8d2d51f 100755 (executable)
@@ -101,7 +101,6 @@ namespace Tizen.NUI.Tests
             VisualFactory visualfactory = VisualFactory.Instance;
             PropertyMap map = new PropertyMap();
             map.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));
-            map.Insert(Visual.Property.Type, new PropertyValue(""));
             VisualBase visual = visualfactory.CreateVisual(map);
             var height = visual.GetHeightForWidth(0.0f);
             Assert.AreEqual(0.0f, height, "The height got from GetHeightForWidth is not correct.");
@@ -120,7 +119,6 @@ namespace Tizen.NUI.Tests
             VisualFactory visualfactory = VisualFactory.Instance;
             PropertyMap map = new PropertyMap();
             map.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));
-            map.Insert(Visual.Property.Type, new PropertyValue(""));
             VisualBase visual = visualfactory.CreateVisual(map);
             var width = visual.GetWidthForHeight(0.0f);
             Assert.AreEqual(0.0f, width, "The Width got from GetWidthForHeight is not correct.");
@@ -168,7 +166,6 @@ namespace Tizen.NUI.Tests
             VisualFactory visualfactory = VisualFactory.Instance;
             PropertyMap textMap1 = new PropertyMap();
             textMap1.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));
-            textMap1.Insert(Visual.Property.Type, new PropertyValue("Hello Goodbye"));
             VisualBase textVisual1 = visualfactory.CreateVisual(textMap1);
             textVisual1.DepthIndex = 1;
             Assert.AreEqual(1, textVisual1.DepthIndex, "The DepthIndex got from DepthIndex is not right");