Class sap.ui.test.matchers.AncestorModule: sap/ui/test/matchers/Ancestor


Ancestor - checks if a control has a defined ancestor


Since: 1.27.
Constructor Summary
new sap.ui.test.matchers.Ancestor(oAncestorControl, bDirect?)
Constructor Detail
new sap.ui.test.matchers.Ancestor(oAncestorControl, bDirect?)
Parameters:
{object}oAncestorControl the ancestor control to check, if undefined, validates every control to true
{boolean}bDirect? specifies if the ancestor should be a direct ancestor (parent)