use of io.kamax.mxisd.config.ExecConfig in project mxisd by kamax-io.
the class ExecProfileStoreTest method getStore.
private ExecProfileStore getStore(String command) {
ExecConfig cfg = getCfg();
cfg.getProfile().getDisplayName().setCommand(command);
cfg.getProfile().getThreePid().setCommand(command);
cfg.getProfile().getRole().setCommand(command);
return getStore(cfg);
}
use of io.kamax.mxisd.config.ExecConfig in project mxisd by kamax-io.
the class ExecProfileStoreTest method getCfg.
private ExecConfig getCfg() {
ExecConfig cfg = new ExecConfig().build();
assertFalse(cfg.isEnabled());
cfg.setEnabled(true);
assertTrue(cfg.isEnabled());
cfg.getProfile().getDisplayName().getOutput().setType(ExecStore.JsonType);
cfg.getProfile().getThreePid().getOutput().setType(ExecStore.JsonType);
cfg.getProfile().getRole().getOutput().setType(ExecStore.JsonType);
return cfg;
}
Aggregations