Class sap.ui.test.matchers.PropertyStrictEqualsModule: sap/ui/test/matchers/PropertyStrictEquals
PropertyStrictEquals - checks if a property has the exact same value
Since: 1.23.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
In addition, all settings applicable to the base type sap.ui.test.matchers.Matcher can be used as well.
{object} | mSettings? | optional map/JSON-object with initial settings for the new PropertyStrictEquals |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.test.matchers.Matcher.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
name
. The Name of the property that is used for matching.
{string} | Value of property name |
value
. The value of the property that is used for matching.
{any} | Value of property value |
{sap.ui.core.Control} | oControl | the control that is checked by the matcher |
{boolean} | true if the property has a strictly matching value. |
name
. The Name of the property that is used for matching.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sName | New value for property name |
{sap.ui.test.matchers.PropertyStrictEquals} | Reference to this in order to allow method chaining |
value
. The value of the property that is used for matching.
When called with a value of null
or undefined
, the default value of the property will be restored.
{any} | oValue | New value for property value |
{sap.ui.test.matchers.PropertyStrictEquals} | Reference to this in order to allow method chaining |