/** * Sets the required binary contents. * * @return void */ protected function setUp() { parent::setUp(); if (phpucFileUtil::getOS() === phpucFileUtil::OS_WINDOWS) { $this->validBin = "@echo off\n\recho version 1.2.0"; } }
/** * Sets the required binary contents. * * @return void */ protected function setUp() { parent::setUp(); $this->clearTestContents(PHPUC_TEST_DIR . '/projects'); $this->clearTestContents(PHPUC_TEST_DIR . '/build'); $this->clearTestContents(PHPUC_TEST_DIR . '/logs'); if (phpucFileUtil::getOS() === phpucFileUtil::OS_WINDOWS) { $this->badBin = "@echo off\n\recho version-3.2.0"; $this->validBin = "@echo off\n\recho version 3.2.0"; $this->invalidBin = "@echo off\n\recho version 3.1.9"; } }