Class sap.ui.test.matchers.AggregationContainsPropertyEqualModule: sap/ui/test/matchers/AggregationContainsPropertyEqual
AggregationContainsPropertyEqual - checks if an aggregation contains at least one item that has a Property set to a certain 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:
- Properties
- aggregationName : string
- propertyName : string
- propertyValue : any
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 AggregationContainsPropertyEqualMatcher |
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 |
aggregationName
. The Name of the aggregation that is used for matching.
{string} | Value of property aggregationName |
propertyName
. The Name of the property that is used for matching.
{string} | Value of property propertyName |
propertyValue
. The value of the Property that is used for matching.
{any} | Value of property propertyValue |
{sap.ui.core.Control} | oControl | the control that is checked by the matcher |
{boolean} | true if the Aggregation set in the property aggregationName is filled, false if it is not. |
aggregationName
. The Name of the aggregation that is used for matching.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sAggregationName | New value for property aggregationName |
{sap.ui.test.matchers.AggregationContainsPropertyEqual} | Reference to this in order to allow method chaining |
propertyName
. 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} | sPropertyName | New value for property propertyName |
{sap.ui.test.matchers.AggregationContainsPropertyEqual} | Reference to this in order to allow method chaining |
propertyValue
. 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} | oPropertyValue | New value for property propertyValue |
{sap.ui.test.matchers.AggregationContainsPropertyEqual} | Reference to this in order to allow method chaining |