Skip to content

Commit

Permalink
Fix display of unit tests in QtCreator
Browse files Browse the repository at this point in the history
Unless I do this ugly thing - I don't see the unit tests in QtCreator
14.01/Windows.

It works, so lets move on.
  • Loading branch information
diegoiast committed Nov 16, 2024
1 parent 303141c commit 5bfeb1f
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions tests/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,27 @@ int main(int argc, char *argv[])
{
int status = 0;

runTest(Test_Versioning);
runTest(Test_Updater);
runTest(Test_Downloader);
runTest(Test_QSimpleUpdater);
// runTest(Test_Versioning);
// runTest(Test_Updater);
// runTest(Test_Downloader);
// runTest(Test_QSimpleUpdater);

{
Test_Versioning tt;
status |= QTest::qExec(&tt, argc, argv);
}
{
Test_Updater tt;
status |= QTest::qExec(&tt, argc, argv);
}
{
Test_Downloader tt;
status |= QTest::qExec(&tt, argc, argv);
}
{
Test_QSimpleUpdater tt;
status |= QTest::qExec(&tt, argc, argv);
}

return status;
}

0 comments on commit 5bfeb1f

Please sign in to comment.