Menu

Commit [r325]  Maximize  Restore  History

* include/cppunit/plugin/PlugInManager.h:

* src/cppunit/PlugInManager.cpp: added two methods to use the plug-in
interface for Xml Outputter hooks.

* include/cppunit/plugin/TestPlugIn.h: added two methods to the plug-in
interface for Xml Outputter hooks.

* include/cppunit/plugin/TestPlugInAdapter.h:
* src/cppunit/plugin/TestPlugInAdapter.cpp: renamed TestPlugInDefaultImpl.
Added empty implementation for Xml outputter hook methods.

* include/cppunit/tools/StringTools.h:
* src/cppunit/tools/StringTools.cpp: added. Functions to manipulate string
(conversion, wrapping...)

* include/cppunit/tools/XmlElement.h:
* src/cppunit/XmlElement.cpp: renamed addNode() to addElement(). Added
methods to walk and modify XmlElement (for hook). Added documentation.
Use StringTools.

* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp: added hook calls & management.

* include/cppunit/XmlOutputterHook.h:
* src/cppunit/XmlOutputterHook.cpp: added. Hook to customize XML output.

* src/DllPlugInTester/DllPlugInTester.cpp: call plug-in XmlOutputterHook
when writing XML output. Modified so that memory is freed before
unloading the test plug-in (caused crash when freeing the XmlDocument).

* examples/ReadMe.txt:
* examples/ClockerPlugIn/ReadMe.txt: added details about the plug-in
(usage, xml content...)

* examples/ClockerPlugIn/ClockerModel.h:
* examples/ClockerPlugIn/ClockerModel.cpp: extracted from ClockerListener.
Represents the test hierarchy and tracked time for each test.

* examples/ClockerPlugIn/ClockerListener.h:
* examples/ClockerPlugIn/ClockerListener.cpp: extracted test hierarchy
tracking to ClockerModel. Replaced the 'flat' view option with a 'text'
option to print the timed test tree to stdout.

* examples/ClockerPlugIn/ClockerPlugIn.cpp: updated to hook the XML
output and use the new classes.

* examples/ClockerPlugIn/ClockerXmlHook.h:
* examples/ClockerPlugIn/ClockerXmlHook.cpp: added. XmlOutputterHook to
includes the timed test hierarchy and test timing in the XML output.

* examples/cppunittest/XmlElementTest.h:
* examples/cppunittest/XmlElementTest.cpp: added new test cases.

* examples/cppunittest/XmlOutputterTest.h:
* examples/cppunittest/XmlOutputterTest.cpp: added tests for
XmlOutputterHook.

blep 2002-06-14

1 2 > >> (Page 1 of 2)
changed /trunk/cppunit/ChangeLog
changed /trunk/cppunit/NEWS
changed /trunk/cppunit/TODO
changed /trunk/cppunit/examples/ClockerPlugIn/ClockerListener.cpp
changed /trunk/cppunit/examples/ClockerPlugIn/ClockerListener.h
added /trunk/cppunit/examples/ClockerPlugIn/ClockerModel.cpp
added /trunk/cppunit/examples/ClockerPlugIn/ClockerModel.h
changed /trunk/cppunit/examples/ClockerPlugIn/ClockerPlugIn.cpp
changed /trunk/cppunit/examples/ClockerPlugIn/ClockerPlugIn.dsp
added /trunk/cppunit/examples/ClockerPlugIn/ClockerXmlHook.cpp
added /trunk/cppunit/examples/ClockerPlugIn/ClockerXmlHook.h
changed /trunk/cppunit/examples/ClockerPlugIn/ReadMe.txt
changed /trunk/cppunit/examples/DumperPlugIn/DumperPlugIn.cpp
changed /trunk/cppunit/examples/ReadMe.txt
changed /trunk/cppunit/examples/cppunittest/XmlElementTest.cpp
changed /trunk/cppunit/examples/cppunittest/XmlElementTest.h
changed /trunk/cppunit/examples/cppunittest/XmlOutputterTest.cpp
changed /trunk/cppunit/examples/cppunittest/XmlOutputterTest.h
changed /trunk/cppunit/examples/examples.opt
added /trunk/cppunit/examples/msvc6/TestPlugIn
changed /trunk/cppunit/include/cppunit/Makefile.am
changed /trunk/cppunit/include/cppunit/XmlOutputter.h
added /trunk/cppunit/include/cppunit/XmlOutputterHook.h
changed /trunk/cppunit/include/cppunit/plugin/Makefile.am
changed /trunk/cppunit/include/cppunit/plugin/PlugInManager.h
/trunk/cppunit/ChangeLog Diff Switch to side-by-side view
Loading...
/trunk/cppunit/NEWS Diff Switch to side-by-side view
Loading...
/trunk/cppunit/TODO Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ClockerListener.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ClockerListener.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ClockerModel.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ClockerModel.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ClockerPlugIn.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ClockerPlugIn.dsp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ClockerXmlHook.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ClockerXmlHook.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ClockerPlugIn/ReadMe.txt Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/DumperPlugIn/DumperPlugIn.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/ReadMe.txt Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/XmlElementTest.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/XmlElementTest.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/XmlOutputterTest.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/XmlOutputterTest.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/examples.opt
Binary file was changed.
/trunk/cppunit/include/cppunit/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/cppunit/include/cppunit/XmlOutputter.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/include/cppunit/XmlOutputterHook.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/include/cppunit/plugin/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/cppunit/include/cppunit/plugin/PlugInManager.h Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)
MongoDB Logo MongoDB