/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_mockFDHandler = $this->_getMockFDHandler(); $this->_mockErrorHandler = $this->_getMockErrorHandler(); $this->_mockJSGenerator = $this->_getMockJSGenerator(); $this->_cbHTMLGenerator = new CbHTMLGenerator($this->_mockFDHandler, $this->_mockErrorHandler, $this->_mockJSGenerator); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_mockFDHandler = $this->_getMockFDHandler(); $this->_cbXMLGenerator = new CbXMLGenerator($this->_mockFDHandler); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $issueXML = new CbIssueXML(); $xml = new DOMDocument('1.0', 'UTF-8'); $xml->validateOnParse = true; $xml->loadXML($this->_testXml); $issueXML->addXMLFile($xml); $this->_cbErrorCheckstyle = new CbErrorCheckstyle($issueXML); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $issueXML = new CbIssueXML(); $xml = new DOMDocument('1.0', 'UTF-8'); $xml->loadXML($this->_testXml); $issueXML->addXMLFile($xml); $this->_cbErrorPmd = new CbErrorPMD($issueXML); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_ioHelper = new CbIOHelper(); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_cbErrorCPD = new CbErrorCPD('source/', $this->_getMockXMLHandler()); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ public function setUp() { parent::setUp(); $this->_mockXMLHandler = $this->_getMockXMLHandler(); $this->_cbPluginError = new CbMockPluginError(PHPCB_SOURCE, $this->_mockXMLHandler); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_cbFDHandler = new CbFDHandler(); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_cbSourceHandler = new CbSourceHandler(Log::singleton('null')); array_walk($this->_plugins, array($this->_cbSourceHandler, 'addPlugin')); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_mockXMLHandler = $this->_getMockXMLHandler(); $this->_cbErrorHandler = new CbErrorHandler($this->_mockXMLHandler); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_ioMock = $this->getMock('CbIOHelper'); $this->_cbViewReview = new CbViewReview(PHPCB_ROOT_DIR . '/templates/', PHPCB_TEST_OUTPUT, $this->_ioMock); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_cbIssue = new CbIssue('testFileName', 23, 27, 'testFinder', 'testDescription', 'notice'); }
/** * (non-PHPdoc) * @see tests/cbAbstractTests#setUp() */ protected function setUp() { parent::setUp(); $this->_cbFile = new CbFile('/some/file/name.php'); }