6.3.5 Exception Handling
3GPP51.013Release 17Test specification for Subscriber Identity Module (SIM) Application Programming Interface (API) for Java CardTS
6.3.5.1 Hide Exceptions from the ME
Test Area Reference: FWK_EXH_HEME
6.3.5.1.1 Conformance Requirements
6.3.5.1.1.1 Normal Execution
- CRRN1: A toolkit applet may throw an exception, but this error will not be sent to the ME.
NOTE: Because the behaviour of the SIM is not exactly defined for the above CRRN, there are no tests defined here yet.
6.3.5.1.1.2 Parameters error
No requirements.
6.3.5.1.1.3 Context Errors
No requirements.
6.3.5.2 Interaction with Multiple Triggering
Test Area Reference: FWK_EXH_IMTG
6.3.5.2.1 Conformance Requirements
6.3.5.2.1.1 Normal Execution:
- CRRN1: An exception thrown by a toolkit applet, will not influence toolkit applets registered to the same event.
6.3.5.2.1.2 Parameters error
No requirements.
6.3.5.2.1.3 Context Errors
No requirements.
6.3.5.2.2 Test Suite Files
Test Script: FWK_EXH_IMTG_1.scr
Test Applet: FWK_EXH_IMTG_1.java
Load Script: FWK_EXH_IMTG_1.ldr
Cleanup Script: FWK_EXH_IMTG_1.clr
Parameter File: FWK_EXH_IMTG_1.par
6.3.5.2.3 Test Procedure
Id |
Description |
API/Framework Expectation |
APDU Expectation |
---|---|---|---|
0 |
Load/install 2 toolkit applets registered to EVENT_STATUS_COMMAND, EVENT_PROFILE_DOWNLOAD, EVENT_UNRECOGNIZED_ENVELOPE, EVENT_EVENT_DOWNLOAD_MT_CALL, EVENT_UNFORMATTED_SMS_PP_ENV, EVENT_UNFORMATTED_SMS_PP_UPD, EVENT_UNFORMATTED_SMS_CB applet1: Priority= 0x01, applet2: Priority= 0x02, (i.e. applet1 is triggered before applet2) |
||
1 |
Status_Command is sent |
1- Applet1 is triggered : 2- NullPointerException is thrown 3- Applet2 is triggered |
|
2 |
Profile_Download is sent |
1- Applet1 is triggered : 2- NullPointerException is thrown 3- Applet2 is triggered |
|
3 |
UNRECOGNIZED_Envelope is sent |
1- Applet1 is triggered : 2- NullPointerException is thrown 3- Applet2 is triggered |
|
4 |
Event_Download_MT_Call is sent |
1- Applet1 is triggered : 2- NullPointerException is thrown 3- Applet2 is triggered |
|
5 |
Unformatted_SMS_PP_Env is sent |
1- Applet1 is triggered : 2- NullPointerException is thrown 3- Applet2 is triggered |
|
6 |
Unformatted_SMS_PP_Upd is sent |
1- Applet1 is triggered : 2- NullPointerException is thrown 3- Applet2 is triggered |
|
7 |
Unformatted_SMS_CB is sent |
1- Applet1 is triggered : 2- NullPointerException is thrown 3- Applet2 is triggered |
6.3.5.2.4 Test Coverage
CRR Number |
Test Case Number |
---|---|
CRRN1 |
1, 2, 3, 4, 5, 6, 7 |