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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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