Class sap.ui.test.matchers.BindingPathModule: sap/ui/test/matchers/BindingPath
BindingPath - checks if a control has a binding context with the exact same binding path
Since: 1.32.
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? | Map/JSON-object with initial settings for the new BindingPath. |
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 |
modelName
. The name of the binding model that is used for matching.
{string} | Value of property modelName |
path
. The value of the binding path that is used for matching.
{string} | Value of property path |
{sap.ui.core.Control} | oControl | the control that is checked by the matcher |
{boolean} | true if the binding path has a strictly matching value. |
modelName
. The name of the binding model that is used for matching.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sModelName | New value for property modelName |
{sap.ui.test.matchers.BindingPath} | Reference to this in order to allow method chaining |
path
. The value of the binding path that is used for matching.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sPath | New value for property path |
{sap.ui.test.matchers.BindingPath} | Reference to this in order to allow method chaining |