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
NameDescription.gif)
AreElementsEqual(IEnumerable, IEnumerable)Asserts that both enumerable sequences have equal length and equal elements..gif)
AreElementsEqual(IObservable, IObservable)Asserts that both observable sequences have equal length and equal elements..gif)
AreElementsEqual(IEnumerable, IEnumerable, String)Asserts that both enumerable sequences have equal length and equal elements..gif)
AreElementsEqual(IObservable, IObservable, String)Asserts that both observable sequences have equal length and equal elements..gif)
Throws(Action)Asserts that the given action throws an exception of the type specified in the generic parameter..gif)
Throws(Action, String)Asserts that the given action throws an exception of the type specified in the generic parameter..gif)
Throws(TException, Action).gif)
Throws(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.
See Also
Reference
Microsoft.Reactive.Testing Namespace
ReactiveAssert Methods
Include Protected Members
Include Inherited Members
Methods
NameDescription.gif)
AreElementsEqual(IEnumerable, IEnumerable)Asserts that both enumerable sequences have equal length and equal elements..gif)
AreElementsEqual(IObservable, IObservable)Asserts that both observable sequences have equal length and equal elements..gif)
AreElementsEqual(IEnumerable, IEnumerable, String)Asserts that both enumerable sequences have equal length and equal elements..gif)
AreElementsEqual(IObservable, IObservable, String)Asserts that both observable sequences have equal length and equal elements..gif)
Throws(Action)Asserts that the given action throws an exception of the type specified in the generic parameter..gif)
Throws(Action, String)Asserts that the given action throws an exception of the type specified in the generic parameter..gif)
Throws(TException, Action).gif)
Throws(TException, Action, String)Top
See Also
Reference
ReactiveAssert Class
Microsoft.Reactive.Testing Namespace