/**
  * Override the default reporter with a custom configured subclass.
  *
  * @param string $reporter
  */
 static function set_reporter($reporter)
 {
     if (is_string($reporter)) {
         $reporter = new $reporter();
     }
     self::$default_reporter = $reporter;
 }
Exemplo n.º 2
0
 function jstests($request)
 {
     return JSTestRunner::create();
 }