Skip to content

Conversation

@P-Storm
Copy link
Contributor

@P-Storm P-Storm commented Jul 16, 2025

The testing of probe logic I have isolated, and now is in a unit test. It tests if the search filter has 'serial number', 'index' and 'port' matching.

I have implemented this in a Static Dispatch way, because DeviceInfo is not mockable.

A small debate is if MatchInformation should return the result of a match -> bool, or a property to match on. I think the property one is for now the best option, but open for oppinions

@semanticdiff-com
Copy link

semanticdiff-com bot commented Jul 16, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  src/bmp_matcher.rs  7% smaller
  src/usb.rs  0% smaller

@dragonmux dragonmux added this to the v1.1 release milestone Aug 14, 2025
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.

2 participants