2 // Copyright (c) 2005 Novell, Inc.
9 using System.Windows.Forms;
11 using NUnit.Framework;
13 namespace MonoTests.System.Windows.Forms
16 public class CursorTest : TestHelper
19 public void LoadCursorKind2 ()
22 // This test tries to load a cursor with type 1
23 // this contains an and mask, it used to crash
26 new Cursor (typeof (CursorTest).Assembly.GetManifestResourceStream ("a.cur"));
31 public void CursorPropertyTag ()
33 Cursor md = Cursor.Current;
34 object s = "MyString";
36 Assert.AreEqual (null, md.Tag, "A1");
39 Assert.AreSame (s, md.Tag, "A2");