persistentstorage/sql/TEST/t_sqlenvdestroy.cpp
changeset 55 44f437012c90
parent 29 cce6680bbf1c
equal deleted inserted replaced
51:7d4490026038 55:44f437012c90
    45 //Test macros and functions
    45 //Test macros and functions
    46 static void Check(TInt aValue, TInt aExpected, TInt aLine)
    46 static void Check(TInt aValue, TInt aExpected, TInt aLine)
    47 	{
    47 	{
    48 	if(aValue != aExpected)
    48 	if(aValue != aExpected)
    49 		{
    49 		{
    50 		RDebug::Print(_L("*** Expected error: %d, got: %d\r\n"), aExpected, aValue);
    50 		TheTest.Printf(_L("*** Expected error: %d, got: %d\r\n"), aExpected, aValue);
    51 		TheTest(EFalse, aLine);
    51 		TheTest(EFalse, aLine);
    52 		}
    52 		}
    53 	}
    53 	}
    54 #define TEST2(aValue, aExpected) ::Check(aValue, aExpected, __LINE__)
    54 #define TEST2(aValue, aExpected) ::Check(aValue, aExpected, __LINE__)
    55 
    55