Skip to content

Conversation

@CascadePass
Copy link
Owner

No description provided.

@CascadePass CascadePass added unit test Automated testing is needed core logic Related to cpap-lib, eeg, etc labels Feb 7, 2025
@CascadePass CascadePass linked an issue Feb 7, 2025 that may be closed by this pull request
It was discovered through testing that RefreshTimeRange will throw if it's called before any sessions have been added, or after the last has been removed.  So far the UI appears to do a perfect job of only calling this method when the object is in a state that supports it, this can easily lead to a bug and probably a crash.  Now the method handles the no sessions case gracefully and resets affected properties to their defaults instead.
@CascadePass CascadePass merged commit 326c875 into master Feb 10, 2025
1 check passed
@CascadePass CascadePass deleted the AddDailyReportTests branch February 10, 2025 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core logic Related to cpap-lib, eeg, etc unit test Automated testing is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test: Add unit tests for DailyReport

2 participants