[Cppunit-devel] XmlElement member function ?
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2006-06-30 08:40:54
|
Hi, I'm currently creating a testing framework (involving CppUnit) which periodically compares the output of my tests executions. To do so, I use CppUnit XML output and parse the output file. My problem (which is not a big issue anyway as it is trivial to find a workaround) is that I'd like to use a different "id" argument for, for instance, each <TestFailed> tags, but these tags already own an "id" attribute. I'm wondering why there is no removeAttribute() method in XmlElement class. At least I would have expected m_attributes to be protected instead of private, so that one could derivate XmlElement class and do whatever I want. This looks like a useless limitation (although not so painful, I agree). Regards, Antoine. -- Jabber ID : ato...@fr... tel : +33 6 86 75 99 35 |