persistentstorage/dbms/tdbms/t_dbscript.cpp
changeset 55 44f437012c90
parent 0 08ec8eefde2f
--- a/persistentstorage/dbms/tdbms/t_dbscript.cpp	Mon Sep 27 11:59:56 2010 +0100
+++ b/persistentstorage/dbms/tdbms/t_dbscript.cpp	Tue Oct 19 16:26:13 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -213,23 +213,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);
         }
     }
 
@@ -241,7 +241,7 @@
     {
     if(!aValue)
         {
-        RDebug::Print(_L("*** Expression evaluated to false\r\n"));
+    	TheTest.Printf(_L("*** Expression evaluated to false\r\n"));
         DeleteDataFile(KTestDatabase);
         DeleteDataFile(KOutputFile);
         TheTest(EFalse, aLine);
@@ -252,7 +252,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(KTestDatabase);
         DeleteDataFile(KOutputFile);
         TheTest(EFalse, aLine);