MoreAsserts.AssertNotEmpty 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
AssertNotEmpty(String, IDictionary<Object,Object>) |
Asserts that |
AssertNotEmpty(String, IIterable) |
Asserts that |
AssertNotEmpty(IDictionary<Object,Object>) |
Variant of |
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
- map
- IDictionary<Object,Object>
- Attributes
Remarks
Asserts that map
is not empty.
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.
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
- map
- IDictionary<Object,Object>
- 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.