| 191 | |
| 192 | |
| 193 | void |
| 194 | XmlOutputter::addSuccessfulTest( Test *test, |
| 195 | int testNumber, |
| 196 | XmlElement *testsNode ) |
| 197 | { |
| 198 | XmlElement *testElement = new XmlElement( "Test" ); |
| 199 | testsNode->addElement( testElement ); |
| 200 | testElement->addAttribute( "id", testNumber ); |
| 201 | testElement->addElement( new XmlElement( "Name", test->getName() ) ); |
| 202 | |
| 203 | for ( Hooks::iterator it = m_hooks.begin(); it != m_hooks.end(); ++it ) |
| 204 | (*it)->successfulTestAdded( m_xml, testElement, test ); |
| 205 | } |
| 206 | |
| 207 | |
| 208 | CPPUNIT_NS_END |
nothing calls this directly
no test coverage detected