-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Factored out onboard and communication UI modules #98
Conversation
fe0dc79
to
be3a4e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great so far! I think there's a few things we need to tackle before we can think of getting this merged in, but we're not far off!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there! There's a few minor changes we need to do re safety and we're practically ready for unit tests!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Really liked the pin module refactor, things are more readable now IMHO. Thanks again for tackling this!
- Factored out onboard operations - Factored out communication operations - Removed unused parameters from unlock and pin modules - Reworked pin module
7433d4b
to
964df1f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor (but some important) additional comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great! Ready for unit tests!
58d8e40
to
f260f31
Compare
f260f31
to
7c00d07
Compare
b747e95
to
99712d5
Compare
…haviour based approach - Updated communication tests - Updated onboard tests - Updated pin tests - Updated unlock tests
dfdd146
to
4108443
Compare
- Reworked retries test to just assert that the returned value is valid - Changed some function names for clarity - Removed retries counter logic from mock - Added mock variables to assert that wipe and unlock operations are done while the device is locked - Added a test case to assert that pin capping is applied
4108443
to
58afed0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, retested and everything works properly on the physical device. Thanks for tackling this one!
rx
parameter from unlock and pin modules