function __construct($plugin_name, $other_commands = "") { $this->other_commands = $other_commands; $this->commands_as_string = preg_replace("/\\s/", " ", $other_commands); $this->plugin_name = $plugin_name; parent::__construct(); }
function __construct($name, $flags, $dependency) { $this->name = $name; $this->flags = $flags; $this->dependencies = array($dependency); parent::__construct(); }
function __construct($pass, $dump = "dump", $dependency = "BasicParseTest") { $this->pass = $pass; // this might be dump-uppered $this->dump = $dump; $this->dependencies = array($dependency); parent::__construct(); }
function __construct($last_pass, $dump = "dump", $dependency = "BasicParseTest") { $this->last_pass = $last_pass; $this->name = "cb_{$last_pass}"; // this might be dump-uppered $this->dump = $dump; $this->dependencies = array($dependency); parent::__construct(); }
function run_command($command, $subject) { if ($command == $this->get_command_line1($subject)) { if (isset(CompareWithPHP::$cache[$subject])) { # print "fetching cached results\n"; return CompareWithPHP::$cache[$subject]; } else { # print "running and caching\n"; $results = parent::run_command($command, $subject); CompareWithPHP::$cache[$subject] = $results; # var_dump (CompareWithPHP::$cache); return $results; } } else { # print "not command 1\n"; return parent::run_command($command, $subject); } }
function run() { $this->copy_headers(); parent::run(); }
function check_prerequisites() { global $xerces_compiled_in; return parent::check_prerequisites() and $xerces_compiled_in != 'no'; }
function run() { parent::run(); $num_skipped = $this->solo_tests; echo "({$num_skipped} solo tests)\n"; }