Commit 3e1a8880 authored by tepelmann's avatar tepelmann
Browse files

Added default.

Added dummy postamble.
parent f14147cb
Loading
Loading
Loading
Loading
+44 −0
Original line number Original line Diff line number Diff line
@@ -42,13 +42,46 @@
        
        
    } // end configurationFunctions
    } // end configurationFunctions
    
    
    group btpAltsteps {
        
        /**
         * @desc The base default.
         */
        altstep a_default() runs on ItsNt {
            
            [] btpPort.receive {
                f_selfOrClientSyncAndVerdict("error", e_error, "*** a_default: Received an unexpected message ***");
            }
            [] tc_wait.timeout {
                f_selfOrClientSyncAndVerdict("error", e_timeout, "*** a_default: Timeout while awaiting reaction of the IUT prior to Upper Tester action ***");
            }
            [] tc_ac.timeout {
                f_selfOrClientSyncAndVerdict("error", e_timeout, "*** a_default: Timeout while awaiting the reception of a message ***");
            }
            [] a_shutdown() {
                f_poDefault();
                f_cfDown();
                log("*** a_default: INFO: TEST COMPONENT NOW STOPPING ITSELF! ***");
                stop;   
            }
        }
    } //end btpAltsteps

    group preambles {
    group preambles {
        
        
        /**
         * @desc The default preamble.
         */
        function f_prDefault() runs on ItsNt {
            activate(a_default());
        }
        
        /**
        /**
         * @desc Brings the IUT into an initial state.
         * @desc Brings the IUT into an initial state.
         */
         */
        function f_prInitialState() runs on ItsNt {
        function f_prInitialState() runs on ItsNt {
            
            
            f_prDefault();
            f_utInitializeIut();
            f_utInitializeIut();


        }
        }
@@ -56,6 +89,17 @@
    } // end of group preambles    
    } // end of group preambles    
    
    


    group postambles {
        
        /**
         * @desc The default postamble.
         */
        function f_poDefault() runs on ItsNt {
            //empty
        }
        
    } // end postambles
    
    group upperTester {
    group upperTester {
        
        
        /**
        /**