public void LoginView_EventInit() { TestLoginView l = new TestLoginView(); l.Init += new EventHandler(event_handler); Assert.AreEqual(false, checker, "BeforeInit"); l.DoOnInit(new EventArgs()); Assert.AreEqual(true, checker, "AfterInit"); }
public void LoginView_EventInit () { TestLoginView l = new TestLoginView (); l.Init += new EventHandler (event_handler); Assert.AreEqual (false, checker, "BeforeInit"); l.DoOnInit (new EventArgs ()); Assert.AreEqual (true, checker, "AfterInit"); }