--- a/persistentstorage/store/TSTOR/t_storbench.cpp Mon Sep 27 11:59:56 2010 +0100
+++ b/persistentstorage/store/TSTOR/t_storbench.cpp Tue Oct 19 16:26:13 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-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"
@@ -56,6 +56,7 @@
{
if(!aValue)
{
+ TheTest.Printf(_L("*** Expression evaluated to false\r\n"));
DeleteDataFiles();
TheTest(EFalse, aLine);
}
@@ -65,7 +66,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);
DeleteDataFiles();
TheTest(EFalse, aLine);
}
@@ -129,23 +130,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);
}
}
static void DeleteDataFiles()