Class sap.ui.test.matchers.AggregationLengthEqualsModule: sap/ui/test/matchers/AggregationLengthEquals
AggregationLengthEquals - 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:
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 AggregationLengthEqualsMatcher |
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 |
length. The length that aggregation name should have.
| {int} | Value of property length |
name. The name of the aggregation that is used for matching.
| {string} | Value of property name |
name has length length. | {sap.ui.core.Control} | oControl | the control that is checked by the matcher |
| {boolean} | true if the length of aggregation name is the same as length, false if it is not. |
length. The length that aggregation name should have.
When called with a value of null or undefined, the default value of the property will be restored.
| {int} | iLength | New value for property length |
| {sap.ui.test.matchers.AggregationLengthEquals} | Reference to this in order to allow method chaining |
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.AggregationLengthEquals} | Reference to this in order to allow method chaining |