aprs.me/test/aprsme_web
Graham McIntire 1d68868d27
refactor: pattern-match InfoLive.Show path parsing + add tests
- parse_path_element_with_link splits its fat `if`/or-chain into three
  focused helpers: linkable_callsign?/1 (regex + alias check),
  path_alias?/1 (four String.starts_with guards), and
  classify_path_element/2 (link vs. text dispatched on the boolean).
- display_for_element/2 chooses the callsign form with/without the
  asterisk via two function heads instead of an inline `if`.

Adds 7 tests covering the parse_path_with_links/1 public API — plain
callsigns, heard-via asterisk preservation, non-linkable aliases
(WIDE/TRACE/RELAY/TCPIP), q-constructs, whitespace trimming, and mixed
paths.
2026-04-23 14:23:16 -05:00
..
channels refactor: pattern-match in DeviceCache and DatabaseMetrics + add tests 2026-04-23 13:46:00 -05:00
controllers refactor: pattern-match CoreComponents.safe_row_id + CallsignController 2026-04-23 14:18:30 -05:00
integration Fix duplicate ID errors and optimize mobile callsign search 2025-10-25 13:39:34 -05:00
live refactor: pattern-match InfoLive.Show path parsing + add tests 2026-04-23 14:23:16 -05:00
plugs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
aprs_symbol_test.exs format 2025-07-09 16:22:58 -05:00
time_helpers_test.exs updates with parser updates 2025-08-03 09:19:31 -05:00
time_utils_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00
weather_units_test.exs test: broaden unit & property-test coverage (61.8% → 64.7%) 2026-04-23 13:32:09 -05:00