persistentstorage/sql/TEST/t_sqlfilesrvcrash1.cpp
changeset 55 44f437012c90
parent 51 7d4490026038
--- a/persistentstorage/sql/TEST/t_sqlfilesrvcrash1.cpp	Mon Sep 27 11:59:56 2010 +0100
+++ b/persistentstorage/sql/TEST/t_sqlfilesrvcrash1.cpp	Tue Oct 19 16:26:13 2010 +0100
@@ -59,7 +59,7 @@
     if(!aValue)
         {
         DeleteTestFiles();
-        RDebug::Print(_L("*** Line %d\r\n"), aLine);
+        TheTest.Printf(_L("*** Line %d. Expression evaluated to false\r\n"), aLine);
         TheTest(EFalse, aLine);
         }
     }
@@ -68,7 +68,7 @@
     if(aValue != aExpected)
         {
         DeleteTestFiles();
-        RDebug::Print(_L("*** Expected error: %d, got: %d\r\n"), aExpected, aValue);
+        TheTest.Printf(_L("*** Expected error: %d, got: %d\r\n"), aExpected, aValue);
         TheTest(EFalse, aLine);
         }
     }
@@ -124,7 +124,6 @@
 TInt KillProcess(const TDesC& aProcessName)
     {
     TFullName name;
-    //RDebug::Print(_L("Find and kill \"%S\" process.\n"), &aProcessName);
     TBuf<64> pattern(aProcessName);
     TInt length = pattern.Length();
     pattern += _L("*");
@@ -139,16 +138,13 @@
                 c == TChar('_') ||
                 c == TChar('-'))
                 {
-                //RDebug::Print(_L(":: Process name: \"%S\".\n"), &name);
                 continue;
                 }
             }
         RProcess proc;
         if (proc.Open(name) == KErrNone)
             {
-            RDebug::Print(_L("About to kill process \"%S\", This will force a reboot\n"), &name);
             proc.Kill(0);
-            
             }
         proc.Close();
         }