Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct ( $maintenanceClass, $options=[]) | |
setOptions (array $options) | |
setQuiet () | |
run () | |
getOutput () | |
Protected Attributes | |
$maintenanceClass = null | |
$options = [] | |
$output = null | |
$quiet = false | |
Running maintenance scripts via phpunit is not really possible but instead this class allows to execute script related classes that are equivalent to: php rebuildData.php --< myOptions >
SMW SMWExtension
GNU GPL v2+
SMW\Tests\Utils\Runners\MaintenanceRunner::__construct | ( | $maintenanceClass, | |
$options = [] |
|||
) |
string | $maintenanceClass | |
array | $options |
SMW\Tests\Utils\Runners\MaintenanceRunner::getOutput | ( | ) |
SMW\Tests\Utils\Runners\MaintenanceRunner::run | ( | ) |
RuntimeException | |
DomainException |
SMW\Tests\Utils\Runners\MaintenanceRunner::setOptions | ( | array | $options | ) |
SMW\Tests\Utils\Runners\MaintenanceRunner::setQuiet | ( | ) |