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"));
30 public void CursorPropertyTag ()
32 Cursor md = Cursor.Current;
33 object s = "MyString";
35 Assert.AreEqual (null, md.Tag, "A1");
38 Assert.AreSame (s, md.Tag, "A2");