6.3.3 Applet Triggering
3GPP51.013Release 17Test specification for Subscriber Identity Module (SIM) Application Programming Interface (API) for Java CardTS
6.3.3.1 EVENT_PROFILE_DOWNLOAD
Test Area Reference: FWK_APT_EPDW
6.3.3.1.1 Conformance Requirement
6.3.3.1.1.1 Normal Execution
- CRRN1: Upon the reception of Terminal Profile command by the SIM, the STF stores the ME Profile and then triggers the registered toolkit applets.
- CRRN2: The applet is not triggered by the EVENT_PROFILE_DOWNLOAD once it has deregistered from this event.
- CRRN3: The STF shall not reply busy to a Terminal Profile command
6.3.3.1.1.2 Parameters error
No requirements.
6.3.3.1.1.3 Context Errors
No requirements.
6.3.3.1.2 Test Suite Files
Test Script: FWK_APT_EPDW_1.scr
Test Applet: FWK_APT_EPDW_1.java
FWK_APT_EPDW_2.java
FWK_APT_EPDW_3.java
Load Script: FWK_APT_EPDW_1.ldr
Cleanup Script: FWK_APT_EPDW_1.clr
Parameter File: FWK_APT_EPDW_1.par
6.3.3.1.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applets registration to EVENT_PROFILE_DOWNLOAD and triggering Applet1 is registered to the EVENT_PROFILE_DOWNLOAD Applet2 is registered to the EVENT_PROFILE_DOWNLOAD Applet3 is not registered to the EVENT_PROFILE_DOWNLOAD and is registered to EVENT_FORMATTED_SMS_PP_ENV. 1-Terminal Profile command is sent to SIM |
1- Applet1 is triggered Applet1 finalizes 2- Applet2 is triggered Applet2 finalizes 3- Applet3 is not triggered |
|
2 |
The STF shall not reply busy to a Terminal Profile command 1-Formatted sms pp envelope is sent to SIM Applet3 builds a REFRESH proactive command in sim initialization mode 2-ProactiveHandler.send() method is called by applet3 3-Terminal Profile command is sent to SIM Applet1 calls Toolkit Registry.clearEvent( EVENT_PROFILE_DOWNLOAD) 4-Applet2 calls Toolkit Registry.clearEvent( EVENT_PROFILE_DOWNLOAD) ToolkitRegistry.setEvent(EVENT_PROFILE_DOWNLOAD) method is called |
1- Applet3 is triggered by the EVENT_FORMATTED_SMS_PP_ENV Applet3 is suspended until the terminal response 3- Applet1 is triggered by EVENT_PROFILE_DOWNLOAD Applet1 finalizes 4- Applet2 is triggered by EVENT_PROFILE_DOWNLOAD Applet2 finalizes Applet3 finalizes |
2- A proactive command is sent The terminal Response of the proactive command is sent |
3 |
Deregistered applets are not triggered Terminal Profile command is sent to SIM |
Applet3 is triggered (Applet1 and Applet2 are not triggered) |
6.3.3.1.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1 |
CRRN2 |
3 |
CRRN3 |
2 |
6.3.3.2 EVENT_MENU_SELECTION
Test Area Reference: FWK_APT_EMSE
6.3.3.2.1 Conformance Requirement
6.3.3.2.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_MENU_SELECTION when an Envelope Menu Selection is received with the item identifier of a menu entry of this applet if no proactive session is ongoing.
6.3.3.2.1.2 Parameters error
No requirements.
6.3.3.2.1.3 Context Errors
No requirements.
6.3.3.2.2 Test Suite Files
Test Script: FWK_APT_EMSE_1.scr
Test Applet: FWK_APT_EMSE_1.java
FWK_APT_EMSE_2.java
Load Script: FWK_APT_EMSE_1.ldr
Cleanup Script: FWK_APT_EMSE_1.clr
Parameter File: FWK_APT_EMSE_1.par
6.3.3.2.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_MENU_SELECTION and triggering ToolkitRegistry.initMenuEntry() method is called in the constructor of applet1 and Applet2. For applet1: MenuEntry="Applet1" Offset=0 Length=menuEntry.length HelpSupported=false IconQualifier=0 IconIdentifier=0 For applet2: MenuEntry="Applet2" Offset=0 Length=menuEntry.length HelpSupported=false IconQualifier=0 IconIdentifier=0 event= EVENT_MENU_SELECTION 1-ToolkitRegistry.isEventSet() is called in constructor. Perform SIM initialization the facility SET UP MENU and without the facilities SET EVENT LIST and POLL INTEVAL features 2-Item Identifier = 1 Event Menu Selection envelope is sent to the SIM with the item identifier of a menu entry of applet 3-Item Identifier = 2 Event Menu Selection envelope is sent to the SIM with the item identifier of a menu entry of applet |
1- The method must return true. 2- Applet1 is triggered and applet2 is not triggered Applet1 finalizes 3- Applet2 is triggered and applet1 is not triggered |
6.3.3.2.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1 |
6.3.3.3 EVENT_MENU_SELECTION_HELP_REQUEST
Test Area Reference: FWK_APT_EMSH
6.3.3.3.1 Conformance Requirement
6.3.3.3.1.1 Normal Execution
- CRRN1: If an ENVELOPE (MENU_SELECTION_HELP_SUPPORTED) command is received for one entry supporting help, then STF shall trigger the corresponding applet.
- CCRN2: A toolkit applet shall be triggered by the EVENT_MENU_SELECTION_HELP_REQUEST event only if the Menu Id corresponding to the Envelope Menu Selection Help Request received by the SIM Toolkit framework was registered with the helpSupported value set to true.
- CCRN3: If at least one menuId of a Toolkit Applet registers to EVENT_MENU_SELECTION_HELP_REQUEST, the SET UP MENU proactive command sent by the SIM Toolkit Framework shall indicate to the ME that help information is available unless all the menus entries that support help are disabled.
6.3.3.3.1.2 Parameters error
No requirements.
6.3.3.3.1.3 Context Errors
No requirements.
6.3.3.3.2 Test Suite Files
Test Script: FWK_APT_EMSH_1.scr
Test Applet: FWK_APT_EMSH_1.java
FWK_APT_EMSH_2.java
FWK_APT_EMSH_3.java
Load Script: FWK_APT_EMSH_1.ldr
Cleanup Script: FWK_APT_EMSH_1.clr
Parameter File: FWK_APT_EMSH_1.par
6.3.3.3.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_MENU_SELECTION_HELP_REQUEST and triggering Applet1 and Applet2 are installed ToolkitRegistry.InitMenuEntry() method is called in the constructor of Applet1 and Applet2. For Applet1 (item id 1): MenuEntry="Applet1A" Offset=0 Length=menuEntry.length HelpSupported=true IconQualifier=0 IconIdentifier=0 For Applet1 (item id 2): MenuEntry="Applet1B" Offset=0 Length=menuEntry.length HelpSupported=false IconQualifier=0 IconIdentifier=0 event= EVENT_MENU_SELECTION_HELP_REQUEST 1- ToolkitRegistry.isEventSet() is called in constructor. For Applet2 (item id 3): MenuEntry="Applet2A" Offset=0 Length=menuEntry.length HelpSupported=true IconQualifier=0 IconIdentifier=0 For Applet2 (item id 4): MenuEntry="Applet2B" Offset=0 Length=menuEntry.length HelpSupported=false IconQualifier=0 IconIdentifier=0 event= EVENT_MENU_SELECTION_HELP_REQUEST 2- ToolkitRegistry.isEventSet() is called in constructor. Perform SIM initialization with the facility SET UP MENU and without the facilities SET EVENT LIST and POLL INTERVAL 3-Item identifier = 1 Menu Selection Help Request envelope is sent to the SIM with item identifier 1 belonging to applet1 4-Item identifier = 2 Menu Selection Help Request envelope is sent to the SIM with item identifier 2 belonging to applet1 5-Item identifier = 3 Menu Selection Help Request envelope is sent to the SIM with item identifier 3 belonging to applet2 6-Item identifier = 4 Menu Selection Help Request envelope is sent to the SIM with item identifier 4 belonging to applet2 |
1- The command shall return true. 2- The command shall return true. 3- Applet1 is triggered and Applet2 is not triggered 4 Applet1 and Applet2 are not triggered 5- Applet2 is triggered and Applet1 is not triggered 6- Applet2 and Applet1 are not triggered |
|
2 |
Applet deregistration to EVENT_MENU_SELECTION_HELP_REQUEST Applet1 and Applet2 are deleted Applet3 is installed ToolkitRegistry.InitMenuEntry() method is called in the constructor of Applet3. For Applet3 (item id 5): MenuEntry="Applet3A" Offset=0 Length=menuEntry.length HelpSupported=true IconQualifier=0 IconIdentifier=0 For Applet3 (item id 6): MenuEntry="Applet3B" Offset=0 Length=menuEntry.length HelpSupported=true IconQualifier=0 IconIdentifier=0 For Applet3 (item id 7): MenuEntry="Applet3C" Offset=0 Length=menuEntry.length HelpSupported=false IconQualifier=0 IconIdentifier=0 1. Perform SIM initialization with the facility SET UP MENU and without the facilities SET EVENT LIST and POLL INTERVAL 2. Menu Selection Help Request envelope is sent to the SIM with item identifier 5 belonging to applet3 3. ToolkitRegistry.disableMenuEntry() method for item id 5 is called by the Menu Selection Help Request Envelope. 4. Menu Selection Help Request envelope is sent to the SIM with item identifier 6 belonging to applet3 5. ToolkitRegistry.disableMenuEntry() method for item id 6 is called by the Menu Selection Help Request Envelope. |
2. Applet3 is triggered by EVENT_MENU_SELECTION_HELP_REQUEST 4. Applet3 is triggered by EVENT_MENU_SELECTION_HELP_REQUEST |
1. The SIM shall issue a SET UP MENU proactive command with Menu Entry ID entry ’05’, ’06’ and ’07’, and Help supported set to true. 3. The SIM shall issue a SET UP MENU proactive command with Menu Entry ID entry ’06’ and ’07’, and Help supported set to true. 5. The SIM shall issue a SET UP MENU proactive command with Menu Entry ID entry ’07’, and Help supported set to false. |
6.3.3.3.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1 |
CRRN2 |
1 |
CRRN3 |
2 |
6.3.3.4 EVENT_FORMATTED_SMS_PP_ENV
Test Area Reference: FWK_APT_EFSE
6.3.3.4.1 Conformance Requirement
6.3.3.4.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_FORMATTED_SMS_PP_ENV once:
– it has been registered to this event;
– a Short Message Point to Point (Single or Concatenated) is received by Envelope APDU(s) and is formatted according to 3GPP TS 23.048 [8];
– the toolkit applet to be triggered is registered with the corresponding TAR in the SMS TPDU;
– the security is verified.
- CRRN2: The applet is not triggered by the EVENT_FORMATTED_SMS_PP_ENV once it has deregistered from this event.
6.3.3.4.1.2 Parameters error
No requirements.
6.3.3.4.1.3 Context Errors
No requirements.
6.3.3.4.2 Test Suite Files
Test Script: FWK_APT_EFSE_1.scr
Test Applet: FWK_APT_EFSE_1.java
Load Script: FWK_APT_EFSE_1.ldr
Cleanup Script: FWK_APT_EFSE_1.clr
Parameter File: FWK_APT_EFSE_1.par
6.3.3.4.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT FORMATTED_SMS_PP_ENV and triggering Applet is registered to EVENT_FORMATTED_SMS_PP_ENV and EVENT_UNRECOGNIZED_ENVELOPE 1- A Single Short Message SMS-PP Formatted Data Download is sent to the SIM. 2- A Concatenated Short Message SMS-PP Formatted Data Download is sent to the SIM (composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70) |
1- Applet is triggered 2- Applet is triggered |
|
2 |
Applet deregistration ToolkitRegistry.clearEvent() method is called for EVENT_FORMATTED_SMS_PP_ENV 1- A Single Short Message SMS-PP Data Download is sent to the SIM.. 2- A Concatenated Short Messages SMS-PP Data Download is sent to the SIM (composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70). An unrecognized envelope is sent to the sim ToolkitRegistry.setEvent() method is called for EVENT_FORMATTED_SMS_PP_ENV 3- A Single Short Messages SMS-PP Data Download is sent to the SIM. 4- A Concatenated Short Messages SMS-PP Data Download is sent to the SIM (composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70). |
1- Applet is not triggered 2- Applet is not triggered 3- Applet is triggered 4- Applet is triggered |
6.3.3.4.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 (See note) |
1, 2 |
CRRN2 |
2 |
NOTE: The security checks are not relevant to the test designed in this test area; they will be checked in the "Framework Security Management" clause.
6.3.3.5 EVENT_UNFORMATTED_SMS_PP_ENV
Test Area Reference: FWK_APT_EUSE
6.3.3.5.1 Conformance Requirement
6.3.3.5.1.1 Normal Execution
- CRRN1: The applets registers are triggered by the EVENT_UNFORMATTED_SMS_PP_ENV once a Short Message Point to Point (Single or Concatenated) is received by Envelope APDU(s) and is unformatted.
- CRRN2: The applet is not triggered by the EVENT_UNFORMATTED_SMS_PP_ENV once it has deregistered from this event.
6.3.3.5.1.2 Parameters error
No requirements.
6.3.3.5.1.3 Context Errors
No requirements.
6.3.3.5.2 Test Suite Files
Test Script: FWK_APT_EUSE_1.scr
Test Applet: FWK_APT_EUSE_1.java
Load Script: FWK_APT_EUSE_1.ldr
Cleanup Script: FWK_APT_EUSE_1.clr
Parameter File: FWK_APT_EUSE_1.par
6.3.3.5.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_UNFORMATTED_SMS_PP_ENV and triggering Applet is registered to the EVENT_UNFORMATTED_SMS_PP_ENV and EVENT_FORMATTED_SMS_PP_ENV. 1-Toolkit Registry.isEventSet() method is called for EVENT_UNFORMATTED_SMS_PP_ENV 2- A Single and Unformatted SMS-PP Data Download Envelope is sent to the SIM. 3- A Concatenated and Unformatted SMS-PP Data Download Envelope is sent to the SIM (composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70) |
1- The method returns true 2- Applet is triggered 3- Applet is triggered |
|
2 |
Applet deregistration Toolkit Registry.clearEvent()method is called for EVENT_UNFORMATTED_SMS_PP_ENV 1- A Single and Unformatted SMS-PP Data Download Envelope is sent to the SIM. 2- A Concatenated and Unformatted SMS-PP Data Download Envelope is sent to the SIM (composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70) Applet is triggered by a EVENT_FORMATTED_SMS_PP_ENV Toolkit Registry.setEvent() method is called for EVENT_UNFORMATTED_SMS_PP_ENV 3- A Single and Unformatted SMS-PP Data Download Envelope is sent to the SIM. 4- A Concatenated and Unformatted SMS-PP Data Download Envelope is sent to the SIM (composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70) |
1- Applet isn’t triggered 2- Applet isn’t triggered 3- Applet is triggered 4- Applet is triggered |
6.3.3.5.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.6 EVENT_CALL_CONTROL_BY_SIM
Test Area Reference: FWK_APT_ECCN
6.3.3.6.1 Conformance Requirement
6.3.3.6.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_CALL_CONTROL_BY_SIM once it has registered to this event and an Envelope Call Control is received.
- CRRN2: The applet is not triggered by the EVENT_CALL_CONTROL_BY_SIM once it has deregistered from this event.
6.3.3.6.1.2 Parameters error
No requirements.
6.3.3.6.1.3 Context Errors
No requirements.
6.3.3.6.2 Test Suite Files
Test Script: FWK_APT_ECCN_1.scr
Test Applet: FWK_APT_ECCN_1.java
Load Script: FWK_APT_ECCN_1.ldr
Cleanup Script: FWK_APT_ECCN_1.clr
Parameter File: FWK_APT_ECCN_1.par
6.3.3.6.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applets registration to EVENT_CALL_CONTROL_BY_SIM and triggering Applet1 is registered to EVENT_CALL_CONTROL_BY_SIM. Applet2 is registered to EVENT_FORMATTED_SMS_PP_ENV 1-An Envelope Call control by SIM is sent to SIM |
1- Applet1 is triggered |
|
2 |
Applet deregistration and registration of the third applet to EVENT_CALL-CONTROL_BY_SIM. 1-An Envelope Formatted SMS PP envelope is sent to SIM Applet2 contructs a DISPLAY TEXT proactive command. 2-ProactiveHandler.send() method is called 3-An Envelope Call control by SIM envelope is sent to SIM ToolkitRegistry.clearEvent() is called for EVENT_CALL_CONTROL_BY_SIM. ToolkitRegistry.setEvent() method is called for EVENT_CALL_CONTROL_BY_SIM. |
1-Applet2 is triggered by EVENT_FORMATTED_SMS_PP_ENV. 3- Applet1 is triggered Applet1 finalizes. Applet2 finalizes |
2- A proactive command DISPLAY TEXT is sent and applet is suspended until the terminal response TERMINAL RESPONSE of DISPLAY TEXT is sent to the SIM |
3 |
Applet triggering An Envelope Call control by SIM envelope is sent to SIM |
Applet2 is triggered. (Applet1 is not triggered) |
6.3.3.6.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2, 3 |
CRRN2 |
3 |
6.3.3.7 EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM
Test Area Reference: FWK_APT_EMCN
6.3.3.7.1 Conformance Requirement
6.3.3.7.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM once it has registered to this event and an Envelope MO Short Message Control.
- CRRN2: The applet is not triggered by the EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM once it has deregistered from this event.
6.3.3.7.1.2 Parameters error
No requirements.
6.3.3.7.1.3 Context Errors
No requirements.
6.3.3.7.2 Test Suite Files
Test Script: FWK_APT_EMCN_1.scr
Test Applet: FWK_APT_EMCN_1.java
FWK_APT_EMCN_2.java
Load Script: FWK_APT_EMCN_1.ldr
Cleanup Script: FWK_APT_EMCN_1.clr
Parameter File: FWK_APT_EMCN_1.par
6.3.3.7.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM and triggering Applet1 is reggistered to EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM. Applet2 is registered to EVENT_FORMATTED_SMS_PP_ENV. 1-An Envelope MO short message envelope is sent to SIM |
1- Applet1 is triggered. |
|
2 |
Applet deregistration and registration of the third applet to EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM. The STF shall not reply busy to a call control envelope 1-An Envelope formatted SMS PP envelope is sent to SIM. Applet2 builds a DISPLAY TEXT proactive command. 2-ProactiveHandler.send() method is called. 3-An Envelope MO Short message envelope is sent to SIM ToolkitRegistry.clearEvent() for EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM. ToolkitRegistry.setEvent() method is called for EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM. |
1- Applet2 is triggered. 3- Applet1 is triggered. Applet1 finalizes. Applet2 finalizes. |
2- A Proactive command DISPLAY TEXT is sent and applet is suspended until the terminal response TERMINAL RESPONSE of DISPLAY TEXT is sent to the SIM |
3 |
Applet3 triggering An Envelope MO SMS control by SIM envelope is sent to SIM |
Applet2 is triggered. (Applet1 is not triggered) |
6.3.3.7.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2, 3 |
CRRN2 |
3 |
6.3.3.8 EVENT_TIMER_EXPIRATION
Test Area Reference: FWK_APT_ETEX
6.3.3.8.1 Conformance Requirement
6.3.3.8.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_TIMER_EXPIRATION once it has been registered to this event and an Envelope Timer Expiration with a Timer Identifier of the applet is received if no proactive session is ongoing.
- CRRN2: The applet is not triggered by the EVENT_TIMER_EXPIRATION once it has been deregistered from this event.
6.3.3.8.1.2 Parameters error
No requirements.
6.3.3.8.1.3 Context Errors
No requirements.
6.3.3.8.2 Test Suite Files
Test Script: FWK_APT_ETEX_1.scr
Test Applet: FWK_APT_ETEX_1.java
Load Script: FWK_APT_ETEX_1.ldr
Cleanup Script: FWK_APT_ETEX_1.clr
Parameter File: FWK_APT_ETEX_1.par
6.3.3.8.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_TIMER_EXPIRATION and triggering Applet is registered to the EVENT_TIMER_EXPIRATION using the allocateTimer() method and to EVENT_FORMATTED_SMS_PP_ENV. event= EVENT_TIMER_EXPIRATION 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope TIMER_EXPIRATION is sent to the SIM. |
1- The method returns true 2- Applet is triggered. |
|
2 |
Applet deregistration Timer id=1 Toolkit Registry.ReleaseTimer() method is called 1-An Envelope timer expiration is sent to the SIM. An Envelope formated sms pp envelope is sent to the sim Toolkit Registry.AllocateTimer() method is called 2-An Envelope TIMER_EXPIRATION is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.8.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.9 EVENT_UNFORMATTED_SMS_CB
Test Area Reference: FWK_APT_EUCB
6.3.3.9.1 Conformance Requirement
6.3.3.9.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_UNFORMATTED_SMS_CB once it has registered to this event and an Envelope Cell Broadcast DownLoad is received.
- CRRN2: The applet is not triggered by the EVENT_UNFORMATTED_SMS_CB once it has deregistered from this event.
6.3.3.9.1.2 Parameters error
No requirements.
6.3.3.9.1.3 Context Errors
No requirements.
6.3.3.9.2 Test Suite Files
Test Script: FWK_APT_EUCB_1.scr
Test Applet: FWK_APT_EUCB_1.java
Load Script: FWK_APT_EUCB_1.ldr
Cleanup Script: FWK_APT_EUCB_1.clr
Parameter File: FWK_APT_EUCB_1.par
6.3.3.9.3 Test Procedure
Id |
Description |
API Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_UNFORMATTED_SMS_CB and triggering Applet is registered to the EVENT_UNFORMATTED_SMS_CB and EVENT_FORMATTED_SMS_PP_ENV. event= EVENT_UNFORMATTED_SMS_CB 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope UNFORMATTED_SMS_CB is sent to the SIM. |
1- Method returns true. 2- Applet is triggered |
|
2 |
Applet deregistration Toolkit Registry.ClearEvent()method is called for EVENT_UNFORMATTED_SMS_CB 1-An Envelope UNFORMATTED_SMS_CB is sent to the SIM. An Envelope formatted sms pp envelope is sent to the sim event= EVENT_UNFORMATTED_SMS_CB Toolkit Registry.setEvent() method is called for EVENT_UNFORMATTED_SMS_CB 2-An Envelope UNFORMATTED_SMS_CB is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.9.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.10 EVENT_EVENT_DOWNLOAD_MT_CALL
Test Area Reference: FWK_APT_EDMC
6.3.3.10.1 Conformance Requirement
6.3.3.10.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_MT_CALL once it has registered to this event and an Envelope Event DownLoad MT Call is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_MT_CALL once it has deregistered from this event.
6.3.3.10.1.2 Parameters error
No requirements.
6.3.3.10.1.3 Context Errors
No requirements.
6.3.3.10.2 Test Suite Files
Test Script: FWK_APT_EMSE_1.scr
Test Applet: FWK_APT_EMSE_1.java
Load Script: FWK_APT_EMSE_1.ldr
Cleanup Script: FWK_APT_EMSE_1.clr
Parameter File: FWK_APT_EMSE_1.par
6.3.3.10.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_MT_CALL and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_MT_CALL and to EVENT_FORMATTED_SMS_PP_ENV. event= EVENT_EVENT_DOWNLOAD_MT_CALL 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_DOWNLOAD_MT_CALL is sent to the SIM. |
1- The method returns true 2- Applet is triggered |
|
2 |
Applet deregistration event= EVENT_EVENT_DOWNLOAD_MT_CALL Toolkit Registry.clearEvent()method is called Perform SIM initialization with all the facilities supported 1-An Envelope EVENT_DOWNLOAD_MT_CALL is sent to the SIM. An Envelope formatted sms pp envelope is sent to the sim event= EVENT_EVENT_DOWNLOAD_MT_CALL Toolkit Registry.setEvent() method is called Perform SIM initialization with all the facilities supported 2-An Envelope EVENT_DOWNLOAD_MT_CALL is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.10.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.11 EVENT_EVENT_DOWNLOAD_CALL_CONNECTED
Test Area Reference: FWK_APT_EDCC
6.3.3.11.1 Conformance Requirement
6.3.3.11.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_CALL_CONNECTED once it has registered to this event and an Envelope Event DownLoad Call Connected is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_CALL_CONNECTED once it has deregistered from this event.
6.3.3.11.1.2 Parameters error
No requirements.
6.3.3.11.1.3 Context Errors
No requirements.
6.3.3.11.2 Test Suite Files
Test Script: FWK_APT_EDCC_1.scr
Test Applet: FWK_APT_EDCC_1.java
Load Script: FWK_APT_EDCC_1.ldr
Clean-up Script: FWK_APT_EDCC_1.clr
Parameter File: FWK_APT_EDCC _1.par
6.3.3.11.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_CALL_CONNECTED and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_CALL_CONNECTED and to EVENT_FORMATTED_SMS_PP_ENV. event= EVENT_EVENT_DOWNLOAD_CALL_CONNECTED 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_DOWNLOAD_CALL_CONNECTED is sent to the SIM. |
1- Method returns true 2- Applet is triggered. |
|
2 |
Applet deregistration event=EVENT_EVENT_DOWNLOAD_CALL_CONNECTED Toolkit Registry.clearEvent()method is called Perform SIM initialization with all the facilities supported 1-A call connected event dowload is sent to the SIM. An Envelope formatted sms pp envelope is sent to the sim Event= EVENT_EVENT_DOWNLOAD_CALL_CONNECTED Toolkit Registry.setEvent() method is called Perform SIM initialization with all the facilities supported 2-An Envelope EVENT_DOWNLOAD_CALL_CONNECTED is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.11.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.12 EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED
Test Area Reference: FWK_APT_EDCD
6.3.3.12.1 Conformance Requirement
6.3.3.12.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED once it has registered to this event and an Envelope Event DownLoad Call Disconnected is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED once it has deregistered from this event.
6.3.3.12.1.2 Parameters error
No requirements.
6.3.3.12.1.3 Context Errors
No requirements.
6.3.3.12.2 Test Suite Files
Test Script: FWK_APT_EDCD_1.scr
Test Applet: FWK_APT_EDCD_1.java
Load Script: FWK_APT_EDCD_1.ldr
Cleanup Script: FWK_APT_EDCD_1.clr
Parameter File: FWK_APT_EDCD_1.par
6.3.3.12.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED and to EVENT_FORMATTED_SMS_PP_ENV. Event=EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED is sent to the SIM. |
1- Method returns true 2- Applet is triggered. |
|
2 |
Applet deregistration Event= EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED Toolkit Registry.clearEvent()method is called Perform SIM initialization with all the facilities supported 1-An Envelope EVENT_DOWNLOAD_CALL_DISCONNECTED is sent to the SIM. a formatted sms pp envelope is sent to the sim. Event= EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED Toolkit Registry.setEvent() method is called Perform SIM initialization with all the facilities supported 2-An Envelope EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.12.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.13 EVENT_EVENT_DOWNLOAD_LOCATION_STATUS
Test Area Reference: FWK_APT_EDLS
6.3.3.13.1 Conformance Requirement
6.3.3.13.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_LOCATION_STATUS once it has registered to this event and an Envelope Event DownLoad Location Status is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_LOCATION_STATUS once it has deregistered from this event.
6.3.3.13.1.2 Parameters error
No requirements.
6.3.3.13.1.3 Context Errors
No requirements.
6.3.3.13.2 Test Suite Files
Test Script: FWK_APT_EDLS_1.scr
Test Applet: FWK_APT_EDLS_1.java
Load Script: FWK_APT_EDLS_1.ldr
Cleanup Script: FWK_APT_EDLS_1.clr
Parameter File: FWK_APT_EDLS_1.par
6.3.3.13.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_LOACTION_STATUS and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_LOCATION_STATUS and to EVENT_FORMATTED_SMS_PP_ENV. Event=EVENT_EVENT_DOWNLOAD_LOCATION_STATUS 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_EVENT_DOWNLOAD_LOCATION_STATUS is sent to the SIM. |
1- Method returns true 2- Applet is triggered. |
|
2 |
Applet deregistration Event=EVENT_EVENT_DOWNLOAD_LOCATION_STATUS Toolkit Registry.clearEvent()method is called Perform SIM initialization with all the facilities supported 1-An Envelope EVENT_DOWNLOAD_LOCATION_STATUS is sent to the SIM. a formatted sms pp envelope is sent to the sim Event= EVENT_EVENT_DOWNLOAD_LOCATION_STATUS Toolkit Registry.setEvent() method is called Perform SIM initialization with all the facilities supported 2-An Envelope EVENT_DOWNLOAD_LOCATION_STATUS is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.13.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.14 EVENT_EVENT_DOWNLOAD_USER_ACTIVITY
Test Area Reference: FWK_APT_EDUA
6.3.3.14.1 Conformance Requirement
6.3.3.14.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_USER_ACTIVITY once it has registered to this event and an Envelope Event DownLoad User Activity is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_USER_ACTIVITY once it has deregistered from this event.
6.3.3.14.1.2 Parameters error
No requirements.
6.3.3.14.1.3 Context Errors
No requirements.
6.3.3.14.2 Test Suite Files
Test Script: FWK_APT_EDUA_1.scr
Test Applet: FWK_APT_EDUA_1.java
Load Script: FWK_APT_EDUA_1.ldr
Cleanup Script: FWK_APT_EDUA_1.clr
Parameter File: FWK_APT_EDUA_1.par
6.3.3.14.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_USER_ACTIVITY and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_USER_ACTIVITY and to EVENT_FORMATTED_SMS_PP_ENV. Event= EVENT_EVENT_DOWNLOAD_USER_ACTIVITY 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_DOWNLOAD_USER_ACTIVITY is sent to the SIM. |
1- Method returns true 2- Applet is triggered |
|
2 |
Applet deregistration Event= EVENT_EVENT_DOWNLOAD_USER_ACTIVITY Toolkit Registry.clearEvent()method is called Perform SIM initialization with all the facilities supported 1-An Envelope EVENT_DOWNLOAD_USER_ACTIVITY is sent to the SIM. a formatted sms pp envelope is sent to the sim Event= EVENT_EVENT_DOWNLOAD_USER_ACTIVITY Toolkit Registry.setEvent() method is called Perform SIM initialization with all the facilities supported 2-An Envelope EVENT_DOWNLOAD_USER_ACTIVITY is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.14.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.15 EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE
Test Area Reference: FWK_APT_EDIS
6.3.3.15.1 Conformance Requirement
6.3.3.15.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE once it has registered to this event and an Envelope Event DownLoad Idle Screen Available is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE once it has deregistered from this event.
6.3.3.15.1.2 Parameters error
No requirements.
6.3.3.15.1.3 Context Errors
No requirements.
6.3.3.15.2 Test Suite Files
Test Script: FWK_APT_EDIS_1.scr
Test Applet: FWK_APT_EDIS_1.java
Load Script: FWK_APT_EDIS_1.ldr
Cleanup Script: FWK_APT_EDIS_1.clr
Parameter File: FWK_APT_EDIS_1.par
6.3.3.15.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE and to EVENT_FORMATTED_SMS_PP_ENV Event= EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE is sent to the SIM. |
1- Method returns true 2- Applet is triggered |
|
2 |
Applet deregistration Event=EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE Toolkit Registry.clearEvent()method is called Perform SIM initialization with all the facilities supported 1-An Envelope EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE is sent to the SIM. a formatted sms pp envelope is sent to the sim Event= EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE Toolkit Registry.setEvent() method is called Perform SIM initialization with all the facilities supported 2-An Envelope EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.15.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.16 EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS
Test Area Reference: FWK_APT_EDCR
6.3.3.16.1 Conformance Requirement
6.3.3.16.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS once it has registered to this event and Envelope Event DownLoad Card Reader Status is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS once it has deregistered from this event.
6.3.3.16.1.2 Parameters error
No requirements.
6.3.3.16.1.3 Context Errors
No requirements.
6.3.3.16.2 Test Suite Files
Test Script: FWK_APT_EDCR_1.scr
Test Applet: FWK_APT_EDCR_1.java
Load Script: FWK_APT_EDCR_1.ldr
Cleanup Script: FWK_APT_EDCR_1.clr
Parameter File: FWK_APT_EDCR_1.par
6.3.3.16.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS and to EVENT_FORMATTED_SMS_PP_ENV Event=EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_DOWNLOAD_CARD_READER_STATUS is sent to the SIM. |
1- Method returns true 2- Applet is triggered |
|
2 |
Applet deregistration Event= EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS Toolkit Registry.clearEvent()method is called Perform SIM initialization with all the facilities supported 1-An Envelope EVENT_DOWNLOAD_CARD_READER_STATUS is sent to the SIM. An Envelope formatted sms pp envelope is sent to the sim Event= EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS Toolkit Registry.setEvent() method is called Perform SIM initialization with all the facilities supported 2-An Envelope EVENT_DOWNLOAD_CARD_READER_STATUS is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.16.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.17 EVENT_UNRECOGNIZED_ENVELOPE
Test Area Reference: FWK_APT_EUEV
6.3.3.17.1 Conformance Requirement
6.3.3.17.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_UNRECOGNIZED_ENVELOPE once it has registered to this event and an Unrecognized Envelope is received.
- CRRN2: The applet is not triggered by the EVENT_UNRECOGNIZED_ENVELOPE once it has deregistered from this event.
6.3.3.17.1.2 Parameters error
No requirements.
6.3.3.17.1.3 Context Errors
No requirements.
6.3.3.17.2 Test Suite Files
Test Script: FWK_APT_EUEN_1.scr
Test Applet: FWK_APT_EUEN_1.java
Load Script: FWK_APT_EUEN_1.ldr
Cleanup Script: FWK_APT_EUEN_1.clr
Parameter File: FWK_APT_EUEN_1.par
6.3.3.17.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_UNRECOGNIZED_ENVELOPE and triggering Applet is registered to the EVENT_UNRECOGNIZED_ENVELOPE and to EVENT_FORMMATTED_SMS_PP_ENV Event= EVENT_UNRECOGNIZED_ENVELOPE 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope UNRECOGNIZED_ENVELOPE is sent to the SIM. |
1- Method returns true 2- Applet is triggered |
|
2 |
Applet deregistration Event= EVENT_UNRECOGNIZED_ENVELOPE Toolkit Registry.clearEvent()method is called 1-An Envelope UNRECOGNIZED_ENVELOPE is sent to the SIM. a formatted sms pp envelope is sent to the sim Event= EVENT_UNRECOGNIZED_ENVELOPE Toolkit Registry.setEvent() method is called 2-An Envelope UNRECOGNIZED_ENVELOPE is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.17.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.18 EVENT_STATUS_COMMAND
Test Area Reference: FWK_APT_ESTC
6.3.3.18.1 Conformance Requirement
6.3.3.18.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_STATUS_COMMAND once it has registered to this event and a Status Command is received.
- CRRN2: The applet is not triggered by the EVENT_STATUS_COMMAND once it has deregistered from this event.
6.3.3.18.1.2 Parameters error
No requirements.
6.3.3.18.1.3 Context Errors
No requirements.
6.3.3.18.2 Test Suite Files
Test Script: FWK_APT_ESTC_1.scr
Test Applet: FWK_APT_ESTC_1.java
FWK_APT_ESTC_2.java
FWK_APT_ESTC_3.java
Load Script: FWK_APT_ESTC_1.ldr
Cleanup Script: FWK_APT_ESTC_1.clr
Parameter File: FWK_APT_ESTC_1.par
6.3.3.18.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applets registration to EVENT_STATUS_COMMAND and triggering Applet1 is registered to EVENT_STATUS_COMMAND using the requestPollInterval() command. Applet2 is registered to EVENT_STATUS_COMMAND using the RequestPollInterval() command. Applet3 is registered to EVENT_FORMATTED_SMS_PP_ENV. 1-A status command is sent to SIM |
1- Applet1 is triggered. Applet1 finalizes 2- Applet2 is triggered. Applet2 finalizes 3- Applet3 is not triggered |
|
2 |
Applet deregistration and registration of the third applet to EVENT_STATUS_COMMAND. The STF shall not reply busy to a call control envelope 1-A formatted sms pp envelope is sent to SIM Applet3 builds a DISPLAY TEXT. 2- ProactiveHandler.send() is called 3-A status command is sent to SIM. requestPollInteval with POLL_NO_DURATION is called requestPollInteval with POLL_NO_DURATION is called requestPollInterval() method is called. |
1- Applet3 is triggered. 3- Applet1 is triggered. Applet1 finalizes 4- Applet2 is triggered. Applet2 finalizes Applet3 finalizes |
2- A proactive command DISPLAY TEXT is sent and applet is suspended until the terminal response 5- TERMINAL RESPONSE of DISPLAY TEXT is sent to the SIM |
3 |
Applet3 triggering Perform SIM initialization with all the facilities supported Status command is sent to SIM. |
Applet3 is triggered. (Applet1 and Applet2 are not triggered) |
6.3.3.18.4 Test Coverage
CR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2, 3 |
CRRN2 |
3 |
6.3.3.19 EVENT_FORMATTED_SMS_CB
Test Area Reference: FWK_APT_EFCB
6.3.3.19.1 Conformance Requirement
6.3.3.19.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_FORMATTED_SMS_CB once:
– it has been registered to this event;
– an envelope APDU carrying a Cell Broadcast Page, formatted according to 3GPP TS 23.048 [8], is received;
– the toolkit applet to be triggered is registered with the corresponding TAR in the CB page;
– the security is verified.
- CRRN2: The applet is not triggered by the EVENT_FORMATTED_SMS_CB once it has deregistered from this event.
6.3.3.19.1.2 Parameters error
No requirements.
6.3.3.19.1.3 Context Errors
No requirements.
6.3.3.19.2 Test Suite Files
Test Script: FWK_APT_EFCB_1.scr
Test Applet: FWK_APT_EFCB_1.java
Load Script: FWK_APT_EFCB_1.ldr
Cleanup Script: FWK_APT_EFCB_1.clr
Parameter File: FWK_APT_EFCB_1.par
6.3.3.19.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_FORMATTED_SMS_CB and triggering Applet is registered to EVENT_FORMATTED_SMS_CB and EVENT_FORMATTED_SMS_PP_ENV 1-An Envelope EVENT_FORMATTED_SMS_CB is sent to the SIM. |
1-Applet is triggered |
|
2 |
Applet deregistration ToolkitRegistry.clearEvent() method is called for EVENT_FORMATTED_SMS_CB 1-A formatted SMS CB envelope is sent to the SIM. 2-An envelope SMS-PP formatted is sent to the SIM ToolkitRegistry.setEvent() method is called for EVENT_FORMATTED_SMS_CB 3-An Envelope FORMATTED_SMS_CB is sent to the SIM |
1- Applet is not triggered 2- Applet is triggered 3- Applet is triggered |
6.3.3.19.4 Test Coverage
CR Number |
Test Case Number |
---|---|
CRRN1 (See note) |
1, 2 |
CRRN2 |
2 |
NOTE: The security checks are not relevant to the test designed in this test area; they will be checked in clause 6.3.6. |
6.3.3.20 EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION
Test Area Reference: FWK_APT_EDLG
6.3.3.20.1 Conformance Requirement
6.3.3.20.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION once it has registered to this event and an Envelope Event DownLoad Language Selection is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION once it has deregistered from this event.
6.3.3.20.1.2 Parameters error
No requirements.
6.3.3.20.1.3 Context Errors
No requirements.
6.3.3.20.2 Test Suite Files
Test Script: FWK_APT_EDLG_1.scr
Test Applet: FWK_APT_EDLG_1.java
Load Script: FWK_APT_EDLG_1.ldr
Cleanup Script: FWK_APT_EDLG_1.clr
Parameter File: FWK_APT_EDLG_1.par
6.3.3.20.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION and to EVENT_FORMATTED_SMS_PP_ENV. Event= EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_DOWNLOAD_LANGUAGE_SELECTION is sent to the SIM. |
1-Method returns true 2- Applet is triggered |
|
2 |
Applet deregistration Event= EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION Toolkit Registry.clearEvent()method is called Perform SIM initialization with Profile Download, SMS PP Data Download, Command Result and Language Selection facilities. 1-An Envelope EVENT_DOWNLOAD_LANGUAGE_SELECTION is sent to the SIM. a formatted sms pp envelope is sent to the sim Event= EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION Toolkit Registry.setEvent() method is called Perform SIM initialization with Profile Download, SMS PP Data Download, Command Result and Language Selection facilities. 2-An Envelope EVENT_DOWNLOAD_LANGUAGE_SELECTION is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.20.4 Test Coverage
CR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.21 EVENT_EVENT_DOWNLOAD_BROWSER_TERMINATION
Test Area Reference: FWK_APT_EDBT
6.3.3.21.1 Conformance Requirement
6.3.3.21.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_EVENT_DOWNLOAD_BROWSER_TERMINATION once it has registered to this event and an Envelope Event DownLoad Browser Termination is received.
- CRRN2: The applet is not triggered by the EVENT_EVENT_DOWNLOAD_BROWSER_TERMINATION once it has deregistered from this event.
6.3.3.21.1.2 Parameters error
No requirements.
6.3.3.21.1.3 Context Errors
No requirements.
6.3.3.21.2 Test Suite Files
Test Script: FWK_APT_EDBT_1.scr
Test Applet: FWK_APT_EDBT_1.java
Load Script: FWK_APT_EDBT_1.ldr
Cleanup Script: FWK_APT_EDBT_1.clr
Parameter File: FWK_APT_EDBT_1.par
6.3.3.21.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_ BROWSER_TERMINATION and triggering Applet is registered to the EVENT_EVENT_DOWNLOAD_BROWSER_TERMINATION and to EVENT_FORMATTED_SMS_PP_ENV Event= EVENT_EVENT_DOWNLOAD_BROWSER_TERMINATION 1-Toolkit Registry.isEventSet() method is called. 2-An Envelope EVENT_DOWNLOAD_BROWSER_TERMINATION is sent to the SIM. |
1-Method returns true 2- Applet is triggered |
|
2 |
Applet deregistration Event= EVENT_EVENT_DOWNLOAD_BROWSER_TERMINATION Toolkit Registry.clearEvent()method is called Perform SIM initialization with Profile Download, SMS PP Data Download, Command Result and Browser Termination facilities. 1-An Envelope EVENT_DOWNLOAD_BROWSER_TERMINATION is sent to the SIM. a formatted sms pp envelope is sent to the sim Event= EVENT_EVENT_DOWNLOAD_BROWSER_TERMINATION Toolkit Registry.setEvent() method is called Perform SIM initialization with Profile Download, SMS PP Data Download, Command Result and Browser Termination facilities. 2-An Envelope EVENT_DOWNLOAD_BROWSER_TERMINATION is sent to the SIM. |
1- Applet isn’t triggered 2- Applet is triggered |
6.3.3.21.4 Test Coverage
CR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2 |
CRRN2 |
2 |
6.3.3.22 EVENT_FIRST_COMMAND_AFTER_SELECT
Test Area Reference: FWK_APT_EFCA
6.3.3.22.1 Conformance Requirement
6.3.3.22.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_FIRST_COMMAND_AFTER_SELECT once it has registered to this event; Upon reception of the first command received by the GSM application after it has been selected, or after the ATR if it is the default application, and before the Status Word of the processed command has been sent back by the GSM application, the toolkit framework shall trigger all the toolkit applets registered to this event.
- CRRN2: The applet is not triggered by the EVENT_FIRST_COMMAND_AFTER_SELECT once it has deregistered from this event.
- CRRN3: If the first command received by the GSM application is a toolkit applet triggering command (e.g. TERMINAL PROFILE), the toolkit applets registered on the EVENT_FIRST_COMMAND_AFTER_SELECT event shall be triggered first.
6.3.3.22.2 Test Suite Files
Test Script: FWK_APT_EFCA_1.scr
Test Applet: FWK_APT_EFCA_1.java
FWK_APT_EFCA_2.java
FWK_APT_EFCA_3.java
FWK_APT_EFCA_4.java
FWK_APT_EFCA_5.java
Load Script: FWK_APT_EFCA_1.ldr
Cleanup Script: FWK_APT_EFCA_1.clr
Parameter File: FWK_APT_EFCA_1.par
6.3.3.22.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applets registration to EVENT_FIRST_COMMAND_AFTER_SELECT and triggering Applet1 is registered to the EVENT_FIRST_COMMAND_AFTER_SELECT Applet2 is registered to the EVENT_PROFILE_DOWNLOAD. Applet3 is registered to EVENT_FORMATTED_SMS_PP_ENV. 1-Terminal Profile command is sent to the SIM. Applet1 deregisters from EVENT_FIRST_COMMAND_AFTER_SELECT. 2- Applet2 deregisters from EVENT_PROFILE_DOWNLOAD. 3-Envelope(SMS-PP-DOWNLOAD) formatted is sent to the SIM 4-Applet3 calls setEvent() on event EVENT_FIRST_COMMAND_AFTER_SELECT. |
1- Applet1 is triggered by EVENT_FIRST_COMMAND_AFTER_SELECT Applet1 finalizes Applet2 is triggered by EVENT_PROFILE_DOWNLOAD Applet2 finalizes Applet3 is not triggered 3-Applet3 is triggered. |
|
2 |
Deregistered applets are not triggered 1-Reset then Terminal Profile command is sent to the SIM 2-Applet3 calls setEvent() on EVENT_PROFILE_DOWNLOAD. |
1-Applet3 is triggered. Applet1 and Applet2 are not triggered. 2-Applet3 finalizes. |
|
3 |
Install a 4th applet registered to EVENT_FIRST_COMMAND_AFTER_SELECT and EVENT_PROFILE_DOWNLOAD Applet4 is installed, with the same priority level as Applet3. 1-Reset then Terminal Profile command is sent to the SIM Delete all applets. |
1- Applet4 is triggered by EVENT_FIRST_COMMAND_AFTER_SELECT. Applet3 is triggered by EVENT_FIRST_COMMAND_AFTER_SELECT. Applet4 is triggered by EVENT_PROFILE DOWNLOAD. Applet3 is triggered by EVENT_PROFILE_DOWNLOAD. |
|
4 |
Check that the applet is triggered before the first SW is sent. 1-Install Applet 5. Applet 5 is registered with two entries in the menu entries list. Applet5 is also registered to EVENT_FIRST_COMMAND_AFTER_SELECT. 2-Reset and TERMINAL PROFILE. 3-Applet disables a menu entry. |
2- Applet 5 is triggered |
3-The SETUP MENU proactive command is fetched. There is only one item for Applet5. |
NOTE: Testing the triggering of an applet upon the first command after select is not possible.
6.3.3.22.4 Test Coverage
CR Number |
Test Case Number |
---|---|
CRRN1 |
1,2,3, 4 |
CRRN2 |
3 |
CRRN3 |
1, 4 |
6.3.3.23 EVENT_EVENT_DOWNLOAD_DATA_AVAILABLE
Test Area Reference: FWK_APT_EDDA
6.3.3.23.1 Conformance Requirement
6.3.3.23.1.1 Normal Execution
- CRRN1: For EVENT_EVENT_DOWNLOAD_DATA_AVAILABLE, the framework shall only trigger the applet registered to this event with the appropriate channel identifier.
- CRRN2: The registration to the EVENT_EVENT_DOWNLOAD_DATA_AVAILABLE is effective once the toolkit applet has issued a successful OPEN CHANNEL proactive command, and valid till the first successful CLOSE CHANNEL or the end of card session.
- CRRN3: When a Toolkit Applet has sent an OPEN CHANNEL proactive command and received a successful TERMINAL RESPONSE, the framework shall register the received channel identifier for the calling Toolkit Applet.
- CRRN4: When a Toolkit Applet has sent a CLOSE CHANNEL proactive command and received a successful TERMINAL RESPONSE, the framework shall release the channel identifier contained in the command. A successful TERMINAL RESPONSE means that the result of the proactive command execution belongs to command performed category (i.e. General Result =’0x’).
6.3.3.23.2 Test Suite Files
Test Script: FWK_APT_EDDA_1.scr
Test Applet: FWK_APT_EDDA_1.java
Load Script: FWK_APT_EDDA_1.ldr
Cleanup Script: FWK_APT_EDDA_1.clr
Parameter File: FWK_APT_EDDA_1.par
6.3.3.23.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_DATA_AVAILABLE Applet1 is registered to Unformatted SMS PP Envelope. 1- Unformatted SMS PP envelope is sent to the SIM. 2- Applet calls setEvent() with the event EVENT_EVENT_DOWNLOAD_DATA_AVAILABLE. 3- An envelope Event Download Data Available is sent to the SIM Channel Status = 81 00 4- Unformatted SMS PP envelope is sent to the SIM. 5- Applet1 builds a proactive command OPEN CHANNEL calling ProactiveHandler.init() method. 6- send() method is called to register to this event. 8- An envelope Event Download Data Available is sent to the SIM with Channel Status = 01 00. 9- Unformatted SMS PP envelope is sent to the SIM. 10- Applet1 builds a proactive command OPEN CHANNEL calling ProactiveHandler.init() method. 11- send() method is called to register to this event. |
1- Applet1 is triggered by Unformatted SMS PP envelope. 2- Applet1 finalizes. 3- Applet1 is not triggered. 4- Applet1 is triggered by Unformatted SMS PP envelope. 7- Applet1 finalizes. 8- Applet1 is not triggered. 9- Applet1 is triggered by EVENT_UNFORMATTED_SMS_PP_ENV. 12- Applet1 finalizes. |
6- OPEN CHANNEL proactive command is fetched. Unsuccessful TERMINAL RESPONSE of OPEN CHANNEL is sent to the SIM. 11- OPEN CHANNEL proactive command is fetched. Successful TERMINAL RESPONSE of OPEN CHANNEL is sent to the SIM with Channel Id = 01. |
2 |
Applet triggering to EVENT_EVENT_DOWNLOAD_DATA_AVAILABLE 1- An envelope Event Download Data Available is sent to the SIM Channel Status = 81 00. |
1- Applet1 is triggered. |
|
3 |
Applet deregistration to EVENT_EVENT_ DOWNLOAD_DATA_ AVAILABLE 0- Unformatted SMS PP envelope is sent to the SIM. 1- Applet1 initialises and sends an OPEN CHANNEL proactive command. 2- Applet1 builds a CLOSE CHANNEL Proactive Command calling ProactiveHandler.initCloseChannel() and ProactiveHandler.send() methods. 3- An envelope Event Download Data Available is sent to the SIM. Channel Status = 82 00 4- Applet1 builds a CLOSE CHANNEL Proactive Command calling ProactiveHandler.initCloseChannel() and ProactiveHandler.send() methods. |
0- Applet1 is triggered. 3- Applet1 is triggered. 5- Applet1 finalizes. |
1- OPEN CHANNEL proactive command is fetched. Successful terminal response is sent, with channelId=02. 2- CLOSE CHANNEL proactive command is fetched. Unsuccessful TERMINAL RESPONSE of CLOSE CHANNEL is sent to the SIM. 4- CLOSE CHANNEL proactive command is fetched. Successful TERMINAL RESPONSE of CLOSE CHANNEL is sent to the SIM with Channel Id = 02. |
4 |
Applet triggering to EVENT_EVENT_DOWNLOAD_DATA_AVAILABLE 1- An envelope Event Download Data Available is sent to the SIM Channel Status = 82 00. |
1- Applet1 is not triggered. |
|
5 |
Applet1 not triggered after a reset 0- Applet1 is triggered by an unformatted SMS PP Envelope 1- Applet1 builds a proactive command OPEN CHANNEL calling ProactiveHandler.init() method. 2- send() method is called to register to this event. 3- isEventSet() method is called. 4- Reset the card. 5- An envelope Event Download Data Available is sent to the SIM Channel Status = 82 00. |
3- returns true. 5- Applet1 is not triggered. |
1- OPEN CHANNEL proactive command is fetched. 2- Successful TERMINAL RESPONSE of OPEN CHANNEL is sent to the SIM with Channel Id = 02. |
6.3.3.23.4 Test Coverage
CR Number |
Test Case Number |
---|---|
CRRN1 |
2 |
CRRN2 |
1, 4, 5 |
CRRN3 |
1 |
CRRN4 |
3 |
6.3.3.24 EVENT_EVENT_DOWNLOAD_CHANNEL_STATUS
Test Area Reference: FWK_APT_EDCS
6.3.3.24.1 Conformance Requirement
6.3.3.24.1.1 Normal Execution
- CRRN1: For EVENT_EVENT_DOWNLOAD_CHANNEL_STATUS, the framework shall only trigger the applet registered to this event with the appropriate channel identifier.
- CRRN2: The registration to the EVENT_EVENT_DOWNLOAD_CHANNEL_STATUS is effective once the toolkit applet has issued a successful OPEN CHANNEL proactive command, and valid till the first successful CLOSE CHANNEL or the end of the card session.
- CRRN3: When a Toolkit Applet has sent an OPEN CHANNEL proactive command and received a successful TERMINAL RESPONSE, the framework shall register the received channel identifier for the calling Toolkit Applet.
- CRRN4: When a Toolkit Applet has sent a CLOSE CHANNEL proactive command and received a successful TERMINAL RESPONSE, the framework shall release the channel identifier contained in the command. A successful TERMINAL RESPONSE means that the result of the proactive command execution belongs to command performed category (i.e. General Result =’0x’).
6.3.3.24.2 Test Suite Files
Test Script: FWK_APT_EDCS_1.scr
Test Applet: FWK_APT_EDCS_1.java
Load Script: FWK_APT_EDCS_1.ldr
Cleanup Script: FWK_APT_EDCS_1.clr
Parameter File: FWK_APT_EDCS_1.par
6.3.3.24.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT_EVENT_DOWNLOAD_CHANNEL_STATUS Applet1 is registered to Unformatted SMS PP Envelope. 1-Unformatted SMS PP envelope is sent to the SIM. 2-The applet calls setEvent() with EVENT_EVENT_DOWNLOAD_CHANNEL_STATUS. 3- An envelope Event Download Channel Status is sent to the SIM. Channel Status = 81 00 4-Unformatted SMS PP envelope is sent to the SIM. 5- Applet1 builds a proactive command OPEN CHANNEL calling ProactiveHandler.init() method. 6- send() method is called to register to this event. 8- An envelope Event Download Data Available is sent to the SIM with Channel Status = 01 00. 9- Unformatted SMS PP envelope is sent to the SIM. 10- Applet1 builds a proactive command OPEN CHANNEL calling ProactiveHandler.init() method. 11- send() method is called to register to this event a second time. |
1- Applet1 is triggered by Unformatted SMS PP envelope 2- Applet1 finalizes. 3- Applet1 is not triggered. 4- Applet1 is triggered by Unformatted SMS PP envelope. 7- Applet finalizes. 8- Applet1 is not triggered. 9- Applet1 is triggered by EVENT_UNFORMATTED_SMS_PP_ENV. 12- Applet1 finalizes. |
6- OPEN CHANNEL proactive command is fetched. Unsuccessful TERMINAL RESPONSE of OPEN CHANNEL is sent to the SIM. 11- OPEN CHANNEL proactive command is fetched. Successful TERMINAL RESPONSE of OPEN CHANNEL is sent to the SIM with Channel Id = 01. |
2 |
Applet triggering to EVENT_EVENT_DOWNLOAD_CHANNEL STATUS 1- An envelope Event Download Channel Status is sent to the SIM. Channel Status = 81 00 |
1- Applet1 is triggered. |
|
3 |
Applet deregistration to EVENT_EVENT_ DOWNLOAD_CHANNEL STATUS 0- Unformatted SMS PP envelope is sent to the SIM. 1-Applet1 initialises and sends an OPEN CHANNEL proactive command. 2- Applet1 builds a CLOSE CHANNEL Proactive Command calling ProactiveHandler.initCloseChannel() and ProactiveHandler.send() methods. 3-An envelope Event Download Channel Status is sent to the SIM. Channel Status = 82 00 4- Applet1 builds a Close Channel Proactive Command calling ProactiveHandler.initCloseChannel() and ProactiveHandler.send() methods. |
0- Applet1 is triggered. 3- The applet is triggered. 5- Applet1 finalizes. |
OPEN CHANNEL proactive command is fetched. Successful terminal response is sent, with channelId=02. 2-CLOSE CHANNEL proactive command is fetched. Unsuccessful TERMINAL RESPONSE of CLOSE CHANNEL is sent to the SIM. 4- CLOSE CHANNEL proactive command is fetched. Successful TERMINAL RESPONSE of CLOSE CHANNEL is sent to the SIM with Channel Id = 02. |
4 |
Applet triggering to EVENT_EVENT_DOWNLOAD_CHANNEL STATUS 1- An envelope Event Download Channel Status is sent to the SIM. Channel Status = 82 00 |
Applet1 is not triggered. |
|
5 |
Applet1 not triggered after a reset 0- Applet1 is triggered by an unformatted SMS PP Envelope. 1- Applet1 builds a proactive command OPEN CHANNEL calling ProactiveHandler.init() method. 2- send() method is called to register to this event. 3- isEventSet() method is called. 4- Reset the card. 5- An envelope Event Download Data Available is sent to the SIM Channel Status = 82 00. |
3- returns true. 5- Applet1 is not triggered. |
1- OPEN CHANNEL proactive command is fetched. 2- Successful TERMINAL RESPONSE of OPEN CHANNEL is sent to the SIM with Channel Id = 02. |
6.3.3.24.4 Test Coverage
CR Number |
Test Case Number |
---|---|
CRRN1 |
2 |
CRRN2 |
1, 4, 5 |
CRRN3 |
1 |
CRRN4 |
3 |
6.3.3.25 EVENT_FORMATTED_SMS_PP_UPD
Test Area Reference: FWK_APT_EFSU
6.3.3.25.1 Conformance Requirement
6.3.3.25.1.1 Normal Execution
- CRRN1: The applet is triggered by the EVENT_FORMATTED_SMS_PP_UPD once:
- it has been registered to this event,
- a Short Message Point to Point (Single or Concatenated) is received by Update Record EFsms APDU(s) and is formatted according to TS 23.048 [8],
- the toolkit applet to be triggered is registered with the corresponding TAR in the SMS TPDU,
- CRRN2: The applets are not triggered by the EVENT_FORMATTED_SMS_PP_UPD once it has deregistered from this event.
6.3.3.25.2 Test Suite Files
Test Script: FWK_APT_EFSU_1.scr
Test Applet: FWK_APT_EFSU_1.java
Load Script: FWK_APT_EFSU_1.ldr
Cleanup Script: FWK_APT_EFSU_1.clr
Parameter File: FWK_APT_EFSU_1.par
6.3.3.25.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
1 |
Applet registration to EVENT FORMATTED_SMS_PP_UPD and triggering Applet is registered to EVENT_FORMATTED_SMS_PP_UPD and EVENT_UNRECOGNIZED_ENVELOPE 1. Toolkit Registry.isEventSet() method is called for EVENT_FORMATTED_SMS_PP_UPD 2. Short Message Point to Point Single and Formatted is received by Update Record EFsms APDU. 3. Short Message Point to Point Concatenated Formatted is received by Update Record EFsms APDU(s) (The Concatenated Message is composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70). |
1- The method returns true. 2- Applet is triggered. 3- Applet is triggered on reception of the last concatenated SMS |
|
2 |
Applet deregistration ToolkitRegistry.clearEvent() method is called for EVENT_FORMATTED_SMS_PP_UPD 1. Short Message Point to Point Single and Formatted is received by Update Record EFsms APDU. 2. Short Message Point to Point Concatenated and Formatted is received by Update Record EFsms APDU(s). (The Concatenated Message is composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70). An unrecognized envelope is sent to the sim ToolkitRegistry.setEvent() method is called for EVENT_FORMATTED_SMS_PP_UPD 3. Short Message Point to Point Single and Formatted is received by Update Record EFsms APDU. 4. Short Message Point to Point Concatenated Formatted is received by Update Record EFsms APDU(s). (The Concatenated Message is composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70). |
1- Applet is not triggered 2- Applet is not triggered 3- Applet is triggered 4- Applet is triggered on reception of the last concatenated SMS. |
6.3.3.25.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 (See note) |
1,2 |
CRRN2 |
2 |
NOTE: The security checks are not relevant to the test designed in this test area; they will be checked in the "Framework Security Management" clause.
6.3.3.26 EVENT_UNFORMATTED_SMS_PP_UPD
Test Area Reference: FWK_APT_EUSU
6.3.3.26.1 Conformance Requirement
6.3.3.26.1.1 Normal Execution
- CRRN1: The applets registers are triggered by the EVENT_UNFORMATTED_SMS_PP_UPD once a Short Message Point to Point (Single or Concatenated) is received by Update Record EFsms APDU(s) and is unformatted.
- CRRN2: The applets are not triggered by the EVENT_UNFORMATTED_SMS_PP_UPD once it has deregistered from this event.
6.3.3.26.2 Test Suite Files
Test Script: FWK_APT_EUSU_1.scr
Test Applet: FWK_APT_EUSU_1.java
Load Script: FWK_APT_EUSU_1.ldr
Cleanup Script: FWK_APT_EUSU_1.clr
Parameter File: FWK_APT_EUSU_1.par
6.3.3.26.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
1 |
Applet registration to EVENT UNFORMATTED_SMS_PP_UPD and triggering Applet is registered to EVENT_UNFORMATTED_SMS_PP_UPD and EVENT_UNRECOGNIZED_ENVELOPE 1. Toolkit Registry.isEventSet() method is called for EVENT_UNFORMATTED_SMS_PP_UPD 2. Short Message Point to Point Single and Unformatted is received by Update Record EFsms APDU 3. Short Message Point to Point Concatenated and Unformatted is received by Update Record EFsms APDU (The Concatenated Message is composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70). |
1- Applet is not triggered 2- Applet is triggered. 3- Applet is triggered on reception of the last concatenated SMS. |
|
2 |
Applet deregistration ToolkitRegistry.clearEvent() method is called for EVENT_UNFORMATTED_SMS_PP_UPD 1. Short Message Point to Point Single and Unformatted is received by Update Record EFsms APDU 2. Short Message Point to Point Concatenated and Unformatted is received by Update Record EFsms APDU(s) (The Concatenated Message is composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70). An unrecognized envelope is sent to the sim ToolkitRegistry.setEvent() method is called for EVENT_UNFORMATTED_SMS_PP_UPD 3. Short Message Point to Point Single and Unformatted is received by Update Record EFsms APDU 4. Short Message Point to Point Concatenated and Unformatted is received by Update Record EFsms APDU(s) (The Concatenated Message is composed of 2 Short Messages. The UDL for the first Short Message is 70 and for the second 70). |
1- Applet is not triggered 2- Applet is not triggered. 3- Applet is triggered 4- Applet is triggered on reception of the last concatenated SMS |
6.3.3.26.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1,2 |
CRRN2 |
2 |