Remove spaces from unit test package and class names

This commit is contained in:
Vinnie Falco
2013-08-13 13:29:00 -07:00
parent b62789ead8
commit 17c6157c29
3 changed files with 4 additions and 4 deletions

View File

@@ -24,8 +24,8 @@
UnitTest::UnitTest (String const& className,
String const& packageName,
When when)
: m_className (className)
, m_packageName (packageName)
: m_className (className.removeCharacters (" "))
, m_packageName (packageName.removeCharacters (" "))
, m_when (when)
, m_runner (nullptr)
{

View File

@@ -408,7 +408,7 @@ public:
package, regardless of the manual run setting. If no test with a
matching package and test name is found, then no test is selected.
"/" <testname>
"." <testname>
Selects the first test which matches the testname, even if it
is a manual test.

View File

@@ -148,7 +148,7 @@ public:
void runTest ()
{
beginTestCase ("pass");
beginTestCase ("fail");
fail ("Intentional failure");
}