mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 17:53:08 +09:00
13 lines
468 B
C
13 lines
468 B
C
|
|
#include <cppunit/XmlOutputter.h>
|
|
|
|
#define SETUP_XML_WRITER(runner, output) \
|
|
ofstream outputFile(output); \
|
|
CppUnit::XmlOutputter* outputter = \
|
|
new CppUnit::XmlOutputter(&runner.result(), outputFile); \
|
|
\
|
|
runner.setOutputter(outputter);
|
|
|
|
#define END_XML_WRITER outputFile.close();
|
|
|