C# 클래스 NUnit.Extensions.Asp.Tester

Base class for all NUnitAsp testers. To create your own tester classes, you should usually extend AspTester.AspControlTester or HtmlTester.HtmlControlTester instead.

Not intended for third-party use. The API for this class will change in future releases. Currently, this class assumes that every tester corresponds to exactly one tag in the web page. That may change in the future.

파일 보기 프로젝트 열기: vcsjones/NUnitAsp 1 사용 예제들

공개 메소드들

메소드 설명
ToString ( ) : string

Provides a friendly message reminding users not to put testers in assertions.

보호된 메소드들

메소드 설명
AssertVisible ( ) : void

Experimental. May change or go away in future revisions. Allows testers to assert that their control should be visible before some operations. Using this method provides clearer error messages to users of the tester.

GetChildElementHtmlId ( string aspId ) : string

Returns the HTML ID of a child control. Useful when implementing testers for container controls that do HTML ID mangling. This method is very likely to change in a future release.

메소드 상세

AssertVisible() 보호된 메소드

Experimental. May change or go away in future revisions. Allows testers to assert that their control should be visible before some operations. Using this method provides clearer error messages to users of the tester.
protected AssertVisible ( ) : void
리턴 void

GetChildElementHtmlId() 보호된 추상적인 메소드

Returns the HTML ID of a child control. Useful when implementing testers for container controls that do HTML ID mangling. This method is very likely to change in a future release.
protected abstract GetChildElementHtmlId ( string aspId ) : string
aspId string
리턴 string

ToString() 공개 메소드

Provides a friendly message reminding users not to put testers in assertions.
public ToString ( ) : string
리턴 string