mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove spaces from unit test package and class names
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ public:
|
||||
|
||||
void runTest ()
|
||||
{
|
||||
beginTestCase ("pass");
|
||||
beginTestCase ("fail");
|
||||
|
||||
fail ("Intentional failure");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user