Skip to content

test/docs: document and expand test coverage for connection priority and retries#491

Merged
cachebag merged 3 commits into
freedesktop-rs:masterfrom
Biqydu:master
Jul 10, 2026
Merged

test/docs: document and expand test coverage for connection priority and retries#491
cachebag merged 3 commits into
freedesktop-rs:masterfrom
Biqydu:master

Conversation

@Biqydu

@Biqydu Biqydu commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

This PR updates the documentation and adds additional tests for ConnectionOptions, particularly for autoconnect_priority and autoconnect_retries.

Although the implementation was already in place, the documentation needed clarification to better match NetworkManager's specifications. The test suite has also been expanded to cover boundary values, providing better confidence that the mapping behaves as expected.

Closes #218

@cachebag cachebag left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just a few notes

Comment thread nmrs/src/api/builders/wifi.rs Outdated
Comment thread nmrs/src/api/models/config.rs Outdated
Comment thread nmrs/src/api/builders/wifi.rs Outdated
Comment thread nmrs/src/api/builders/wifi.rs Outdated
@Biqydu

Biqydu commented Jul 10, 2026

Copy link
Copy Markdown
Contributor Author

LGTM just a few notes

Thanks for the links to the official specification and the thorough review!
You're completely right - my boundary choices were bad.

Pushed the fixes!

@cachebag cachebag merged commit 2f54778 into freedesktop-rs:master Jul 10, 2026
8 checks passed
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.

[REFACTOR] Add connection priority support for WiFi

2 participants