toolsandutils/autotest/inc/autotest.h
branchRCL_3
changeset 1 d4b442d23379
parent 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
0:83f4b4db085c 1:d4b442d23379
     1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    50  * @internalComponent
    50  * @internalComponent
    51  * @deprecated
    51  * @deprecated
    52  */
    52  */
    53 struct TAutoTestCase
    53 struct TAutoTestCase
    54 	{
    54 	{
    55 	void (*iFunc)(void);   //< function pointer to the actual test case
    55 	void (*iFunc)(void);   ///< function pointer to the actual test case
    56 	const TText* iText;    //< textual info about the test case
    56 	const TText* iText;    ///< textual info about the test case
    57 	};
    57 	};
    58 
    58 
    59 static const TInt KMaxCmdLength = 256;
    59 static const TInt KMaxCmdLength = 256;
    60 
    60 
    61 /**
    61 /**
   101 	void GetKeepGoingOption();
   101 	void GetKeepGoingOption();
   102 
   102 
   103   private:
   103   private:
   104 
   104 
   105   private:
   105   private:
   106 	const struct TAutoTestCase* iTestCases; //< pointer to table with all the test cases
   106 	const struct TAutoTestCase* iTestCases; ///< pointer to table with all the test cases
   107 	const TInt iNumberOfTestcases;			//< number of test cases in the table
   107 	const TInt iNumberOfTestcases;			///< number of test cases in the table
   108 	TBuf<KMaxCmdLength> iTestReportName;	//< holds the name of the test report file
   108 	TBuf<KMaxCmdLength> iTestReportName;	///< holds the name of the test report file
   109 	TBool iKeepGoing;						//< if true, does not stop if a test fails, but continues
   109 	TBool iKeepGoing;						///< if true, does not stop if a test fails, but continues
   110 	TBool iTestSuiteFailed;					//< indicates if the whole test suite failed or not
   110 	TBool iTestSuiteFailed;					///< indicates if the whole test suite failed or not
   111 	TInt* iTestResults;						//< contains all the test results after running test suite
   111 	TInt* iTestResults;						///< contains all the test results after running test suite
   112 	RFs iFileServer;						//< handle to the File Server
   112 	RFs iFileServer;						///< handle to the File Server
   113 	RFile iTestReport;						//< handle to the file containing the test report
   113 	RFile iTestReport;						///< handle to the file containing the test report
   114 	TInt iTestCase;							//< the test case currently being run
   114 	TInt iTestCase;							///< the test case currently being run
   115 	TBuf8<256> iCompInfo;					//< contains information about the Component under test
   115 	TBuf8<256> iCompInfo;					///< contains information about the Component under test
   116 	RTest& iRTest;							//< reference to the test utility class
   116 	RTest& iRTest;							///< reference to the test utility class
   117 	TBool* iSkipList;						//< List of tests to be skipped in decimal
   117 	TBool* iSkipList;						///< List of tests to be skipped in decimal
   118 	HBufC* iCommandLine;					//< Internal copy of command line or config file
   118 	HBufC* iCommandLine;					///< Internal copy of command line or config file
   119 	};
   119 	};
   120 
   120 
   121 //
   121 //
   122 // macros
   122 // macros
   123 //
   123 //