GoogleChromeLabs / chromeos_smart_card_connector

Smart Card Connector App for Chrome OS
https://chrome.google.com/webstore/detail/smart-card-connector/khpfeaanjngmcnplbdlpegiifgpfgdco
Apache License 2.0
134 stars 49 forks source link

[PC/SC tests] Test Connect on all simulated readers #1084

Closed emaxx-google closed 1 year ago

emaxx-google commented 1 year ago

Add tests that execute SCardConnect/SCardDisconnect in pattern tests that are instantiated for every card+reader combination we simulate in tests.

We also slightly change the structure of these templated tests, so that we can have a single test for such common functionality that's the same on both "regular readers" and "readers with built-in cards" (e.g., Yubikeys).

github-actions[bot] commented 1 year ago

Continuous Integration: All tests passed. C/C++ test coverage: 72.49% lines.