This class represents an extension for OPA tests which allows running Support Assistant checks.
It enriches the OPA assertions with the methods described in sap.ui.core.support.RuleEngineOpaAssertions.
For more information, see Integrating the Support Assistant in OPA Tests.
Method | Description |
---|---|
sap.ui.core.support.RuleEngineOpaExtension.extend |
Creates a new subclass of class sap.ui.core.support.RuleEngineOpaExtension with name
|
getAssertions | |
sap.ui.core.support.RuleEngineOpaExtension.getMetadata |
Returns a metadata object for class sap.ui.core.support.RuleEngineOpaExtension. |
Creates a new subclass of class sap.ui.core.support.RuleEngineOpaExtension with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.base.Object.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |