integration of winscard patches: ideas for implementing test cases?

Dan Kegel dank at
Fri Nov 7 12:41:34 CST 2008

On Fri, Nov 7, 2008 at 10:27 AM, frechdachs69
<frechdachs69 at> wrote:
> I am currently wondering which test cases make sense after an integration of
> winscard patches. So far most API calls are directly related to pcsc-lite
> behaviour and therefore we need a result from pcsc-lite which is comparable
> with what Win/winscard.dll would return to us. But this is almost always
> depending on the smartcard reader setup at the local machine. As a result I
> see a problem to automate such tests without having underlying assumptions
> concerning the attached smartcard readers and maybe inserted (or not)

You might test whether a card is present, and skip tests if it's not.

> smartcards (i.e. specific hardware is necessary). Any ideas? Does anyone know
> whether someone has written a virtual card reader which can be accessed using
> pcsc-lite (i.e. an IFD handler exists which simulates reader behaviour)? says
it points to the source code for one...
- Dan

More information about the wine-devel mailing list