Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReactiveAssert Class

ReactiveAssert Class

Represents a helper class to write asserts in Rx unit tests.

System.Object
  Microsoft.Reactive.Testing.ReactiveAssert

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

public final class ReactiveAssert

  NameDescription
Public methodStatic memberAreElementsEqual(T)(IEnumerable(T), IEnumerable(T))Asserts that both enumerable sequences have equal length and equal elements.
Public methodStatic memberAreElementsEqual(T)(IObservable(T), IObservable(T))Asserts that both observable sequences have equal length and equal elements.
Public methodStatic memberAreElementsEqual(T)(IEnumerable(T), IEnumerable(T), String)Asserts that both enumerable sequences have equal length and equal elements.
Public methodStatic memberAreElementsEqual(T)(IObservable(T), IObservable(T), String)Asserts that both observable sequences have equal length and equal elements.
Public methodStatic memberThrows(TException)(Action)Asserts that the given action throws an exception of the type specified in the generic parameter.
Public methodStatic memberThrows(TException)(Action, String)Asserts that the given action throws an exception of the type specified in the generic parameter.
Public methodStatic memberThrows(TException)(TException, Action)
Public methodStatic memberThrows(TException)(TException, Action, String)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft