MediaWikiTestResult.php 325 B

123456789101112131415161718
  1. <?php
  2. class MediaWikiTestResult extends PHPUnit_Framework_TestResult {
  3. private $cliArgs;
  4. public function __construct( array $cliArgs ) {
  5. $this->cliArgs = $cliArgs;
  6. }
  7. /**
  8. * Get the command-line arguments from phpunit.php
  9. * @return array
  10. */
  11. public function getMediaWikiCliArgs() {
  12. return $this->cliArgs;
  13. }
  14. }