public void TestConstructor() { Event e = new Event("mousemove", true, false); Assert.AreEqual("mousemove", e.Type); Assert.AreEqual(true, e.Bubbles); Assert.AreEqual(false, e.Cancelable); e = new Event("dummy", false, true); Assert.AreEqual("dummy", e.Type); Assert.AreEqual(false, e.Bubbles); Assert.AreEqual(true, e.Cancelable); }
public void TestConstructorNullType() { Event e = new Event(null, true, false); }
public void TestConstructorEmptyType() { Event e = new Event("", true, false); }