C# Class NUnit.Extensions.Asp.AspTester.RepeaterTester.RepeaterItemTester

Tester for ItemTemplate and AlternatingItemTemplate, also known as System.Web.UI.WebControls.RepeaterItem. Use this tester as a container for other testers. This example demonstrates how to test a button that's in the third item of a repeater: RepeaterTester repeater = new RepeaterTester("repeater"); ButtonTester button = new ButtonTester("button", repeater.Item(2));
Inheritance: RepeaterTemplateTester
Show file Open project: vcsjones/NUnitAsp

Public Methods

Method Description
RepeaterItemTester ( int itemNum, RepeaterTester container ) : System

Create a tester for a specific item in a repeater.

Method Details

RepeaterItemTester() public method

Create a tester for a specific item in a repeater.
public RepeaterItemTester ( int itemNum, RepeaterTester container ) : System
itemNum int The item number to test (zero-based).
container RepeaterTester The repeater tester this item is contained /// within.
return System