refs #759, #761 Track when a cache value notify slot is a member function to avoid duplicate calls.

This commit is contained in:
Mathew Sutcliffe
2016-09-09 17:48:56 +01:00
committed by Roland Winklmeier
parent ad0a7f9526
commit aeb15ea7be
4 changed files with 10 additions and 7 deletions

View File

@@ -191,7 +191,6 @@ namespace BlackMiscTest
void CTestValueCache::batched()
{
#if 0 // MS temp disabled 2016-09-09
CValueCache cache;
for (int i = 0; i < 2; ++i) { QTest::ignoreMessage(QtDebugMsg, QRegularExpression("Empty cache value")); }
CValueCacheUser user1(&cache);
@@ -209,7 +208,6 @@ namespace BlackMiscTest
QVERIFY(user2.m_value1.get() == 42);
QVERIFY(user2.m_value2.get() == 42);
});
#endif
}
void CTestValueCache::json()