Summary description for Event.
상속: 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);
 }