Commit 008a746f authored by Sebastian Hans's avatar Sebastian Hans
Browse files

CR 64 SET(22)000167 Correction of Test

parent cec49584
Loading
Loading
Loading
Loading
+13 −16
Original line number Diff line number Diff line
@@ -170,13 +170,7 @@ public class Test_Cre_Mha_Enhd extends UiccTestModel {
        //TC 26
        response = test.envelopeEventDownloadBrowsingStatus();
        addResult(response.checkSw("9000"));
        //TC 28
        response = test.envelopeEventDownloadFramesInformationChanged();
        addResult(response.checkSw("9000"));
        //TC 29
        response = test.envelopeEventDownloadHCIConnectivity();
        addResult(response.checkSw("9000"));
        //TC 27 + 2
        //TC 27
        test.reset();
        response = test.terminalProfileSession("FFFFFFF FFEFF1FFF FF0000FF FF9FFFEF" +
                                               "03FF000 0007FE300 01");
@@ -193,6 +187,15 @@ public class Test_Cre_Mha_Enhd extends UiccTestModel {
                            "00" );  // V Maximum number of services
        response = test.selectApplication(APPLET_AID_3);
        addResult(response.checkSw("9000"));
        //TC 28
        // reset, because Applet3 is now selected on channel 0, which we need to use for toolkit activity
        test.reset();
        response = test.terminalProfileSession("FFFFFFF FFEFF1FFF FF0000FF FF9FFFEF" +
            "03FF000 0007FE300 01");
        response = test.envelopeEventDownloadFramesInformationChanged();
        addResult(response.checkSw("9000"));
        response = test.envelopeEventDownloadHCIConnectivity();
        addResult(response.checkSw("9000"));

        //CHECK TEST RESULT
        response = test.selectApplication(APPLET_AID_1);
@@ -202,8 +205,8 @@ public class Test_Cre_Mha_Enhd extends UiccTestModel {

        response = test.selectApplication(APPLET_AID_2);
        addResult(response.checkData("10" +APPLET_AID_2 +
                                        "13CCCC CCCCCCCC CCCCCCCC CCCCCCCC"+
                                        "CCCCCC CCCC"));
                                        "15CCCCCC CCCCCCCC CCCCCCCC CCCCCCCC"+
                                        "CCCCCCCC CCCC"));

        response = test.selectApplication(APPLET_AID_3);
        addResult(response.checkData("10" +APPLET_AID_3 + "01CC"));
@@ -241,10 +244,4 @@ public class Test_Cre_Mha_Enhd extends UiccTestModel {

    }







}
 No newline at end of file
+9 −8
Original line number Diff line number Diff line
@@ -191,13 +191,7 @@ public class Test_Cre_Mha_Erhd extends UiccTestModel {
   	 	//TC 28
   	 	response = test.envelopeEventDownloadBrowsingStatus();
        addResult(response.checkSw("9000"));
        //TC 28
        response = test.envelopeEventDownloadFramesInformationChanged();
        addResult(response.checkSw("9000"));
        //TC 29
        response = test.envelopeEventDownloadHCIConnectivity();
        addResult(response.checkSw("9000"));
        //TC 27 + 2
        test.reset();
        response = test.terminalProfileSession("13");

@@ -214,8 +208,15 @@ public class Test_Cre_Mha_Erhd extends UiccTestModel {
                            "00" );  // V Maximum number of services
        response = test.selectApplication(APPLET_AID_3);

//        test.reset();
//        response = test.terminalProfileSession("13");
        //TC 30
        // reset, because Applet3 is now selected on channel 0, which we need to use for toolkit activity
        test.reset();
        response = test.terminalProfileSession("13");
        response = test.envelopeEventDownloadFramesInformationChanged();
        addResult(response.checkSw("9000"));
        //TC 31
        response = test.envelopeEventDownloadHCIConnectivity();
        addResult(response.checkSw("9000"));


   	    //check results of the tests
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ public class Cre_Mha_Pahd_1 extends TestToolkitApplet {
            testCaseNb==(byte)0x18) {handler_available=false;}

        else if (testCaseNb==(byte)0x02 ||
                 testCaseNb==(byte)0x2E ){handler_available=true;}
                 testCaseNb==(byte)0x2C ){handler_available=true;}

        switch(event){
            //--TC 1
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ public class Cre_Mha_Pahd_2 extends TestToolkitApplet {
            testCaseNb==(byte)0x11 ){handler_available=false;}

       else if (testCaseNb==(byte)0x02 ||
                testCaseNb==(byte)0x23){handler_available=true;}
                testCaseNb==(byte)0x21){handler_available=true;}


        switch (event) {
+18 −12
Original line number Diff line number Diff line
@@ -215,10 +215,6 @@ public class Test_Cre_Mha_Pahd extends UiccTestModel {
        response = test.envelopeEventDownloadAccessTechnologyChange();
        //TC 41
        response = test.envelopeEventDownloadDisplayParametersChanged();
        //TC 49
        response = test.envelopeEventDownloadFramesInformationChanged();
        //TC 50
        response = test.envelopeEventDownloadHCIConnectivity();
        //TC 42
        //The Proactive Handler is not available before the
        //Terminal Profile
@@ -255,6 +251,16 @@ public class Test_Cre_Mha_Pahd extends UiccTestModel {
                            "00" +   // LV TAR Value(s)
                            "00" );  // V Maximum number of services
        response = test.selectApplication(APPLET_AID_3);
        //TC 48
        // reset, because Applet3 is now selected on channel 0, which we need to use for toolkit activity
        test.reset();
        //initialization with all the facilities supported (without SETUP_EVENT_LIST)
        response = test.terminalProfileSession("FFFFFFFF FEFFFFFF FFFFFFFF FFFFFFFF " +
            "FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF " +
            "FFFF");
        response = test.envelopeEventDownloadFramesInformationChanged();
        //TC 49
        response = test.envelopeEventDownloadHCIConnectivity();


        // get result from applets
@@ -264,18 +270,18 @@ public class Test_Cre_Mha_Pahd extends UiccTestModel {
        // the applet will not be triggered on an unsupported event.
   		response = test.selectApplication(APPLET_AID_1);
        addResult(response.checkData("10" +APPLET_AID_1 +
                                        "30CCCCCC CCCCCCCC CCCCCCCC CCCCCCCC"+
                                        "2FCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC"+
                                        "CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC"+
                                        "CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC CC") ||
                                        "CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC") ||
                        response.checkData("10" +APPLET_AID_1 +
                                        "18CCCCCC CCCCCCCC CCCCCCCC CCCCCCCC" +
                                        "CCCCCCCC CCCCCCCC CC") );

   		response = test.selectApplication(APPLET_AID_2);
        addResult(response.checkData("10" +APPLET_AID_2 +
										"25CCCCCC CCCCCCCC CCCCCCCC CCCCCCCC"+
										"24CCCCCC CCCCCCCC CCCCCCCC CCCCCCCC"+
										"CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCC"+
										"CCCCCCCC CCCC") ||
										"CCCCCCCC CC") ||
                        response.checkData("10" +APPLET_AID_2 +
                                        "11CCCCCC CCCCCCCC CCCCCCCC CCCCCCCC " +
                                        "CCCC") );