Add TracketMutex unit test

This commit is contained in:
Vinnie Falco
2013-08-23 17:49:14 -07:00
parent 04f9270772
commit db05b9ff04
3 changed files with 103 additions and 0 deletions

View File

@@ -102,6 +102,11 @@ void UnitTest::logMessage (String const& message)
m_runner->logMessage (message);
}
void UnitTest::logReport (StringArray const& report)
{
m_runner->logReport (report);
}
void UnitTest::beginTestCase (String const& name)
{
finishCase ();
@@ -364,6 +369,12 @@ void UnitTests::logMessage (const String& message)
Logger::writeToLog (message);
}
void UnitTests::logReport (StringArray const& report)
{
for (int i = 0; i < report.size (); ++i)
logMessage (report [i]);
}
void UnitTests::runTest (UnitTest& test)
{
try