OpenCard  
 
OCF, the OpenCard Framework is a standard Java framework for working with Smart Cards.  
 

opencard.tests.terminal.pcsc
Class PCSCMfcTest1

java.lang.Object
  |
  +--opencard.tests.testframe.TestCase
        |
        +--opencard.tests.terminal.CTTestCase
              |
              +--opencard.tests.terminal.pcsc.PCSCMfcTest1

public class PCSCMfcTest1
extends CTTestCase

Test Procedure: PCSC Compliance Test (Part D: Functional Tests - Testing Reader with a Set of Smart Cards)
Test Case: IBM MFC PCSC Test 1
Description: Write/read Test with increasing Size
Required Card: IBM MFC 4.1 PCSC Compliance Test Card

Test Procure Overview:

Test Case Description Required Smartcard
PCSCMfcTest1 Write/read Test with increasing Size One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest2 Write/read Test with pattern 55 and AA for medium write current One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest3 Write/read Test with pattern 00 and FF for maximum write current One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest4 Select a non-existent file One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest5 Select Command without FileIF and Lc One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest6 Select Command without Invalid Path One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest7 Select command with Lc not matching the following Data length One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest8 Select command with APDU too short One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest9 Select command with invalid P2 One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest10 Select command without FileID but Le One IBM MFC 4.1 PCSC Compl. Test Card
PCSCMfcTest11 Card becomes unresponsive One IBM MFC 4.1 PCSC Compl. Test Card

Version:
$Id: PCSCMfcTest1.java,v 1.1 1999/12/03 09:31:38 damke Exp $
See Also:
opencard.tests.terminal.pcscs.PCSCMfcTest1, opencard.tests.terminal.pcscs.PCSCMfcTest2, opencard.tests.terminal.pcscs.PCSCMfcTest3, opencard.tests.terminal.pcscs.PCSCMfcTest4, opencard.tests.terminal.pcscs.PCSCMfcTest5, opencard.tests.terminal.pcscs.PCSCMfcTest6, opencard.tests.terminal.pcscs.PCSCMfcTest7, opencard.tests.terminal.pcscs.PCSCMfcTest8, opencard.tests.terminal.pcscs.PCSCMfcTest9, opencard.tests.terminal.pcscs.PCSCMfcTest10, opencard.tests.terminal.pcscs.PCSCMfcTest11

Fields inherited from class opencard.tests.terminal.CTTestCase
testCaseParams
 
Constructor Summary
PCSCMfcTest1()
          TestCase constructor comment.
 
Method Summary
 void informUser()
          Default
static void main(java.lang.String[] args)
          TestCase main (to start it as application).
 int testCase(SmartCard card)
          Test 1: Write/read Test with increasing sizes
 
Methods inherited from class opencard.tests.terminal.CTTestCase
start, startup, terminate, testCase, waitForCard
 
Methods inherited from class opencard.tests.testframe.TestCase
getTestFrameReference, setTestFrameReference, showActionRequired, showError, showInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PCSCMfcTest1

public PCSCMfcTest1()
TestCase constructor comment.
Method Detail

main

public static void main(java.lang.String[] args)
TestCase main (to start it as application).

informUser

public void informUser()
Default
Overrides:
informUser in class CTTestCase

testCase

public int testCase(SmartCard card)
             throws TestFailedException,
                    TestInitException
Test 1: Write/read Test with increasing sizes
Overrides:
testCase in class CTTestCase