Test Cases for the Smart Card Resource Manager Test (Windows Embedded CE 6.0)
1/6/2010
The following table shows the test cases for the Smart Card Resource Manager Test.
Test case | Description |
---|---|
1001 |
Lists all attached readers, introduces a card type, and verifies that the card in the reader is a known test card. The test then attempts to connect to the test card, read data from the card, and disconnect from the card. This test fails if the SCardEstablishContext, SCardListReaders, SCardIntroduceCardType, SCardListCards, SCardGetProviderId, SCardListInterfaces, SCardForgetCardType, SCardConnect, SCardTransmit, or SCardDisconnect function fails. |
1002 |
Simultaneously queries the test card for its interfaces using multiple threads. This test fails if the SCardEstablishContext, SCardListReaders, SCardLocateCards, SCardReleaseContext, SCardGetProviderId, SCardListCards, or SCardListInterfaces function fails. |
1003 |
Simultaneously queries the status of the test card using multiple threads. This test fails if the SCardEstablishContext, SCardListReaders, SCardLocateCards, SCardReleaseContext, SCardGetProviderId, SCardGetStatusChange, or SCardCancel function fails. |
1004 |
Simultaneously reads from the test card using multiple threads with the SCardTransmit function. This test fails if the SCardEstablishContext, SCardListReaders, SCardLocateCards, SCardReleaseContext, SCardGetProviderId, SCardConnect, SCardReconnect, SCardBeginTransaction, SCardTransmit, SCardDisconnect, or SCardEndTransaction function fails. |
1005 |
Simultaneously queries the state and protocol of the test card using multiple threads. The test also attempts to set the current protocol. This test fails if the SCardEstablishContext, SCardListReaders, SCardLocateCards, SCardReleaseContext, SCardGetProviderId, SCardConnect, SCardControl, SCardGetAttrib, SCardSetAttrib, or SCardDisconnect function fails. |