[ElmSharp] Enhance the Pane's TC to make it better clear 79/191679/2
authorKangho Hur <kangho.hur@samsung.com>
Mon, 22 Oct 2018 07:11:55 +0000 (16:11 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Tue, 23 Oct 2018 08:11:56 +0000 (17:11 +0900)
Change-Id: Ifedaf1c1e03a4ed560d9810d708cd9813d0095d9

tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPanes.cs

index c6eaa2e..c6bebd3 100644 (file)
@@ -58,6 +58,28 @@ namespace ElmSharp.Tests
             LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePanes");
             _panes = new Panes(_window);
 
+            Rectangle redBox = new Rectangle(_window)
+            {
+                AlignmentX = -1,
+                AlignmentY = -1,
+                WeightX = 1,
+                WeightY = 1,
+                Color = Color.Red,
+            };
+            redBox.Show();
+
+            Rectangle blueBox = new Rectangle(_window)
+            {
+                AlignmentX = -1,
+                AlignmentY = -1,
+                WeightX = 1,
+                WeightY = 1,
+                Color = Color.Blue,
+            };
+
+            _panes.SetPartContent("left", redBox);
+            _panes.SetPartContent("right", blueBox);
+
             _testPage.ExecuteTCByPage(_panes);
 
         }