C# Class 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.
Inheritance: TestServiceProvider
显示文件 Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

Initialize() public method

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

SetCustomIdentification() public method

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

SilverlightTestService() public method

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

SilverlightTestService() public method

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.
return System