stif/inc/TestServerModuleIf.h
changeset 26 4fde310f06fe
parent 0 a03f92240627
equal deleted inserted replaced
21:f5d4820de50d 26:4fde310f06fe
   413         * Cancels command request.
   413         * Cancels command request.
   414         * Created to allow test case to kill itself.
   414         * Created to allow test case to kill itself.
   415         */
   415         */
   416         TInt CancelCommandRequest();
   416         TInt CancelCommandRequest();
   417 
   417 
       
   418         /**
       
   419          * Get test case arguments.
       
   420          */
       
   421         const TDesC& GetTestCaseArguments() const;
       
   422 
   418     public: // Functions that are called from test thread
   423     public: // Functions that are called from test thread
   419 
   424 
   420         /**
   425         /**
   421         * Get mutex handles.
   426         * Get mutex handles.
   422         */
   427         */
   468         * This mutex meaning is to make sure that test complete and test
   473         * This mutex meaning is to make sure that test complete and test
   469         * case cancel operations are not executed at the same time.
   474         * case cancel operations are not executed at the same time.
   470         */
   475         */
   471         TInt TestThreadMutexHandle() { return iTestThreadMutex.Handle(); };
   476         TInt TestThreadMutexHandle() { return iTestThreadMutex.Handle(); };
   472 
   477 
       
   478         const TDesC& GetConfigFileName() const { return iConfig; }
   473     public: // Functions from base classes
   479     public: // Functions from base classes
   474         // None
   480         // None
   475 
   481 
   476     protected:  // New functions
   482     protected:  // New functions
   477         // None
   483         // None
   571 
   577 
   572         // Test execution related members
   578         // Test execution related members
   573         TInt iCaseNumber;                        // Case to be executed
   579         TInt iCaseNumber;                        // Case to be executed
   574         TPtr iConfig;                            // Configuration file name
   580         TPtr iConfig;                            // Configuration file name
   575         HBufC* iConfigNameBuffer;                // HBuffer for configuration file;
   581         HBufC* iConfigNameBuffer;                // HBuffer for configuration file;
       
   582         HBufC* iTestCaseArgs;                    // HBuffer for test case arguments
       
   583 		
   576         RMessage2 iTestExeMessage;               // Test execution message
   584         RMessage2 iTestExeMessage;               // Test execution message
   577         TTestState iThreadState;                 // Thread state
   585         TTestState iThreadState;                 // Thread state
   578 
   586 
   579         // Print related members
   587         // Print related members
   580         RMutex          iPrintMutex;             // For iPrintSem semaphore handling
   588         RMutex          iPrintMutex;             // For iPrintSem semaphore handling