Decouple tests for RealModel and JobModel
Also closes the first list items of #492 (closed):
-
TestJobRealModel often fails, with timeout from Tests/Unit/GUI/TestJobRealModel.cpp line 98 (current work around: wait 300ms after each write)
While DataItem::setSaveInBackground(false)
enables saving in the main thread, QTest::qSleep(10)
is still in use. Without qSleep
tests may randomly fail, although waiting time still can be reduced.
Edited by Mikhail Svechnikov