void testImports (beast::Journal j) { testcase ("Imports"); TestLogic logic (j); Gossip g[5]; for (int i = 0; i < 5; ++i) createGossip (g[i]); for (int i = 0; i < 5; ++i) logic.importConsumers (std::to_string (i), g[i]); pass(); }
void testImports (beast::Journal j) { testcase ("Imports"); TestLogic logic (j); Gossip g[5]; for (int i = 0; i < 5; ++i) createGossip (g[i]); for (int i = 0; i < 5; ++i) logic.importConsumers (beast::String::fromNumber (i).toStdString(), g[i]); pass(); }