Share via


MoreAsserts.AssertNotEmpty Method

Definition

Overloads

AssertNotEmpty(String, IDictionary<Object,Object>)

Asserts that map is not empty.

AssertNotEmpty(String, IIterable)

Asserts that iterable is not empty.

AssertNotEmpty(IDictionary<Object,Object>)

Variant of #assertNotEmpty(String, Map) using a generic message.

AssertNotEmpty(IIterable)

Variant of assertNotEmpty(String, Iterable<?>) using a generic message.

AssertNotEmpty(String, IDictionary<Object,Object>)

Asserts that map is not empty.

[Android.Runtime.Register("assertNotEmpty", "(Ljava/lang/String;Ljava/util/Map;)V", "")]
public static void AssertNotEmpty (string? message, System.Collections.Generic.IDictionary<object,object>? map);
[<Android.Runtime.Register("assertNotEmpty", "(Ljava/lang/String;Ljava/util/Map;)V", "")>]
static member AssertNotEmpty : string * System.Collections.Generic.IDictionary<obj, obj> -> unit

Parameters

message
String
Attributes

Remarks

Asserts that map is not empty.

Java documentation for android.test.MoreAsserts.assertNotEmpty(java.lang.String, java.util.Map<?, ?>).

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

AssertNotEmpty(String, IIterable)

Asserts that iterable is not empty.

[Android.Runtime.Register("assertNotEmpty", "(Ljava/lang/String;Ljava/lang/Iterable;)V", "")]
public static void AssertNotEmpty (string? message, Java.Lang.IIterable? iterable);
[<Android.Runtime.Register("assertNotEmpty", "(Ljava/lang/String;Ljava/lang/Iterable;)V", "")>]
static member AssertNotEmpty : string * Java.Lang.IIterable -> unit

Parameters

message
String
iterable
IIterable
Attributes

Remarks

Asserts that iterable is not empty.

Java documentation for android.test.MoreAsserts.assertNotEmpty(java.lang.String, java.lang.Iterable<?>).

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

AssertNotEmpty(IDictionary<Object,Object>)

Variant of #assertNotEmpty(String, Map) using a generic message.

[Android.Runtime.Register("assertNotEmpty", "(Ljava/util/Map;)V", "")]
public static void AssertNotEmpty (System.Collections.Generic.IDictionary<object,object>? map);
[<Android.Runtime.Register("assertNotEmpty", "(Ljava/util/Map;)V", "")>]
static member AssertNotEmpty : System.Collections.Generic.IDictionary<obj, obj> -> unit

Parameters

Attributes

Remarks

Variant of #assertNotEmpty(String, Map) using a generic message.

Java documentation for android.test.MoreAsserts.assertNotEmpty(java.util.Map<?, ?>).

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

AssertNotEmpty(IIterable)

Variant of assertNotEmpty(String, Iterable<?>) using a generic message.

[Android.Runtime.Register("assertNotEmpty", "(Ljava/lang/Iterable;)V", "")]
public static void AssertNotEmpty (Java.Lang.IIterable? iterable);
[<Android.Runtime.Register("assertNotEmpty", "(Ljava/lang/Iterable;)V", "")>]
static member AssertNotEmpty : Java.Lang.IIterable -> unit

Parameters

iterable
IIterable
Attributes

Remarks

Variant of assertNotEmpty(String, Iterable<?>) using a generic message.

Java documentation for android.test.MoreAsserts.assertNotEmpty(java.lang.Iterable<?>).

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