C# Class Microsoft.Silverlight.Testing.Harness.UnitTestMessageConditional

Helper conditional methods for unit test-specific log messages.
Mostra file Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
HasUnitTestOutcome ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool

Determines whether a log message meets a specific condition or set of conditions.

IsExceptionLogMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool

Determines whether a log message meets a specific condition or set of conditions.

IsIgnoreMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool

Determines whether a log message meets a specific condition or set of conditions.

IsIncorrectExceptionLogMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool

Determines whether a log message meets a specific condition or set of conditions.

IsKnownBug ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool

Determines whether a log message meets a specific condition or set of conditions.

IsTestRunFilterMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool

Determines whether a log message has an attached TestRunFilter.

IsUnitTestEndMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool

Determines whether a log message meets a specific condition or set of conditions.

IsUnitTestStartMessage ( UnitTestLogDecorator decorator ) : bool>.Func

Determines whether a log message meets a specific condition or set of conditions.

Private Methods

Method Description
IsUnitTestMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool

Returns a value indicating whether the message is marked as a unit test system message.

Method Details

HasUnitTestOutcome() public static method

Determines whether a log message meets a specific condition or set of conditions.
public static HasUnitTestOutcome ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool
message Microsoft.Silverlight.Testing.Harness.LogMessage The log message object.
return bool

IsExceptionLogMessage() public static method

Determines whether a log message meets a specific condition or set of conditions.
public static IsExceptionLogMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool
message Microsoft.Silverlight.Testing.Harness.LogMessage The log message object.
return bool

IsIgnoreMessage() public static method

Determines whether a log message meets a specific condition or set of conditions.
public static IsIgnoreMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool
message Microsoft.Silverlight.Testing.Harness.LogMessage The log message object.
return bool

IsIncorrectExceptionLogMessage() public static method

Determines whether a log message meets a specific condition or set of conditions.
public static IsIncorrectExceptionLogMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool
message Microsoft.Silverlight.Testing.Harness.LogMessage The log message object.
return bool

IsKnownBug() public static method

Determines whether a log message meets a specific condition or set of conditions.
public static IsKnownBug ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool
message Microsoft.Silverlight.Testing.Harness.LogMessage The log message object.
return bool

IsTestRunFilterMessage() public static method

Determines whether a log message has an attached TestRunFilter.
public static IsTestRunFilterMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool
message Microsoft.Silverlight.Testing.Harness.LogMessage The log message object.
return bool

IsUnitTestEndMessage() public static method

Determines whether a log message meets a specific condition or set of conditions.
public static IsUnitTestEndMessage ( Microsoft.Silverlight.Testing.Harness.LogMessage message ) : bool
message Microsoft.Silverlight.Testing.Harness.LogMessage The log message object.
return bool

IsUnitTestStartMessage() public static method

Determines whether a log message meets a specific condition or set of conditions.
public static IsUnitTestStartMessage ( UnitTestLogDecorator decorator ) : bool>.Func
decorator UnitTestLogDecorator The unit test decorator of interest.
return bool>.Func