RE: CompilerOutputter Vs TextOutputter

"Cremin, Patrick" <[email protected]> Wed, 5 Mar 2003 07:22:12 -0800
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <25BCE2B1149CDA4E9758CC08E70A20A9F24A4F@eahq-mb1>
Could you send your complete main(). Also, I assume the xmloutputter
does give you XML right?

Patrick

=20

-----Original Message-----
From: Manu Anand [mailto:ManuA-cEpbnE+3BAy/3pe1ocb+swC/[email protected]]=20
Sent: Wednesday, March 05, 2003 9:11 AM
To: '[email protected]'
Subject: [Cppunit-devel] CompilerOutputter Vs TextOutputter

Hello again=20
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(=20
=20
&runner.result(),
                                                        std::cerr ) );
*/

   // Change the default outputter to a xml format outputter
   // The test runner owns the new outputter.
   CppUnit::XmlOutputter *xmlOutputter =3D new=20
		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 =3D new=20
		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.=20




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The
debugger=20
for complex code. Debugging C/C++ programs can leave you feeling lost
and=20
disoriented. TotalView can help you find your way. Available on major
UNIX=20
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Cppunit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cppunit-devel


-------------------------------------------------------
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