Share via


Running the Smart Card Resource Manager Test (Windows CE 5.0)

Send Feedback

The Smart Card Resource Manager Test executes the tux –o –d scardbvt command line on default execution. The following procedure shows how to test the full functionality and compatibility of the driver.

To run the Smart Card Resource Manager Test

  1. Connect all supported smart card readers to the target device.

  2. Insert a PC/SC Compliance card into every smart card reader on the target device.

  3. Start the test.

    For information about starting a CETK test, see Running CETK Tests.

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.

Remarks

This test library can have one or more optional command-line entries to change the behavior of the test. To specify one or more optional command-line entries to the test library, you must use the –c command-line option. This option forces Tux to pass the specified string into the test library.

See Also

Smart Card Resource Manager Test

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.