Hi there.
I have some unittests that compare strings, that look something like this,
when they are run, and fails:
boost_extract_xml_from_es_task_package.cc(106): error in "itemorder":
check "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>todo" ==
output_24575997 failed [<?xml version="1.0" encoding="ISO-8859-1"?>todo !=
<?xml version="1.0" encoding="ISO-8859-1"?><!-- Alle
niveauer -->http://www.loc.gov/z3950/agency/defns/ill5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/z3950/agency/defns/ill5
http://www.bs.dk/standards/illv5.xsd"><transaction-id
transaction-qualifier="87792"
transaction-group-qualifier="87792"><initial-requester-id><person-or-institution-symbol><institution-symbol>DK-726000</institution-symbol></person-or-institution-symbol></initial-requester-id></transaction-id><service-date-time><date-time-of-this-service
date="2008-09-27"></date-time-of-this-service></service-date-time><requester-id><person-or-institution-symbol><institution-symbol>DK-726000</institution-symbol></person-or-institution-symbol></requester-id><responder-id><person-or-institution-symbol><institution-symbol>720100</institution-symbol></person-or-institution-symbol></responder-id><iLL-service-type>1</iLL-service-type><item-id><held-medium-type></held-medium-type><system-no>id=42780960
og lok=870970</system-no></item-id>]
Now, this is almost impossible to read.
Is there a way to massage the framework into giving output similar to how
nunit does it, something like:
boost_extract_xml_from_es_task_package.cc(106): error in "itemorder":
check "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>todo" ==
output_24575997 failed
output differs at position 42
expected ...ISO-8859-1"?>
Reply