C# 클래스 Microsoft.Silverlight.Testing.Service.SilverlightTestService

The Silverlight test service provider is built for compilation with Silverlight builds of the test framework. Populates with the important providers for web browser-hosted test runs.
상속: TestServiceProvider
파일 보기 프로젝트 열기: garyjohnson/wpnest 1 사용 예제들

공개 메소드들

메소드 설명
Initialize ( ) : void

Initializes the Silverlight test service. Performs a service check if needed before initializing the other providers.

SetCustomIdentification ( ) : void

Sets the custom ID information for the test run, if passed into the run.

SilverlightTestService ( ) : System

Initializes a new instance of the SilverlightTestService class.

SilverlightTestService ( UnitTestSettings settings ) : System

Initializes a new instance of the SilverlightTestService class.

비공개 메소드들

메소드 설명
AttemptServiceConnection ( ) : void

Pauses the initialization process to attempt a service connection. The result will alter the underlying ServiceType being used by this provider to ensure a fallback experience can be used. This verification step will block the initialization and entire test run until it continues.

ContinueInitialization ( ) : void

Continues the initialization process for the test service provider.

PopulateProviders ( ) : void

Populates with the standard providers for Silverlight in-browser testing.

SetServicePath ( UnitTestSettings settings ) : void

Determine the service path to attempt to use, and prepares the verification object using those parameters.

메소드 상세

Initialize() 공개 메소드

Initializes the Silverlight test service. Performs a service check if needed before initializing the other providers.
public Initialize ( ) : void
리턴 void

SetCustomIdentification() 공개 메소드

Sets the custom ID information for the test run, if passed into the run.
public SetCustomIdentification ( ) : void
리턴 void

SilverlightTestService() 공개 메소드

Initializes a new instance of the SilverlightTestService class.
public SilverlightTestService ( ) : System
리턴 System

SilverlightTestService() 공개 메소드

Initializes a new instance of the SilverlightTestService class.
public SilverlightTestService ( UnitTestSettings settings ) : System
settings UnitTestSettings Unit test settings to read the service path /// and other information from.
리턴 System