function testGetfilenames() { $handler = new CoverageDataHandler($this->tempdb()); $handler->createSchema(); $rawCoverage = array('file0' => array(), 'file1' => array()); $handler->write($rawCoverage); $actual = $handler->getFilenames(); $this->assertEqual(array('file0', 'file1'), $actual); }
public function &getTouchedFiles() { $handler = new CoverageDataHandler($this->log); $touched = $handler->getFilenames(); return $touched; }