persistentstorage/dbms/tdbms/t_dbthrd.cpp
branchRCL_3
changeset 6 5ffdb8f2067f
parent 0 08ec8eefde2f
child 23 26645d81f48d
--- a/persistentstorage/dbms/tdbms/t_dbthrd.cpp	Wed Feb 03 12:02:34 2010 +0000
+++ b/persistentstorage/dbms/tdbms/t_dbthrd.cpp	Sat Feb 20 00:33:55 2010 +0200
@@ -170,7 +170,7 @@
 void CThread::Reset()
 	{
 	iLog.Write(_L8("\nReset"));
-	test(iOpen);
+	TEST(iOpen);
 	iAccs.Reset();
 	iTrans.Reset();
 	}
@@ -256,7 +256,7 @@
 	{
 	Sql.Format(_L("id=%d"),anAccount);
 	iAccs.FirstL();
-	test(iAccs.FindL(iAccs.EForwards,Sql)>=0);
+	TEST(iAccs.FindL(iAccs.EForwards,Sql)>=0);
 	}
 
 //
@@ -274,7 +274,7 @@
 	TInt to=(Random(KAccountIDs-1)+from+1)%KAccountIDs;
 	AccountL(from);
 	iAccs.GetL();
-	test(iAccs.ColInt(1)==from);
+	TEST(iAccs.ColInt(1)==from);
 	TInt avail=iAccs.ColInt(2)+KOverdraftLimit;
 	TInt amount;
 	if (to==ECash)
@@ -370,7 +370,7 @@
 void CThread::VerifyL()
 	{
 	TInt balance[KAccountIDs];
-	test(iAccs.CountL()==KAccountIDs);
+	TEST(iAccs.CountL()==KAccountIDs);
 	for (iAccs.BeginningL();iAccs.NextL();)
 		{
 		iAccs.GetL();
@@ -388,7 +388,7 @@
 		balance[from]-=amount;
 		balance[to]+=amount;
 		}
-	test(transact==iTrans.CountL());
+	TEST(transact==iTrans.CountL());
 	for (iAccs.BeginningL();iAccs.NextL();)
 		{
 		iAccs.GetL();