|
| runBare () |
| Runs the bare test sequence and log any changes in global state or database.
|
|
|
static | all_plugins_provider () |
| Data provider for testing of all available plugins.
|
|
static | assertNotTag ($matcher, $actual, $message='', $ishtml=true) |
| Note: we are overriding this method to remove the deprecated error.
|
|
static | assertTag ($matcher, $actual, $message='', $ishtml=true) |
| Note: we are overriding this method to remove the deprecated error.
|
|
static | assertValidKeys (array $hash, array $validKeys) |
| Validate list of keys in the associative array.
|
|
static | findNodes (DOMDocument $dom, array $options, $isHtml=true) |
| Parse out the options from the tag using DOM object tree.
|
|
|
| fetch_array_from_file (string $phpfile, string $variablename) |
| Include file and return an array variable defined in its global scope.
|
|
◆ all_plugins_provider()
static core\tests\plugin_checks_testcase::all_plugins_provider |
( |
| ) |
|
|
static |
Data provider for testing of all available plugins.
- Return values
-
array | as array of [component, plugintype, pluginname, dir] |
◆ assertNotTag()
static base_testcase::assertNotTag |
( |
| $matcher, |
|
|
| $actual, |
|
|
| $message = '', |
|
|
| $ishtml = true ) |
|
staticinherited |
◆ assertTag()
static base_testcase::assertTag |
( |
| $matcher, |
|
|
| $actual, |
|
|
| $message = '', |
|
|
| $ishtml = true ) |
|
staticinherited |
◆ assertValidKeys()
static base_testcase::assertValidKeys |
( |
array | $hash, |
|
|
array | $validKeys ) |
|
staticinherited |
Validate list of keys in the associative array.
- Parameters
-
array | $hash | |
array | $validKeys | |
- Return values
-
- Exceptions
-
PHPUnit::Framework::Exception | |
◆ fetch_array_from_file()
core\tests\plugin_checks_testcase::fetch_array_from_file |
( |
string | $phpfile, |
|
|
string | $variablename ) |
|
protected |
Include file and return an array variable defined in its global scope.
This is intended primarily for files inside plugin /db/ subdirectory.
- Parameters
-
string | $phpfile | |
string | $variablename | |
- Return values
-
array|null | NULL means file does not exist |
◆ findNodes()
static base_testcase::findNodes |
( |
DOMDocument | $dom, |
|
|
array | $options, |
|
|
| $isHtml = true ) |
|
staticinherited |
Parse out the options from the tag using DOM object tree.
- Parameters
-
DOMDocument | $dom | |
array | $options | |
bool | $isHtml | |
- Return values
-
◆ getDescendants()
static base_testcase::getDescendants |
( |
DOMNode | $node | ) |
|
|
staticprotectedinherited |
Recursively get flat array of all descendants of this node.
- Parameters
-
- Return values
-
◆ getElementsByCaseInsensitiveTagName()
static base_testcase::getElementsByCaseInsensitiveTagName |
( |
DOMDocument | $dom, |
|
|
| $tag ) |
|
staticprotectedinherited |
Gets elements by case insensitive tagname.
- Parameters
-
DOMDocument | $dom | |
string | $tag | |
- Return values
-
◆ getNodeText()
static base_testcase::getNodeText |
( |
DOMNode | $node | ) |
|
|
staticprotectedinherited |
Get the text value of this node's child text node.
- Parameters
-
- Return values
-
◆ runBare()
basic_testcase::runBare |
( |
| ) |
|
|
finalinherited |
Runs the bare test sequence and log any changes in global state or database.
- Return values
-
The documentation for this class was generated from the following file:
- lib/tests/classes/plugin_checks_testcase.php