#include namespace hex::test { std::map Tests::s_tests; bool initPluginImpl(std::string name) { if (name != "Built-in") { if(!initPluginImpl("Built-in")) return false; } hex::Plugin *plugin = hex::PluginManager::getPlugin(name); if (plugin == nullptr) { hex::log::fatal("Plugin '{}' was not found !", name); return false; }else if (!plugin->initializePlugin()) { hex::log::fatal("Failed to initialize plugin '{}' !", name); return false; } hex::log::info("Initialized plugin '{}' successfully", name); return true; } }