Restore proper behaviour for the test 75/154175/1
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 9 Oct 2017 09:39:53 +0000 (11:39 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 9 Oct 2017 09:43:26 +0000 (11:43 +0200)
Test for Entry.IsScrollable property should use an entry with absolute
position on screen.

Change-Id: I5eafb22e4082fec6fcd60365a1776af903648d3b
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
test/ElmSharp.Test/TC/EntryTest1.cs

index 2dc8437..ae7e185 100644 (file)
@@ -65,15 +65,11 @@ namespace ElmSharp.Test
 
             Entry entry3 = new Entry(window)
             {
-                AlignmentX = -1,
-                AlignmentY = 0,
-                WeightX = 1,
-                WeightY = 1,
                 IsSingleLine = true,
                 Scrollable = true,
             };
             entry3.SetPartText("guide", "<span color=#808080FF font_size=28 align=left valign=top wrap=mixed>Enter a System.Double</span>");
-            //entry3.Geometry = new Rect(0, 163, 720, 37);
+            entry3.Geometry = new Rect(0, 100, 720, 37);
             entry3.Show();
 
             var capital1 = new Entry(window)
@@ -144,7 +140,6 @@ namespace ElmSharp.Test
 
             box.PackEnd(entry1);
             box.PackEnd(entry2);
-            box.PackEnd(entry3);
             box.PackEnd(capital1);
             box.PackEnd(capital2);
             box.PackEnd(capital3);
@@ -153,7 +148,6 @@ namespace ElmSharp.Test
 
             entry1.Show();
             entry2.Show();
-            entry3.Show();
             capital1.Show();
             capital2.Show();
             capital3.Show();