From 88272ee1edf289ee291080aca57baf559c391053 Mon Sep 17 00:00:00 2001 From: darkleem Date: Thu, 20 Jul 2017 21:59:03 +0900 Subject: [PATCH] Fixed invisible due to the same background and color for DateTimeSelector TC - Change format to full length (TV crash issue) Change-Id: Ifcb4b4752205686215e9d020851dd27b39a887ab Signed-off-by: darkleem --- test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs | 4 ++-- test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs b/test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs index 0a76c58..2cd239e 100644 --- a/test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs +++ b/test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs @@ -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(); diff --git a/test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs b/test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs index aec7470..bbe8c75 100644 --- a/test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs +++ b/test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs @@ -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(); -- 2.7.4