<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 196: Qualified TestFixture names are not demangled</title><link href="https://sourceforge.net/p/cppunit/bugs/196/" rel="alternate"/><link href="https://sourceforge.net/p/cppunit/bugs/196/feed.atom" rel="self"/><id>https://sourceforge.net/p/cppunit/bugs/196/</id><updated>2021-01-18T13:57:03.440000Z</updated><subtitle>Recent changes to 196: Qualified TestFixture names are not demangled</subtitle><entry><title>#196 Qualified TestFixture names are not demangled</title><link href="https://sourceforge.net/p/cppunit/bugs/196/?limit=25#f2e5" rel="alternate"/><published>2021-01-18T13:57:03.440000Z</published><updated>2021-01-18T13:57:03.440000Z</updated><author><name>Emilio Garcia Quintana</name><uri>https://sourceforge.net/u/emiliogq/</uri></author><id>https://sourceforge.net6809c98a58071b3e98f7da552f5205957dffbb1b</id><summary type="html">&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;</summary></entry><entry><title>Qualified TestFixture names are not demangled</title><link href="https://sourceforge.net/p/cppunit/bugs/196/" rel="alternate"/><published>2009-03-16T12:39:45Z</published><updated>2009-03-16T12:39:45Z</updated><author><name>Martin Svensson</name><uri>https://sourceforge.net/u/userid-605241/</uri></author><id>https://sourceforge.net9ba312978d7534ebd0056721a70c3a978ee6114e</id><summary type="html">&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;</summary></entry></feed>