• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hpi-swa-teaching / TabletopUI / 26472226495 / 2
75%
develop: 71%

Build:
Build:
LAST BUILD BRANCH: gamemaster-player-distinguishment
DEFAULT BRANCH: develop
Ran 26 May 2026 08:10PM UTC
Files 991
Run time 35s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 May 2026 08:05PM UTC coverage: 73.127% (+1.3%) from 71.824%
26472226495.2

push

github

IvayloSta
Centralize state schema in TTGameStateKeys and make get/loadState JSON-safe

Introduce TTGameStateKeys in TabletopUI-Core as a class-side vocabulary
holding every state-serialization key as a named accessor. Route all
getState/loadState: methods across the state tree through it instead of
inline symbol literals, and finish the previously half-done loadState
restoration for fight and initiative contexts.

Production
- New TTGameStateKeys class with 17 schema-key accessors
- TTCharacter, TTActionLog, TTToken, TTMap, TTInputField, TTCommandParser,
  TTDefaultContext, TTFightContext, TTInitiativeContext all route
  get/loadState: through TTGameStateKeys instead of inline literals
- TTFightContext>>getState emits keyFightingPlayerNames as an Array of
  String (was emitting raw TTCharacter Morph objects under #fightingPlayers,
  which could not survive JSON serialization)
- TTInitiativeContext>>getState keys the rolls Dictionary by character
  name String instead of raw TTCharacter, for the same JSON-safety reason
- TTCommandParser>>loadState: restores fight order and initiative rolls
  (previously flagged as 'doesn't load real state'); characters are
  reconstructed from names with a default #player role - documented in
  the method's flag as a known follow-up

Tests
- State-related tests now reference TTGameStateKeys; previously commented
  or no-op bodies replaced with real value and round-trip assertions
- TTContextTestBase>>test01GetState renamed to assertContextHasGameStateKey
  to fix a Test Runner failure on the abstract base
- TTDefaultContextTest>>test04GetState restored
- TTFightContextTest, TTInitiativeContextTest, TTCharacterTest,
  TTActionLogTest, TTTokenTest, TTMapTest all updated to call the helper
  or assert real values
- TTMapTest>>mapInstantiationDict (115-line literal fixture) removed; the
  rewritten test methods construct their own data

TTActionLog's chat-synchronization additions (networkmanager wiring and
the registerMessage:/logI... (continued)

4237 of 5794 relevant lines covered (73.13%)

0.73 hits per line

Source Files on job 26472226495.2
  • Tree
  • List 991
  • Changed 19
  • Source Changed 15
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26472226495
  • be6e19e6 on github
  • Prev Job for on ci_repair (#26228991235.1)
  • Next Job for on ci_repair (#26515036444.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc