persistentstorage/dbms/tdbms/t_dbperf2.cpp
changeset 55 44f437012c90
parent 40 b8bdbc8f59c7
equal deleted inserted replaced
51:7d4490026038 55:44f437012c90
   150 //If (!aValue) then the test will be panicked, the test data files will be deleted.
   150 //If (!aValue) then the test will be panicked, the test data files will be deleted.
   151 static void Check(TInt aValue, TInt aLine)
   151 static void Check(TInt aValue, TInt aLine)
   152 	{
   152 	{
   153 	if(!aValue)
   153 	if(!aValue)
   154 		{
   154 		{
       
   155 		TheTest.Printf(_L("*** Expression evaluated to false\r\n"));
   155 		CloseAll();
   156 		CloseAll();
   156 		DeleteFile(TheDatabaseFileName);
   157 		DeleteFile(TheDatabaseFileName);
   157 		DeleteFile(TheTestFileName);
   158 		DeleteFile(TheTestFileName);
   158 		TheTest(EFalse, aLine);
   159 		TheTest(EFalse, aLine);
   159 		}
   160 		}