testexecfw/symbianunittestfw/sutfw/sutfwcore/sutfwframework/inc/symbianunittestresult.h
changeset 1 bbd31066657e
parent 0 3e07fef1e154
equal deleted inserted replaced
0:3e07fef1e154 1:bbd31066657e
    17 #ifndef SYMBIANUNITTESTRESULT_H
    17 #ifndef SYMBIANUNITTESTRESULT_H
    18 #define SYMBIANUNITTESTRESULT_H
    18 #define SYMBIANUNITTESTRESULT_H
    19 
    19 
    20 // INCLUDES
    20 // INCLUDES
    21 #include <e32base.h>
    21 #include <e32base.h>
       
    22 #include <badesca.h>
    22 #include <symbianunittestmacros.h>
    23 #include <symbianunittestmacros.h>
    23 
    24 
    24 // FORWARD DECLARATIONS
    25 // FORWARD DECLARATIONS
    25 class CSymbianUnitTestFailure;
    26 class CSymbianUnitTestFailure;
    26 
    27 
    65             TInt aLineNumber,
    66             TInt aLineNumber,
    66             const TDesC8& aFileName );        
    67             const TDesC8& aFileName );        
    67 
    68 
    68 	void AddTimeOutErrorL(
    69 	void AddTimeOutErrorL(
    69 	    TInt aTimeOut);
    70 	    TInt aTimeOut);
       
    71 
       
    72 	const CDesCArray& TestCaseNames() const;
    70         
    73         
    71     private: // Constructors
    74     private: // Constructors
    72     
    75     
    73         CSymbianUnitTestResult();
    76         CSymbianUnitTestResult();
    74         void ConstructL();
    77         void ConstructL();
    94         RPointerArray< CSymbianUnitTestFailure > iFailures;
    97         RPointerArray< CSymbianUnitTestFailure > iFailures;
    95         TInt iTestCount;
    98         TInt iTestCount;
    96         HBufC* iCurrentTestName;
    99         HBufC* iCurrentTestName;
    97 	TTime iTime;
   100 	TTime iTime;
    98 	TBool iCurrentResult;
   101 	TBool iCurrentResult;
       
   102 	CDesCArray * iTestCaseNames;
    99         
   103         
   100     private: // Test
   104     private: // Test
   101         
   105         
   102         SYMBIAN_UNIT_TEST_CLASS( UT_CSymbianUnitTestResult )        
   106         SYMBIAN_UNIT_TEST_CLASS( UT_CSymbianUnitTestResult )        
   103     };
   107     };