|
static | assertNotTag ($matcher, $actual, $message='', $ishtml=true) |
| Note: we are overriding this method to remove the deprecated error. More...
|
|
static | assertTag ($matcher, $actual, $message='', $ishtml=true) |
| Note: we are overriding this method to remove the deprecated error. More...
|
|
static | assertValidKeys (array $hash, array $validKeys) |
| Validate list of keys in the associative array. More...
|
|
static | findNodes (DOMDocument $dom, array $options, $isHtml=true) |
| Parse out the options from the tag using DOM object tree. More...
|
|
static | setUpBeforeClass () |
|
static | tearDownAfterClass () |
|
◆ __construct()
database_driver_testcase::__construct |
( |
|
$name = null , |
|
|
array |
$data = array() , |
|
|
|
$dataName = '' |
|
) |
| |
|
final |
Constructs a test case with the given name.
- Parameters
-
string | $name | |
array | $data | |
string | $dataName | |
◆ assertDebuggingCalled()
database_driver_testcase::assertDebuggingCalled |
( |
|
$debugmessage = null , |
|
|
|
$debuglevel = null , |
|
|
|
$message = '' |
|
) |
| |
Assert that exactly debugging was just called once.
Discards the debugging message if successful.
- Parameters
-
null | string | $debugmessage | null means any |
null | string | $debuglevel | null means any |
string | $message | |
◆ assertDebuggingNotCalled()
database_driver_testcase::assertDebuggingNotCalled |
( |
|
$message = '' | ) |
|
◆ 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 | |
◆ 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
-
◆ getDebuggingMessages()
database_driver_testcase::getDebuggingMessages |
( |
| ) |
|
Return debugging messages from the current test.
- Return values
-
array | with instances having 'message', 'level' and 'stacktrace' property. |
◆ 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()
database_driver_testcase::runBare |
( |
| ) |
|
Runs the bare test sequence.
- Return values
-
The documentation for this class was generated from the following file: