MoreAsserts.AssertNotEqual 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
AssertNotEqual(Object, Object) |
Variant of |
AssertNotEqual(String, Object, Object) |
Asserts that |
AssertNotEqual(Object, Object)
Variant of #assertNotEqual(String,Object,Object)
using a
generic message.
[Android.Runtime.Register("assertNotEqual", "(Ljava/lang/Object;Ljava/lang/Object;)V", "")]
public static void AssertNotEqual (Java.Lang.Object? unexpected, Java.Lang.Object? actual);
[<Android.Runtime.Register("assertNotEqual", "(Ljava/lang/Object;Ljava/lang/Object;)V", "")>]
static member AssertNotEqual : Java.Lang.Object * Java.Lang.Object -> unit
Parameters
- unexpected
- Object
- actual
- Object
- Attributes
Remarks
Variant of #assertNotEqual(String,Object,Object)
using a generic message.
Java documentation for android.test.MoreAsserts.assertNotEqual(java.lang.Object, java.lang.Object)
.
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
AssertNotEqual(String, Object, Object)
Asserts that actual
is not equal unexpected
, according
to both ==
and Object#equals
.
[Android.Runtime.Register("assertNotEqual", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", "")]
public static void AssertNotEqual (string? message, Java.Lang.Object? unexpected, Java.Lang.Object? actual);
[<Android.Runtime.Register("assertNotEqual", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", "")>]
static member AssertNotEqual : string * Java.Lang.Object * Java.Lang.Object -> unit
Parameters
- message
- String
- unexpected
- Object
- actual
- Object
- Attributes
Remarks
Asserts that actual
is not equal unexpected
, according to both ==
and Object#equals
.
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.