Preserve the current Alpha source and artwork snapshot. See handoff/alpha-1.0.0.3 for actual deployed hashes, checks, staged follow-ups and the production pause. This checkpoint does not claim every source feature is deployed.
4 lines
531 B
Java
4 lines
531 B
Java
package com.dunerealms.quests;
|
|
import org.junit.jupiter.api.Test;
|
|
import static org.junit.jupiter.api.Assertions.*;
|
|
class ServerIdentityTest { @Test void everyConfiguredBackendIsAcceptedAndArbitraryScopesRejected(){for(String s:new String[]{"arrakis","kaitain","giedi_prime","caladan","sigma_draconis_iv","lobby"})assertTrue(DuneQuests.validServer(s),s);for(String s:new String[]{"","network","proxy","CALADAN","sigma-draconis-iv","../caladan"})assertFalse(DuneQuests.validServer(s),s);assertFalse(DuneQuests.validServer(null));}}
|

Staff