CodeView
Back to article:
prod
tests
integration
reference-output
Ko
resources
test-clones
xml
custom-file
default-file
dist-file
special
tools
Base
Ko
unit
<?php /** * @author Michael Heim * @link http://www.zeilenwechsel.de/ * @version 1.2.0 * @license http://www.zeilenwechsel.de/it/code/browse/komodo-phpunit-harness/prod/license.txt */ /** * Object representing multiple sets of switches for a test harness. The switches * are passed in as an array of strings and will be used unchanged. */ class CustomOptionSet extends DebugOptionSet { /* @var array */ protected $switch_configurations; /** * @param array $switch_configurations an array of strings, each containing the * switches for a desired configuration */ public function __construct( array $switch_configurations ) { $this->switch_configurations = $switch_configurations; } /** * Returns an array of argument strings covering all possible combinations of options. * * @return array */ protected function get_argstring_sets () { return $this->switch_configurations; } } ?>