use of com.djrapitops.plan.settings.config.paths.key.Setting in project Plan by plan-player-analytics.
the class NukkitSystemTest method nukkitSystemHasDefaultConfigValuesAfterEnable.
@Test
void nukkitSystemHasDefaultConfigValuesAfterEnable() throws EnableException, IllegalAccessException {
try {
system.enable();
PlanConfig config = system.getConfigSystem().getConfig();
Collection<Setting> serverSettings = TestSettings.getServerSettings();
TestSettings.assertValidDefaultValuesForAllSettings(config, serverSettings);
} finally {
system.disable();
}
}
use of com.djrapitops.plan.settings.config.paths.key.Setting in project Plan by plan-player-analytics.
the class SpongeSystemTest method spongeSystemHasDefaultConfigValuesAfterEnable.
@Test
void spongeSystemHasDefaultConfigValuesAfterEnable() throws EnableException, IllegalAccessException {
try {
system.enable();
PlanConfig config = system.getConfigSystem().getConfig();
Collection<Setting> serverSettings = TestSettings.getServerSettings();
TestSettings.assertValidDefaultValuesForAllSettings(config, serverSettings);
} finally {
system.disable();
}
}
Aggregations