| Quintiq file version 2.0 | 
| #parent: #root | 
| Method PTF_TestDisplayInfo ( | 
|   output Real duration_o, | 
|   output String response_o | 
| ) as Boolean id:Method_LibPTF_pnlTestRunner_PTF_TestDisplayInfo | 
| { | 
|   #keys: '[136682.0.314444048]' | 
|   Body: | 
|   [* | 
|     // Serves as a template method for QSes to implement the method to be executed | 
|     isSuccessful := false; | 
|      | 
|     preconditionOK := true; // Your precondition for executing the action | 
|      | 
|     if( preconditionOK ) | 
|     { | 
|       start := OS::PrecisionCounter(); | 
|      | 
|       // Call your method here | 
|       // Use the following construct if you want to execute a server method | 
|       info( "Test action DisplayInfor works! This is merely to display simple info" ); | 
|       // Call the following statement if the action is asynchronous | 
|       // this.PTF_ExecutePreAsyncAction(); | 
|      | 
|       duration_o   := this.PTF_GetDurationInMilisecond( start ); | 
|       response_o   := 'PTF_TestDisplayInfo works'; | 
|       isSuccessful := true; | 
|     } | 
|     else | 
|     { | 
|       response_o := '< Precondition failed reason >'; // Your precondition failed reason | 
|     } | 
|      | 
|     return isSuccessful; | 
|   *] | 
| } |