CompilerOutputter Vs TextOutputter

Manu Anand <ManuA-cEpbnE+3BAy/3pe1ocb+swC/[email protected]> Wed, 5 Mar 2003 20:40:31 +0530
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <5575473D4532D411BE4C009027E8C8380AB81561@masblrexc02.mascotsystems.com>
Hello again 
Sorry for bothering again but here is a dummy pgm I wrote to find diff
b/w these 2 outputters. I don't see any.

//Code

// Change the default outputter to a compiler error format outputter
   // The test runner owns the new outputter.
/*
   runner.setOutputter( CppUnit::CompilerOutputter::defaultOutputter( 
                                                        &runner.result(),
                                                        std::cerr ) );
*/

   // Change the default outputter to a xml format outputter
   // The test runner owns the new outputter.
   CppUnit::XmlOutputter *xmlOutputter = new 
		CppUnit::XmlOutputter(&runner.result(),std::cerr ) ;
   runner.setOutputter(xmlOutputter);

/*
   // Change the default outputter to a xml format outputter
   // The test runner owns the new outputter.
   CppUnit::TextOutputter *textOutputter = new 
		CppUnit::TextOutputter(&runner.result(),std::cerr ) ;
   runner.setOutputter(textOutputter);
*/

Also I'll like to know how do I get errors in my code?

Thanks
-Manu
There are things known and things Unknown.
In between are the doors - Jim Morrison


DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to Mascot Systems Limited and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at Mailadmin-cEpbnE+3BAy/3pe1ocb+swC/[email protected] Before opening attachments,
please scan for viruses. 




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com