Allow display rotation to Elmsharp.Test app 39/119839/1
authorKangho Hur <kangho.hur@samsung.com>
Mon, 20 Mar 2017 08:42:10 +0000 (17:42 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Mon, 20 Mar 2017 08:42:10 +0000 (17:42 +0900)
Change-Id: I4e9bd5b64479c7b01b115152f54aa96802718eac

ElmSharp.Test/TestRunner.cs

index 267e9a8..c472650 100644 (file)
@@ -100,7 +100,10 @@ namespace ElmSharp.Test
 
         private Window CreateWindow(bool isSecond = false)
         {
-            Window window = new Window("ElmSharp UI Tests");
+            Window window = new Window("ElmSharp UI Tests")
+            {
+                AvailableRotations = DisplayRotation.Degree_0 | DisplayRotation.Degree_180 | DisplayRotation.Degree_270 | DisplayRotation.Degree_90
+            };
             window.Show();
             if (isSecond)
             {