/**
  * (non-PHPdoc)
  * @see tests/cbAbstractTests#tearDown()
  */
 protected function tearDown()
 {
     $this->_cbXMLGenerator = null;
     parent::tearDown();
 }
 /**
  * (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#tearDown()
  */
 protected function tearDown()
 {
     parent::tearDown();
 }
 /**
  * (non-PHPdoc)
  * @see tests/cbAbstractTests#tearDown()
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->_mockXMLHandler = null;
     $this->_cbPluginError = null;
 }
 /**
  * (non-PHPdoc)
  * @see tests/cbAbstractTests#tearDown()
  */
 protected function tearDown()
 {
     $this->_cbFDHandler = null;
     parent::tearDown();
 }
 /**
  * (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'));
 }
 /**
  * Global setup method for all test cases. Basic variables are initalized.
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     self::$_cbXMLBasic = PHPCB_TEST_LOGS . '/basic.xml';
     if (is_dir(PHPCB_TEST_OUTPUT)) {
         $this->_cleanUp(PHPCB_TEST_OUTPUT);
         rmdir(PHPCB_TEST_OUTPUT);
     }
     mkdir(PHPCB_TEST_OUTPUT);
 }
 /**
  * (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);
 }
 /**
  * Global setup method for all test cases. Basic variables are initalized. 
  * 
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     self::$_ccXMLFile = PHPCB_TEST_DIR . '/xmllint_codebrowser_merge.xml';
     self::$_cbXMLFile = PHPCB_TEST_DIR . '/ccCodeBrowser.xml';
     self::$_cbXMLBasic = PHPCB_TEST_DIR . '/basic.xml';
     self::$_cbTestFile = PHPCB_TEST_OUTPUT . '/cbTestFile.txt';
     self::$_cbTestXML = PHPCB_TEST_OUTPUT . '/cbTestXML.xml';
     self::$_cbGeneratedXMLTest = PHPCB_TEST_DIR . '/GeneratedXMLTest.xml';
     self::$_serializedErrors = PHPCB_TEST_DIR . '/serializedErrors.txt';
     mkdir(PHPCB_TEST_OUTPUT);
 }
 /**
  * (non-PHPdoc)
  * @see tests/cbAbstractTests#setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     $this->_cbFile = new CbFile('/some/file/name.php');
 }