refs #730 Updated tests.

This commit is contained in:
Mathew Sutcliffe
2016-08-12 23:27:06 +01:00
parent 661254371c
commit f85db3cffb

View File

@@ -132,7 +132,7 @@ namespace BlackMiscTest
void CTestValueCache::localOnly()
{
CValueCache cache;
for (int i = 0; i < 4; ++i) { QTest::ignoreMessage(QtDebugMsg, QRegularExpression("Empty cache value")); }
for (int i = 0; i < 2; ++i) { QTest::ignoreMessage(QtDebugMsg, QRegularExpression("Empty cache value")); }
CValueCacheUser user1(&cache);
CValueCacheUser user2(&cache);
testCommon(user1, user2);
@@ -141,7 +141,7 @@ namespace BlackMiscTest
void CTestValueCache::localOnlyWithThreads()
{
CValueCache cache;
for (int i = 0; i < 4; ++i) { QTest::ignoreMessage(QtDebugMsg, QRegularExpression("Empty cache value")); }
for (int i = 0; i < 2; ++i) { QTest::ignoreMessage(QtDebugMsg, QRegularExpression("Empty cache value")); }
CValueCacheUser user1(&cache);
CValueCacheUser user2(&cache);
CRegularThread thread;
@@ -192,7 +192,7 @@ namespace BlackMiscTest
void CTestValueCache::batched()
{
CValueCache cache;
for (int i = 0; i < 4; ++i) { QTest::ignoreMessage(QtDebugMsg, QRegularExpression("Empty cache value")); }
for (int i = 0; i < 2; ++i) { QTest::ignoreMessage(QtDebugMsg, QRegularExpression("Empty cache value")); }
CValueCacheUser user1(&cache);
CValueCacheUser user2(&cache);