mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
* follow up of debug session, added failure/success to status message * return status messages instead of directly logging in functions returning CStatusMessage. * Ignore empty preformatted messages. * new log category
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f490504f52
commit
144ba62572
@@ -227,7 +227,7 @@ namespace BlackMiscTest
|
||||
if (dir.exists()) { dir.removeRecursively(); }
|
||||
|
||||
auto status = cache.saveToFiles(dir.absolutePath());
|
||||
QVERIFY(status.isEmpty());
|
||||
QVERIFY(status.isSuccess());
|
||||
|
||||
auto files = dir.entryInfoList(QDir::AllEntries | QDir::NoDotAndDotDot, QDir::Name);
|
||||
QCOMPARE(files.size(), 2);
|
||||
@@ -236,7 +236,7 @@ namespace BlackMiscTest
|
||||
|
||||
CValueCache cache2(CValueCache::LocalOnly);
|
||||
status = cache2.loadFromFiles(dir.absolutePath());
|
||||
QVERIFY(status.isEmpty());
|
||||
QVERIFY(status.isSuccess());
|
||||
QCOMPARE(cache2.getAllValues(), testData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user