Namespace: SeLiteAutoCheck

SeLiteAutoCheck

Methods

(static) Detector(required, refused, ignored, assert)

Parent class of all Auto Check detectors. For description of items of parameters required, refused and ignored check the actual implementation subclasses. When debugging failedXYZ() methods, beware that running a single verification that fails (by double-clicking) doesn't log any message about the failure. It only highlights the command (in the editor matrix) in red/pink. Only when you run a test case/suite then any failed verifications log their messages in the log (in red).
Parameters:
Name Type Description
required object Object serving as an array of entries matching any required contents. In default implementation an entry can be any Selenese locator.
refused object Object serving as an array of entries matching any refused contents. In default implementation an entry can be any Selenese locator.
ignored object Object serving as an array of entries matching any ignored notices/warnings/errors. The detail of on using these entries is up to the implementation of failedNotIgnored(document) in the actual subclass. In default implementation an entry can be any Selenese locator.
assert boolean Whether to run the checks as assertions; otherwise they are run as validation only. Optional, false by default.
Source:

(static) DetectorPHP(required, refused, ignored, assert)

Auto Check for PHP (optionally with XDebug).
Parameters:
Name Type Description
required object Object of locators.
refused object Object of locators.
ignored object Object of logical XPath conditions - expressions that fit into [] part of XPath. They match warnings/notices/errors that are not to be reported. They can refer to the matched text node as '.'. They should not contain relative references to parent/sibling nodes. They can match an error message (a part after 'Notice', 'Warning', 'Error') or the file path of the leaf file where the error comes from. If you follow this, the matching works whether you use PHP with Xdebug or without it.
assert boolean See the same parameter of SeLiteAutoCheck.Detector().
Source: