The output* can't exit or the unittest crash. Put an exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2375 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -24,6 +24,8 @@ class outputxml extends output
|
||||
$this->array_to_xml ($data, $xml);
|
||||
//saving generated xml file
|
||||
print $xml->asXML();
|
||||
if (!defined ("PHPUNIT"))
|
||||
exit;
|
||||
}
|
||||
|
||||
/** function defination to convert array to xml
|
||||
|
||||
Reference in New Issue
Block a user