2
0
Tig 10 сар өмнө
parent
commit
21e2187d88

+ 1 - 3
UnitTests/Dialogs/DialogTests.cs

@@ -1010,9 +1010,7 @@ public class DialogTests
         Dialog.DefaultBorderStyle = LineStyle.Single;
         Dialog.DefaultShadow = ShadowStyle.None;
         Button.DefaultShadow = ShadowStyle.None;
-        Dialog.DefaultShadow = ShadowStyle.None;
-        Button.DefaultShadow = ShadowStyle.None;
-
+ 
         Iteration += (s, a) =>
                      {
                          iterations++;

+ 6 - 0
UnitTests/FileServices/FileDialogTests.cs

@@ -616,6 +616,8 @@ public class FileDialogTests ()
         Window.DefaultBorderStyle = LineStyle.Single;
         Dialog.DefaultButtonAlignment = Alignment.Center;
         Dialog.DefaultBorderStyle = LineStyle.Single;
+        Dialog.DefaultShadow = ShadowStyle.None;
+        Button.DefaultShadow = ShadowStyle.None;
 
         var dlg = new FileDialog ();
         Begin (dlg);
@@ -628,6 +630,8 @@ public class FileDialogTests ()
         Window.DefaultBorderStyle = LineStyle.Single;
         Dialog.DefaultButtonAlignment = Alignment.Center;
         Dialog.DefaultBorderStyle = LineStyle.Single;
+        Dialog.DefaultShadow = ShadowStyle.None;
+        Button.DefaultShadow = ShadowStyle.None;
 
         // Arrange
         var fileSystem = new MockFileSystem (new Dictionary<string, MockFileData> (), "/");
@@ -676,6 +680,8 @@ public class FileDialogTests ()
         Window.DefaultBorderStyle = LineStyle.Single;
         Dialog.DefaultButtonAlignment = Alignment.Center;
         Dialog.DefaultBorderStyle = LineStyle.Single;
+        Dialog.DefaultShadow = ShadowStyle.None;
+        Button.DefaultShadow = ShadowStyle.None;
 
         // Arrange
         var fileSystem = new MockFileSystem (new Dictionary<string, MockFileData> (), @"c:\");