/**
  * Gets a list of test names. Normally that will be all internal methods that start with the
  * name "test". This method should be overridden if you want a different rule.
  *
  * @return array List of test names.
  * @access public
  */
 function getTests()
 {
     return array_merge(array('start', 'startCase'), array_diff(parent::getTests(), array('testAction', 'testaction')), array('endCase', 'end'));
 }
Esempio n. 2
0
 function tearDown()
 {
     $this->fixture->drop($this->db);
     $folder =& new Folder(WWW_ROOT . 'uploads' . DS . 'meio');
     $folder->delete();
     parent::tearDown();
 }
 function run(&$reporter)
 {
     // TODO: Do something with the background
     parent::run($reporter);
 }