/** * The constructor sets the build file name. * * @param string $name An optional test case name. * @param array $data An optional data array. */ public function __construct($name = null, array $data = array()) { parent::__construct($name, $data); $this->fileName = PHPUC_TEST_DIR . '/build.xml'; }
/** * The ctor sets the build file name. * * @param string $name An optional test case name. * @param array $data An optional data array. */ public function __construct($name = null, array $data = array()) { parent::__construct($name, $data); $this->fileName = PHPUC_TEST_DIR . '/build.xml'; $this->buildXML = sprintf('<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL . '<project name="%s" default="build" basedir=".">' . PHP_EOL . ' <target name="build" depends=""/>' . PHP_EOL . '</project>', $this->projectName); }