Base class for list testers.
Inheritance: AspControlTester
 internal ListItemCollectionTester(ListControlTester control, XmlNodeList optionList)
 {
     foreach (XmlElement option in optionList)
     {
         InnerList.Add(new ListItemTester(control, option));
     }
 }
Example #2
0
 protected override void SetUp()
 {
     base.SetUp();
     list = CreateListControl("list", CurrentWebForm);
     emptyList = CreateListControl("emptyList", CurrentWebForm);
     disabledList = CreateListControl("disabledList", CurrentWebForm);
     submit = new LinkButtonTester("submit", CurrentWebForm);
     clearSelection = new LinkButtonTester("clearSelection", CurrentWebForm);
     autoPostBack = new CheckBoxTester("auto", CurrentWebForm);
     indexChanged = new LabelTester("indexChanged", CurrentWebForm);
 }
Example #3
0
 internal ListItemTester(ListControlTester owner, XmlElement element)
 {
     this.owner = owner;
     Element    = element;
 }