C# Class Microsoft.Silverlight.Testing.Service.WebTestReportingProvider

A test service that reports test run results.
Inheritance: TestReportingProvider
Mostrar archivo Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
ReportFinalResult ( Action callback, bool failure, int failures, int totalScenarios, string message ) : void

Begins a call to the test service to report a test run's results.

WebTestReportingProvider ( TestServiceProvider testService ) : System

Initializes a new reporting provider instance.

WriteLog ( Action callback, string logName, string content ) : void

Begins a call to the test service to write to the log.

Method Details

ReportFinalResult() public method

Begins a call to the test service to report a test run's results.
public ReportFinalResult ( Action callback, bool failure, int failures, int totalScenarios, string message ) : void
callback Action The callback, used to read or verify results /// from the service call.
failure bool A value indicating whether the test run was a /// failure.
failures int The failed scenario count.
totalScenarios int The total scenario count.
message string Any message to report along with the failure.
return void

WebTestReportingProvider() public method

Initializes a new reporting provider instance.
public WebTestReportingProvider ( TestServiceProvider testService ) : System
testService TestServiceProvider The test service.
return System

WriteLog() public method

Begins a call to the test service to write to the log.
public WriteLog ( Action callback, string logName, string content ) : void
callback Action The callback, used to read or verify results /// from the service call.
logName string The name of the log to write.
content string The log file content.
return void