equal
deleted
inserted
replaced
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 |