Skip to content

Tests: when the music plays - #41

Merged
jpcottin merged 2 commits into
mainfrom
test/music-sync
Oct 19, 2026
Merged

jpcottin merged 2 commits into
mainfrom
test/music-sync

Conversation

@jpcottin

Copy link
Copy Markdown
Owner

The test audio stub now records the music flag the game pushes, and six Google Test cases pin down syncMusic: silent on the title and playing in a round, still playing under Settings opened from a round, stopped while Sound is off and back when it is on again, stopped on the phone while the glasses play the round and back when they stop, kept on the glasses instance itself, and no engine means no calls. The audio paths were never exercised before: every test ran without an engine attached.

Verified on the host: 125 tests pass. The README test count will be updated once the open test PRs have landed, so they do not fight over the same line.

The test audio stub now records the music flag the game pushes, and six
Google Test cases pin down syncMusic: silent on the title and playing in
a round, still playing under Settings opened from a round, stopped while
Sound is off and back when it is on again, stopped on the phone while the
glasses play the round and back when they stop, kept on the glasses
instance itself, and no engine means no calls. The audio paths were never
exercised before: every test ran without an engine attached.

Verified on the host: 125 tests pass. The README test count will be
updated once the open test PRs have landed.
Keeps the high-score file tests and the music tests, and sets the README
suite count to the 128 tests the host run reports.
@jpcottin
jpcottin merged commit f9c7bb1 into main Oct 19, 2026
20 checks passed
@jpcottin
jpcottin deleted the test/music-sync branch October 19, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant