Свойство | Type | Description | |
---|---|---|---|
$active | boolean | Active flag | |
$results | array | Test results | |
$strict | boolean | Whether to use === or == when comparing |
Свойство | Type | Description | |
---|---|---|---|
$_template | string | Template | |
$_template_rows | string | Template rows | |
$_test_items_visible | array | List of visible test items |
Méthode | Description | |
---|---|---|
__construct ( ) : void | Constructor | |
active ( $state = TRUE ) : void | Make Unit testing active | |
report ( array $result = [] ) : string | Generate a report | |
result ( array $results = [] ) : array | Result Array | |
run ( mixed $test, mixed $expected = TRUE, string $test_name = 'undefined', string $notes = '' ) : string | Run the tests | |
set_template ( $template ) : void | Set the template | |
set_test_items ( array $items ) : void | Run the tests | |
use_strict ( boolean $state = TRUE ) : void | Use strict comparison |
Méthode | Description | |
---|---|---|
_backtrace ( ) : array | Generate a backtrace | |
_default_template ( ) : string | Get Default Template | |
_parse_template ( ) : void | Parse Template |
protected _backtrace ( ) : array | ||
Résultat | array |
protected _default_template ( ) : string | ||
Résultat | string |
protected _parse_template ( ) : void | ||
Résultat | void |
public set_template ( $template ) : void | ||
Résultat | void |
public set_test_items ( array $items ) : void | ||
$items | array | |
Résultat | void |
public use_strict ( boolean $state = TRUE ) : void | ||
$state | boolean | |
Résultat | void |
protected string $_template_rows | ||
Résultat | string |
protected array $_test_items_visible | ||
Résultat | array |
public bool $strict | ||
Résultat | boolean |