use of org.openksavi.sponge.engine.SpongeEngine in project sponge by softelnet.
the class TestUtils method testExample.
public static void testExample(String config, int timeout) {
logger.info("Testing {}", config);
SpongeEngine engine = DefaultSpongeEngine.builder().config(config).build();
SpongeUtils.trialRunEngine(engine, timeout);
if (engine.isError()) {
throw SpongeUtils.wrapException(engine.getError());
}
}
Aggregations