NUnitForms Class Library

NUnitFormTest.ExpectModal Method

One of four overloaded methods to set up a modal dialog handler. If you expect a modal dialog to appear and can handle it during the test, use this method to set up the handler.

Overload List

One of four overloaded methods to set up a modal dialog handler. If you expect a modal dialog to appear and can handle it during the test, use this method to set up the handler.

protected void ExpectModal(string,ModalFormActivated);

One of four overloaded methods to set up a modal dialog handler. If you expect a modal dialog to appear and can handle it during the test, use this method to set up the handler. Because "expected" is usually (always) true if you are calling this, I don't expect it will be used externally.

protected void ExpectModal(string,ModalFormActivated,bool);

One of four overloaded methods to set up a modal dialog handler. If you are not sure which to use, use this one. If you expect a modal dialog to appear and can handle it during the test, use this method to set up the handler. Because "expected" is usually (always) true if you are calling this, I don't expect it will be used externally.

protected void ExpectModal(string,string);

One of four overloaded methods to set up a modal dialog handler. If you expect a modal dialog to appear and can handle it during the test, use this method to set up the handler. Because "expected" is usually (always) true if you are calling this, I don't expect it will be used externally.

protected void ExpectModal(string,string,bool);

See Also

NUnitFormTest Class | NUnit.Extensions.Forms Namespace