Yubico / yubikit-android

Yubico Mobile Android SDK - YubiKit
Apache License 2.0
108 stars 40 forks source link

Refactor `DeviceUtil.readInfo` #143

Closed AdamVe closed 3 months ago

AdamVe commented 3 months ago

Fixes an issue with DeviceUtil.readInfo() which was returning object with default values for several properties.

The method was refactored and now has new unit tests which verify the properties' content. New unit tests for achieving better test coverage were also added to DeviceUtil.getName() and helper structures.