Class sap.ui.test.matchers.AggregationFilledModule: sap/ui/test/matchers/AggregationFilled
AggregationFilled - checks if an aggregation contains at least one entry
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
- name : string
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 AggregationFilledMatcher |
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 aggregation that is used for matching.
{string} | Value of property name |
{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. |
name
. 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} | sName | New value for property name |
{sap.ui.test.matchers.AggregationFilled} | Reference to this in order to allow method chaining |