test/js/ObjectAssert.js:2
The ObjectAssert object provides functions to test JavaScript objects for a variety of cases.
areEqualexpected
actual
message
Defined in
test/js/ObjectAssert.js:12
Asserts that an object has all of the same properties and property values as the other.
hasKeypropertyName
object
message
Defined in
test/js/ObjectAssert.js:43
Deprecated: Use ownsOrInheritsKey() instead
Asserts that an object has a property with the given name.
hasKeysproperties
object
message
Defined in
test/js/ObjectAssert.js:56
Deprecated: Use ownsOrInheritsKeys() instead
Asserts that an object has all properties of a reference object.
inheritsKeypropertyName
object
message
Defined in
test/js/ObjectAssert.js:69
Asserts that a property with the given name exists on an object's prototype.
inheritsKeysproperties
object
message
Defined in
test/js/ObjectAssert.js:84
Asserts that all properties exist on an object prototype.
ownsKeypropertyName
object
message
Defined in
test/js/ObjectAssert.js:101
Asserts that a property with the given name exists on an object instance (not on its prototype).
ownsKeysproperties
object
message
Defined in
test/js/ObjectAssert.js:116
Asserts that all properties exist on an object instance (not on its prototype).
ownsNoKeysobject
message
Defined in
test/js/ObjectAssert.js:133
Asserts that an object owns no properties.
ownsOrInheritsKeypropertyName
object
message
Defined in
test/js/ObjectAssert.js:150
Asserts that an object has a property with the given name.
ownsOrInheritsKeysproperties
object
message
Defined in
test/js/ObjectAssert.js:165
Asserts that an object has all properties of a reference object.