Fixed invisible due to the same background and color for DateTimeSelector TC
authordarkleem <cdark.lim@samsung.com>
Thu, 20 Jul 2017 12:59:03 +0000 (21:59 +0900)
committerchungryeol Lim <cdark.lim@samsung.com>
Thu, 20 Jul 2017 13:03:26 +0000 (13:03 +0000)
  - Change format to full length (TV crash issue)

Change-Id: Ifcb4b4752205686215e9d020851dd27b39a887ab
Signed-off-by: darkleem <cdark.lim@samsung.com>
test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs
test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs

index 0a76c58..2cd239e 100644 (file)
@@ -28,7 +28,7 @@ namespace ElmSharp.Test
         public override void Run(Window window)
         {
             Background bg = new Background(window);
-            bg.Color = Color.White;
+            bg.Color = Color.Gray;
             bg.Move(0, 0);
             bg.Resize(window.ScreenSize.Width, window.ScreenSize.Height);
             bg.Show();
@@ -55,7 +55,7 @@ namespace ElmSharp.Test
                 label3.Text = string.Format("Current DateTime={0}", dateTime.DateTime);
             };
 
-            dateTime.Resize(600, 600);
+            dateTime.Resize(720, 600);
             dateTime.Move(0, 300);
             dateTime.Show();
 
index aec7470..bbe8c75 100644 (file)
@@ -28,7 +28,7 @@ namespace ElmSharp.Test
         public override void Run(Window window)
         {
             Background bg = new Background(window);
-            bg.Color = Color.White;
+            bg.Color = Color.Gray;
             bg.Move(0, 0);
             bg.Resize(window.ScreenSize.Width, window.ScreenSize.Height);
             bg.Show();
@@ -37,7 +37,7 @@ namespace ElmSharp.Test
             {
                 DateTime = DateTime.Today,
                 Style = "time_layout",
-                Format = "%I:%M %p"
+                Format = "%d/%b/%Y %I:%M %p"
             };
 
             Label label1 = new Label(window);
@@ -55,7 +55,7 @@ namespace ElmSharp.Test
                 label3.Text = string.Format("Current DateTime={0}", dateTime.DateTime);
             };
 
-            dateTime.Resize(600, 600);
+            dateTime.Resize(720, 600);
             dateTime.Move(0, 300);
             dateTime.Show();