test: add identify test

fix some bugs found in testing

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-08-15 14:43:34 +08:00
committed by Comix
parent de09f3dbc2
commit a3dd315e33
15 changed files with 250 additions and 85 deletions

View File

@ -43,5 +43,5 @@ TEST_F(TestJobManager, addJob)
return QVariant::fromValue(true);
},
args);
QThread::sleep(1); // force wait
QThreadPool::globalInstance()->waitForDone();
}