Merge the supplied inventory/exchange package into the latest DuneRealms source. Keep community-reward receipts, verified UUID linking, native menus and current website artwork, Dutch naming and account controls. Wire the inventory/sales adapters into the real CP session and verified-link schema, with isolated reads and honest unconfigured states. Preserve lobby/ender separation and Core-owned atomic exchange checkpoints. Validation: website build and 56 tests; 12 inventory/market adapter tests; Core/Essentials and NPC/Terrain/Lobby builds and tests; local browser inspection of the themed inventory, mannequin and History of sales with fictional fixtures. Paper 1.21.8 source only: live 1.21.4 binaries and databases are unchanged.
15 lines
847 B
Java
15 lines
847 B
Java
package com.example.duneess;
|
|
import com.example.dunegui.PlanetSigils;
|
|
import com.example.dunegui.PublicNames;
|
|
import org.junit.jupiter.api.Test;
|
|
import static org.junit.jupiter.api.Assertions.*;
|
|
class PlanetNamesTest {
|
|
@Test void newDisplayNamesRetainSavedIdentifiersAndFullCapitalization(){
|
|
assertEquals("Arrakduin",PlanetSigils.label("arrakis"));assertEquals("Kaladam",PlanetSigils.label("caladan"));
|
|
assertEquals("Giedermark",PlanetSigils.label("giedi_prime"));assertEquals("Kaiterhof",PlanetSigils.label("kaitain"));
|
|
assertEquals("Sigmadraken IV",PlanetSigils.label("sigma_draconis_iv"));
|
|
assertEquals("arrakis_world_id",PublicNames.text("arrakis_world_id"));
|
|
assertEquals("/duneess travel arrakis",PublicNames.text("/duneess travel arrakis"));
|
|
assertEquals("Arrakduin and Kaladam",PublicNames.text("Serevan and Pelareth"));
|
|
}
|
|
}
|

Staff