Summary description for Event.
Inheritance: IEvent
示例#1
0
        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);
        }
示例#2
0
 public void TestConstructorNullType()
 {
     Event e = new Event(null, true, false);
 }
示例#3
0
 public void TestConstructorEmptyType()
 {
     Event e = new Event("", true, false);
 }