persistentstorage/dbms/tdbms/t_dblongcol.cpp
changeset 55 44f437012c90
parent 0 08ec8eefde2f
--- a/persistentstorage/dbms/tdbms/t_dblongcol.cpp	Mon Sep 27 11:59:56 2010 +0100
+++ b/persistentstorage/dbms/tdbms/t_dblongcol.cpp	Tue Oct 19 16:26:13 2010 +0100
@@ -35,23 +35,23 @@
 		TEntry entry;
 		if(fsSession.Entry(aFullName, entry) == KErrNone)
 			{
-			RDebug::Print(_L("Deleting \"%S\" file.\n"), &aFullName);
+			TheTest.Printf(_L("Deleting \"%S\" file.\n"), &aFullName);
 			err = fsSession.SetAtt(aFullName, 0, KEntryAttReadOnly);
 			if(err != KErrNone)
 				{
-				RDebug::Print(_L("Error %d changing \"%S\" file attributes.\n"), err, &aFullName);
+				TheTest.Printf(_L("Error %d changing \"%S\" file attributes.\n"), err, &aFullName);
 				}
 			err = fsSession.Delete(aFullName);
 			if(err != KErrNone)
 				{
-				RDebug::Print(_L("Error %d deleting \"%S\" file.\n"), err, &aFullName);
+				TheTest.Printf(_L("Error %d deleting \"%S\" file.\n"), err, &aFullName);
 				}
 			}
 		fsSession.Close();
 		}
 	else
 		{
-		RDebug::Print(_L("Error %d connecting file session. File: %S.\n"), err, &aFullName);
+		TheTest.Printf(_L("Error %d connecting file session. File: %S.\n"), err, &aFullName);
 		}
 	}
 
@@ -64,6 +64,7 @@
 	if(!aValue)
 		{
 		::DeleteDataFile(KSearchTestDbPath);
+		TheTest.Printf(_L("*** Expression evaluated to false\r\n"));
 		TheTest(EFalse, aLine);
 		}
 	}
@@ -72,7 +73,7 @@
 	{
 	if(aValue != aExpected)
 		{
-		RDebug::Print(_L("*** Expected error: %d, got: %d\r\n"), aExpected, aValue);
+		TheTest.Printf(_L("*** Expected error: %d, got: %d\r\n"), aExpected, aValue);
 		::DeleteDataFile(KSearchTestDbPath);
 		TheTest(EFalse, aLine);
 		}
@@ -85,7 +86,7 @@
 
 static void LeaveL(TInt aLine, TInt aError)
 	{
-	RDebug::Print(_L("*** Leave. Error: %d, line: %d\r\n"), aError, aLine);
+	TheTest.Printf(_L("*** Leave. Error: %d, line: %d\r\n"), aError, aLine);
 	User::Leave(aError);
 	}
 static void LeaveIfErrorL(TInt aLine, TInt aError)