Autotest: Move unit plugin test creation closer to the tested code

The current pattern.

Change-Id: I52354584734755b3b0f3d2c9596801dc050300fc
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2024-01-19 12:25:23 +01:00
parent f9f43f7492
commit 45bb4a5f76
3 changed files with 52 additions and 57 deletions

View File

@@ -511,7 +511,7 @@ public:
ExtensionSystem::PluginManager::registerScenario("TestModelManagerInterface",
[] { return dd->m_loadProjectScenario(); });
addTest<AutoTestUnitTests>(&dd->m_testTreeModel);
addTestCreator(createAutotestUnitTests);
#endif
}