[NUnitAsp-devl] Multiple Form Support
Brought to you by:
jlittle82
From: Aaron J. <aj...@pr...> - 2004-10-07 17:03:58
|
I have added multiple form support to NUnitAsp version 1.5. I have changed one file: WebForm. I added a FormId property, that sets the ID of the form to use in testing. I modified the Tag property so that it works the same if only one form is found. If multiple forms are found, it iterates through them and returns the form whose ID matches the FormId property. I have added three unit tests and made sure that all the current unit tests still pass. WebForm.cs: Contains the modified Tag property and additional FormId property. Replaces the existing WebForm.cs file in the NUnitAsp project. MultipleFormTestCase.cs: Contains the three unit tests. Belongs in the root directory of the NUnitAspTest project. MultipleFormTestPage.aspx MultipleFormTestPage.aspx.cs MultipleFormTestPage.aspx.resx: The page that contains mulitple forms. Used in the MultipleFormTestCase unit tests. Belongs in the root directory of the NUnitAspTestPages=20 directory. I assign the copyright to this patch to Brian Knowles and Jim Shore. Thanks! <:> Aaron Jensen <:> aj...@pr... <:> 760.431.9400 ext 421 <:> Financial Profiles <:> www.profiles.com |