Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2013-11-14 17:00:30 +0400
committerLluis Sanchez <lluis@xamarin.com>2013-11-14 17:00:30 +0400
commit1c9ab98e8c90e080abbc5629a89d0603f88b68a4 (patch)
treef9f70933fcd7ed380a4c72d69ebe3fd1fb0db3e7 /Testing
parent2cf479a5b8c8b9592e1ecff7ffc3c2a05cfed055 (diff)
[Mac] Fixes for the closing event unit tests
Diffstat (limited to 'Testing')
-rw-r--r--Testing/MacTestRunner/Main.cs2
-rw-r--r--Testing/Tests/DialogTests.cs2
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);
}
}