graphicstest/uibench/src/te_graphicsperformanceSuiteDefs.h
changeset 187 9f66f99ee56f
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
equal deleted inserted replaced
103:2717213c588a 187:9f66f99ee56f
    52 	TInt b = a;\
    52 	TInt b = a;\
    53 	TBool c = (b == KErrNone);\
    53 	TBool c = (b == KErrNone);\
    54 	testBooleanTrueWithErrorCodeL((c), (b), (TText8*)__FILE__, __LINE__);\
    54 	testBooleanTrueWithErrorCodeL((c), (b), (TText8*)__FILE__, __LINE__);\
    55 	}
    55 	}
    56 
    56 
       
    57 // Redefine TEST/TESTE as TEST1/TESTE1 so that all errors are logged, not
       
    58 // just the first error.
       
    59 #ifdef TEST
       
    60 #undef TEST
       
    61 #define TEST(a) TEST1(a, ETrue)
       
    62 #endif // TEST
       
    63 
       
    64 #ifdef TESTE
       
    65 #undef TESTE
       
    66 #define TESTE(a, b) TESTE1(a, b, ETrue)
       
    67 #endif // TESTE
    57 
    68 
    58 #ifdef _USE_PROFILER
    69 #ifdef _USE_PROFILER
    59 	#define __PROFILERMEMBERS RProcess iProcess; TInt iPErr; RFs iFSession; TBuf<256> iProfLog; TBuf<256> iProfLoE; CFileMan* iFileMan; 
    70 	#define __PROFILERMEMBERS RProcess iProcess; TInt iPErr; RFs iFSession; TBuf<256> iProfLog; TBuf<256> iProfLoE; CFileMan* iFileMan; 
    60 	#define __STARTPROFILER iPErr=iProcess.Create(_L("profiler"),_L("start")); \
    71 	#define __STARTPROFILER iPErr=iProcess.Create(_L("profiler"),_L("start")); \
    61 		if (iPErr==KErrNone) { \
    72 		if (iPErr==KErrNone) { \