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 19:06:04 +0400
committerLluis Sanchez <lluis@xamarin.com>2013-11-14 19:06:04 +0400
commit4985e4507387544f2da5b6ab33e75bd0d6d7295f (patch)
tree34bc386ea6634386010a36416cbdca26ffd52daa /Testing
parentb2680e123a5de6d44e9515cc10faf491431c122f (diff)
Fixes to match new closing event behavior for Dialog
Diffstat (limited to 'Testing')
-rw-r--r--Testing/Tests/DialogTests.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Testing/Tests/DialogTests.cs b/Testing/Tests/DialogTests.cs
index 5e5029fc..555d6907 100644
--- a/Testing/Tests/DialogTests.cs
+++ b/Testing/Tests/DialogTests.cs
@@ -47,7 +47,7 @@ namespace Xwt
}
[Test]
- public void RespondFiresClose ()
+ public void RespondDoesNotFireClose ()
{
// The close event is not fired after running a dialog
@@ -65,6 +65,8 @@ namespace Xwt
Assert.IsFalse (closed, "Close event should not be fired");
Assert.AreEqual (Command.Apply, cmd);
}
+ Assert.IsFalse (closing, "CloseRequested event should not be fired when disposing");
+ Assert.IsFalse (closed, "Close event should not be fired when disposing");
}
[Test]