ReactiveAssert Class
Represents a helper class to write asserts in Rx unit tests.
Inheritance Hierarchy
System.Object
Microsoft.Reactive.Testing.ReactiveAssert
Namespace: Microsoft.Reactive.Testing
Assembly: Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)
Syntax
'Declaration
Public NotInheritable Class ReactiveAssert
'Usage
public static class ReactiveAssert
public ref class ReactiveAssert abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ReactiveAssert = class end
public final class ReactiveAssert
Methods
Name | Description | |
---|---|---|
AreElementsEqual<T>(IEnumerable<T>, IEnumerable<T>) | Asserts that both enumerable sequences have equal length and equal elements. | |
AreElementsEqual<T>(IObservable<T>, IObservable<T>) | Asserts that both observable sequences have equal length and equal elements. | |
AreElementsEqual<T>(IEnumerable<T>, IEnumerable<T>, String) | Asserts that both enumerable sequences have equal length and equal elements. | |
AreElementsEqual<T>(IObservable<T>, IObservable<T>, String) | Asserts that both observable sequences have equal length and equal elements. | |
Throws<TException>(Action) | Asserts that the given action throws an exception of the type specified in the generic parameter. | |
Throws<TException>(Action, String) | Asserts that the given action throws an exception of the type specified in the generic parameter. | |
Throws<TException>(TException, Action) | ||
Throws<TException>(TException, Action, String) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.