Commit fa75d429 authored by Sebastian Hans's avatar Sebastian Hans
Browse files

CR 62 SET(22)000171 Insertion of missing FETCH checks

parent 6bed10ca
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -464,7 +464,8 @@ public class Test_Api_1_Cont extends UiccTestModel {
        addResult(test.selectFile(EF_NOSH).checkSw("6985"));
        addResult(test.selectFile(EF_NOSH).checkSw("6985"));
 
 
        //5
        //5
        test.fetch("13");
        response = test.fetch("13");
        addResult(response.checkSw("9000"));
        response = test.terminalResponse("81030121 80820282 81830100");
        response = test.terminalResponse("81030121 80820282 81830100");
 
 
        /** test case 14
        /** test case 14
@@ -479,7 +480,8 @@ public class Test_Api_1_Cont extends UiccTestModel {
        addResult(test.selectFile(EF_NOSH).checkSw("6985"));
        addResult(test.selectFile(EF_NOSH).checkSw("6985"));
 
 
        //5
        //5
        test.fetch("13");
        response = test.fetch("13");
        addResult(response.checkSw("9000"));
        response = test.terminalResponse("81030121 80820282 81830100");
        response = test.terminalResponse("81030121 80820282 81830100");
 
 
        /** test case 15
        /** test case 15
+4 −2
Original line number Original line Diff line number Diff line
@@ -55,13 +55,15 @@ public class Test_Cre_Apt_Edat extends UiccTestModel {
        //***TEST CASE 1: 1-APPLET 1 IS REGISTERED TO EVENT_EVENT_DOWNLOAD_ACCESS_TECHNOLOGY_CHANGE***
        //***TEST CASE 1: 1-APPLET 1 IS REGISTERED TO EVENT_EVENT_DOWNLOAD_ACCESS_TECHNOLOGY_CHANGE***
        //***TEST CASE 1: 2-APPLET 1 IS TRIGGERED***
        //***TEST CASE 1: 2-APPLET 1 IS TRIGGERED***
        test.envelopeEventDownloadAccessTechnologyChange();
        test.envelopeEventDownloadAccessTechnologyChange();
        test.fetch("0D");
        response = test.fetch("0D");
        addResult(response.checkSw("9000"));
        test.terminalResponse("81030105 00820282 81830100");
        test.terminalResponse("81030105 00820282 81830100");
        //***TEST CASE 2: 1-APPLET 1 IS NOT TRIGGERED***
        //***TEST CASE 2: 1-APPLET 1 IS NOT TRIGGERED***
        test.envelopeEventDownloadAccessTechnologyChange();
        test.envelopeEventDownloadAccessTechnologyChange();
        //***TEST CASE 2: 1 IS REGISTERED TO EVENT_EVENT_DOWNLOAD_ACCESS_TECHNOLOGY_CHANGE***
        //***TEST CASE 2: 1 IS REGISTERED TO EVENT_EVENT_DOWNLOAD_ACCESS_TECHNOLOGY_CHANGE***
        test.envelopeMenuSelection("100101", "");//Help Request not available
        test.envelopeMenuSelection("100101", "");//Help Request not available
        test.fetch("0E");
        response = test.fetch("0E");
        addResult(response.checkSw("9000"));
        test.terminalResponse("81030105 00820282 81830100");
        test.terminalResponse("81030105 00820282 81830100");
        //***TEST CASE 2: 2-APPLET 1 IS TRIGGERED***
        //***TEST CASE 2: 2-APPLET 1 IS TRIGGERED***
        test.envelopeEventDownloadAccessTechnologyChange();
        test.envelopeEventDownloadAccessTechnologyChange();
+1 −0
Original line number Original line Diff line number Diff line
@@ -144,6 +144,7 @@ public class Test_Cre_Mha_Enhd extends UiccTestModel {
        //TC 19
        //TC 19
        response = test.unrecognizedEnvelope();
        response = test.unrecognizedEnvelope();
        response = test.fetch("10");//fetch declare service
        response = test.fetch("10");//fetch declare service
        addResult(response.checkSw("9000"));
        //get the service record tlv from declare service command
        //get the service record tlv from declare service command
        String servrectlv = getServiceRecordTLV(response.getData());
        String servrectlv = getServiceRecordTLV(response.getData());
        response = test.terminalResponse("81030147 0082028281 830100");
        response = test.terminalResponse("81030147 0082028281 830100");
+3 −0
Original line number Original line Diff line number Diff line
@@ -142,6 +142,7 @@ public class Test_Cre_Mha_Pahd extends UiccTestModel {
        addResult(response.checkSw("911A"));
        addResult(response.checkSw("911A"));
        //TC 17
        //TC 17
        response = test.fetch("1A");
        response = test.fetch("1A");
        addResult(response.checkSw("9000"));
        response = test.terminalResponse("81030140 01820282 8183010038 0281003502 " +
        response = test.terminalResponse("81030140 01820282 8183010038 0281003502 " +
        		                         "03003902 000A");
        		                         "03003902 000A");
        addResult(response.checkSw("9000"));
        addResult(response.checkSw("9000"));
@@ -160,6 +161,7 @@ public class Test_Cre_Mha_Pahd extends UiccTestModel {
        response = test.envelopeEventDownloadDisplayParametersChanged();
        response = test.envelopeEventDownloadDisplayParametersChanged();
        //fetch declare service
        //fetch declare service
        response = test.fetch("10");
        response = test.fetch("10");
        addResult(response.checkSw("9000"));
        //get the service record tlv from declare service command
        //get the service record tlv from declare service command
        String servrectlv = getServiceRecordTLV(response.getData());
        String servrectlv = getServiceRecordTLV(response.getData());
        response = test.terminalResponse("81030147 0082028281 830100");
        response = test.terminalResponse("81030147 0082028281 830100");
@@ -169,6 +171,7 @@ public class Test_Cre_Mha_Pahd extends UiccTestModel {
        addResult(response.checkSw("9000"));
        addResult(response.checkSw("9000"));
        //TC 23
        //TC 23
        response = test.envelopeEventDownloadCallConnected();
        response = test.envelopeEventDownloadCallConnected();
        addResult(response.checkSw("9000"));
        //fetch display text
        //fetch display text
        response = test.fetch("14");
        response = test.fetch("14");
        response = test.terminalResponse("81030121 80820282 81030100");
        response = test.terminalResponse("81030121 80820282 81030100");
+3 −0
Original line number Original line Diff line number Diff line
@@ -134,6 +134,7 @@ public class Test_Cre_Mha_Prhd extends UiccTestModel {
        addResult(response.checkSw("911A"));
        addResult(response.checkSw("911A"));
        //TC 17
        //TC 17
        response = test.fetch("1A");
        response = test.fetch("1A");
        addResult(response.checkSw("9000"));
        response = test.terminalResponse("81030140 01820282 8183010038 0281003502 " +
        response = test.terminalResponse("81030140 01820282 8183010038 0281003502 " +
                                         "03003902 000A");
                                         "03003902 000A");
        addResult(response.checkSw("9000"));
        addResult(response.checkSw("9000"));
@@ -152,6 +153,7 @@ public class Test_Cre_Mha_Prhd extends UiccTestModel {
        response = test.envelopeEventDownloadDisplayParametersChanged();
        response = test.envelopeEventDownloadDisplayParametersChanged();
        //fetch declare service
        //fetch declare service
        response = test.fetch("10");
        response = test.fetch("10");
        addResult(response.checkSw("9000"));
        //get the service record tlv from declare service command
        //get the service record tlv from declare service command
        String servrectlv = getServiceRecordTLV(response.getData());
        String servrectlv = getServiceRecordTLV(response.getData());
        response = test.terminalResponse("81030147 0082028281 830100");
        response = test.terminalResponse("81030147 0082028281 830100");
@@ -163,6 +165,7 @@ public class Test_Cre_Mha_Prhd extends UiccTestModel {
        response = test.envelopeEventDownloadCallConnected();
        response = test.envelopeEventDownloadCallConnected();
        //fetch display text
        //fetch display text
        response = test.fetch("14");
        response = test.fetch("14");
        addResult(response.checkSw("9000"));
        response = test.terminalResponse("81030121 80820282 81030100");
        response = test.terminalResponse("81030121 80820282 81030100");
        addResult(response.checkSw("9000"));
        addResult(response.checkSw("9000"));
        //TC 24
        //TC 24
Loading