Commit 9718c887 authored by Sebastian Hans's avatar Sebastian Hans
Browse files

CR 41 SCP(21)000128/SCPTEST(21)069010r1

-Corrections of applets Api_2_Trs_IsPrAv_1/2
parent 3ecfb2f1
Loading
Loading
Loading
Loading
+39 −26
Original line number Diff line number Diff line
@@ -54,10 +54,14 @@ public class Api_2_Trs_IsPrAv_2 extends TestToolkitApplet
     */
    public void processToolkit(short event)
    {
	    if (event == EVENT_PROACTIVE_HANDLER_AVAILABLE) 
		{
		if (event == EVENT_PROACTIVE_HANDLER_AVAILABLE) {

			try {
				switch (bMyInstanceId) {
					// -----------------------------------------------------------------
					//		 Instance 1 execution, Priority Level 1
					// -----------------------------------------------------------------

					case (byte)1:
						if ( ToolkitRegistrySystem.isPrioritizedProactiveHandlerAvailableEventSet() == false) {
							reportTestOutcome((byte)1, true) ;
@@ -66,6 +70,11 @@ public class Api_2_Trs_IsPrAv_2 extends TestToolkitApplet
							reportTestOutcome((byte)1, false) ;
						}
						break;

					// -----------------------------------------------------------------
					//		 Instance 2 execution, Priority Level 2
					// -----------------------------------------------------------------

					case (byte)2:
						if ( ToolkitRegistrySystem.isPrioritizedProactiveHandlerAvailableEventSet() == true ) {
							reportTestOutcome((byte)1, true) ;
@@ -74,7 +83,11 @@ public class Api_2_Trs_IsPrAv_2 extends TestToolkitApplet
							reportTestOutcome((byte)1, false) ;
						}
						break;
					default: reportTestOutcome ((byte)1, false);

					default:
						reportTestOutcome ((byte)1, false);
						break;

				}
			}
			catch (Exception e) {