C# 클래스 NUnit.Extensions.Asp.AspTester.DropDownListTester

Tester for System.Web.UI.WebControls.DropDownList
파일 보기 프로젝트 열기: vcsjones/NUnitAsp 1 사용 예제들

공개 메소드들

메소드 설명
DropDownListTester ( string aspId ) : System

Create a tester for a top-level control. Use this constructor for testing most controls. Testers created with this constructor will test pages loaded by the HttpClient.Default HttpClient.

DropDownListTester ( string aspId, Tester container ) : System

Create a tester for a nested control. Use this constructor when the control you are testing is nested within another control, such as a DataGrid or UserControl. You should also use this constructor when you're not using the HttpClient.Default HttpClient.

메소드 상세

DropDownListTester() 공개 메소드

Create a tester for a top-level control. Use this constructor for testing most controls. Testers created with this constructor will test pages loaded by the HttpClient.Default HttpClient.

public DropDownListTester ( string aspId ) : System
aspId string The ID of the control to test (look in the /// page's ASP.NET source code for the ID).
리턴 System

DropDownListTester() 공개 메소드

Create a tester for a nested control. Use this constructor when the control you are testing is nested within another control, such as a DataGrid or UserControl. You should also use this constructor when you're not using the HttpClient.Default HttpClient.
public DropDownListTester ( string aspId, Tester container ) : System
aspId string The ID of the control to test (look in the /// page's ASP.NET source code for the ID).
container Tester A tester for the control's container. /// (In the page's ASP.NET source code, look for the tag that the /// control is nested in. That's probably the control's /// container.)
리턴 System