Skip to content

fix(4269): Add LongTurbo preset name and tests#4273

Merged
jamesarich merged 2 commits intomainfrom
fix/config-sync
Jan 21, 2026
Merged

fix(4269): Add LongTurbo preset name and tests#4273
jamesarich merged 2 commits intomainfrom
fix/config-sync

Conversation

@jamesarich
Copy link
Collaborator

This commit introduces support for the LONG_TURBO modem preset by mapping it to the display name "LongTurbo" in the Channel model.

Additionally, a new test case, allModemPresetsHaveValidNames, has been added to ChannelTest.kt. This test iterates through all ModemPreset enum values to verify that each one is mapped to a valid, non-"Invalid" channel name, ensuring robustness and preventing future regressions.

resolves #4269

This commit introduces support for the `LONG_TURBO` modem preset by mapping it to the display name "LongTurbo" in the `Channel` model.

Additionally, a new test case, `allModemPresetsHaveValidNames`, has been added to `ChannelTest.kt`. This test iterates through all `ModemPreset` enum values to verify that each one is mapped to a valid, non-"Invalid" channel name, ensuring robustness and preventing future regressions.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions bot added the bugfix PR tag label Jan 21, 2026
@jamesarich jamesarich enabled auto-merge January 21, 2026 02:56
@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (85a6900) to head (a8e5290).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4273   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         23      23           
  Branches       7       7           
=====================================
  Misses        23      23           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich added this pull request to the merge queue Jan 21, 2026
Merged via the queue into main with commit 7173a2d Jan 21, 2026
9 checks passed
@jamesarich jamesarich deleted the fix/config-sync branch January 21, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: BaseUI performed Radio Preset changes = Invalid Channel

1 participant