MoreAsserts.AssertContentsInOrder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AssertContentsInOrder(IIterable, Object[]) |
Variant of assertContentsInOrder(String, Iterable<?>, Object. |
| AssertContentsInOrder(String, IIterable, Object[]) |
Variant of assertContentsInOrder(String, Iterable<?>, Object. |
AssertContentsInOrder(IIterable, Object[])
Variant of assertContentsInOrder(String, Iterable<?>, Object.
[Android.Runtime.Register("assertContentsInOrder", "(Ljava/lang/Iterable;[Ljava/lang/Object;)V", "")]
public static void AssertContentsInOrder(Java.Lang.IIterable? actual, params Java.Lang.Object[]? expected);
[<Android.Runtime.Register("assertContentsInOrder", "(Ljava/lang/Iterable;[Ljava/lang/Object;)V", "")>]
static member AssertContentsInOrder : Java.Lang.IIterable * Java.Lang.Object[] -> unit
Parameters
- actual
- IIterable
The iterable whose elements and order are tested.
- expected
- Object[]
The complete expected sequence, including repeated elements, in the required order. Null elements compare equal to null elements.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
AssertContentsInOrder(String, IIterable, Object[])
Variant of assertContentsInOrder(String, Iterable<?>, Object.
[Android.Runtime.Register("assertContentsInOrder", "(Ljava/lang/String;Ljava/lang/Iterable;[Ljava/lang/Object;)V", "")]
public static void AssertContentsInOrder(string? message, Java.Lang.IIterable? actual, params Java.Lang.Object[]? expected);
[<Android.Runtime.Register("assertContentsInOrder", "(Ljava/lang/String;Ljava/lang/Iterable;[Ljava/lang/Object;)V", "")>]
static member AssertContentsInOrder : string * Java.Lang.IIterable * Java.Lang.Object[] -> unit
Parameters
- message
- String
The message to include if the assertion fails, or null for the default message.
- actual
- IIterable
The iterable whose elements and order are tested.
- expected
- Object[]
The complete expected sequence, including repeated elements, in the required order. Null elements compare equal to null elements.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.