factory() public method

public factory ( $xmlContent )
Beispiel #1
0
 /**
  * Get results of unit test suites by the file where the junit result is logged
  * 
  * @param string $logPath
  * @return UnitCollectionInterface
  */
 public function getSuiteResult($logPath)
 {
     $factory = new XUnitFactory();
     $results = $factory->factory(file_get_contents($logPath));
     return $results;
 }