mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add TracketMutex unit test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user