<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 196: Qualified TestFixture names are not demangled</title><link>https://sourceforge.net/p/cppunit/bugs/196/</link><description>Recent changes to 196: Qualified TestFixture names are not demangled</description><atom:link href="https://sourceforge.net/p/cppunit/bugs/196/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 18 Jan 2021 13:57:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cppunit/bugs/196/feed.rss" rel="self" type="application/rss+xml"/><item><title>#196 Qualified TestFixture names are not demangled</title><link>https://sourceforge.net/p/cppunit/bugs/196/?limit=25#f2e5</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I've also experienced same use, for some reason cppunit prints the length of the namespace.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emilio Garcia Quintana</dc:creator><pubDate>Mon, 18 Jan 2021 13:57:03 -0000</pubDate><guid>https://sourceforge.net6809c98a58071b3e98f7da552f5205957dffbb1b</guid></item><item><title>Qualified TestFixture names are not demangled</title><link>https://sourceforge.net/p/cppunit/bugs/196/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Background: I use cppunit 1.12.1 on a Linux/GCC platform. I like to put my testing classes in a namespace, such as:&lt;/p&gt;
&lt;p&gt;-- MyTests.cpp:&lt;br /&gt;
#include &amp;lt;cppunit/TestFixture.h&amp;gt;&lt;br /&gt;
#include &amp;lt;cppunit/extensions/HelperMacros.h&amp;gt;&lt;br /&gt;
namespace Testing&lt;br /&gt;
{&lt;br /&gt;
class MyTests : public CppUnit::TestFixture&lt;br /&gt;
{&lt;br /&gt;
public:&lt;br /&gt;
void setUp();&lt;br /&gt;
void tearDown();&lt;br /&gt;
void myTestcase();&lt;br /&gt;
protected:&lt;br /&gt;
CPPUNIT_TEST_SUITE(Testing::MyTests);&lt;br /&gt;
CPPUNIT_TEST(myTestcase);&lt;br /&gt;
CPPUNIT_TEST_SUITE_END();&lt;br /&gt;
};&lt;br /&gt;
}&lt;br /&gt;
--&lt;/p&gt;
&lt;p&gt;-- textmain.cpp:&lt;br /&gt;
int main(int argc, const char* argv[])&lt;br /&gt;
{&lt;br /&gt;
CppUnit::TextTestRunner runner;&lt;br /&gt;
runner.addTest(Testing::MyTests::suite());&lt;br /&gt;
CppUnit::BriefTestProgressListener listener;&lt;br /&gt;
runner.eventManager().addListener(&amp;amp;listener);&lt;br /&gt;
bool result = runner.run(argc &amp;gt; 1 ? argv[1] : "",&lt;br /&gt;
false,  // doWait&lt;br /&gt;
true,   // doPrintResult&lt;br /&gt;
true);  // doPrintProgress&lt;br /&gt;
return result ? 0 : 1;&lt;br /&gt;
}&lt;br /&gt;
--&lt;/p&gt;
&lt;p&gt;Problem: The name of the testing class is not properly demangled. For example:&lt;br /&gt;
"N7Testing7MyTestsE::myTestcase. : OK"&lt;br /&gt;
^^       ^       ^&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Svensson</dc:creator><pubDate>Mon, 16 Mar 2009 12:39:45 -0000</pubDate><guid>https://sourceforge.net9ba312978d7534ebd0056721a70c3a978ee6114e</guid></item></channel></rss>