diff options
Diffstat (limited to 'mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/CursorTest.cs')
-rw-r--r-- | mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/CursorTest.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/CursorTest.cs b/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/CursorTest.cs new file mode 100644 index 00000000000..e7123e1891d --- /dev/null +++ b/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/CursorTest.cs @@ -0,0 +1,29 @@ +// +// Copyright (c) 2005 Novell, Inc. +// +// Authors: +// Miguel de Icaza +// + +using System; +using System.Windows.Forms; +using System.Drawing; +using NUnit.Framework; + +namespace MonoTests.System.Windows.Forms +{ + [TestFixture] + public class CursorTest + { + [Test] + public void LoadCursorKind2 () + { + // + // This test tries to load a cursor with type 1 + // this contains an and mask, it used to crash + // + + new Cursor (typeof (CursorTest).Assembly.GetManifestResourceStream ("a.cur")); + } + } +} |