diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2013-11-14 17:00:30 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2013-11-14 17:00:30 +0400 |
commit | 1c9ab98e8c90e080abbc5629a89d0603f88b68a4 (patch) | |
tree | f9f70933fcd7ed380a4c72d69ebe3fd1fb0db3e7 /Testing | |
parent | 2cf479a5b8c8b9592e1ecff7ffc3c2a05cfed055 (diff) |
[Mac] Fixes for the closing event unit tests
Diffstat (limited to 'Testing')
-rw-r--r-- | Testing/MacTestRunner/Main.cs | 2 | ||||
-rw-r--r-- | Testing/Tests/DialogTests.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Testing/MacTestRunner/Main.cs b/Testing/MacTestRunner/Main.cs index 95a56f50..7542479b 100644 --- a/Testing/MacTestRunner/Main.cs +++ b/Testing/MacTestRunner/Main.cs @@ -13,7 +13,7 @@ namespace MacTest Xwt.Application.Initialize (Xwt.ToolkitType.Cocoa); ReferenceImageManager.Init ("MacTestRunner"); - var list = new List<string> (); + var list = new List<string> (args); list.Add ("-domain=None"); list.Add ("-noshadow"); list.Add ("-nothread"); diff --git a/Testing/Tests/DialogTests.cs b/Testing/Tests/DialogTests.cs index 0d99603a..39036fce 100644 --- a/Testing/Tests/DialogTests.cs +++ b/Testing/Tests/DialogTests.cs @@ -60,8 +60,8 @@ namespace Xwt return false; }); var cmd = win.Run (); - Assert.AreEqual (Command.Apply, cmd); Assert.IsTrue (closed, "Close event not fired"); + Assert.AreEqual (Command.Apply, cmd); } } |